- Fixed invalid UUID in example_workflow.json (was string, now proper UUID) - Updated example_workflow_wan_video.json with new UUID - Added WAN 2.2 video performance results: 163s → 139s (15% improvement) - Updated README with video workflow performance metrics - Both workflows now pass ComfyUI Zod schema validation Performance Summary: - Flux 1024x1024: 500s → 110s (78% improvement) - WAN 2.2 Video (2s, 320x320): 163s → 139s (15% improvement)
384 lines
8.8 KiB
JSON
384 lines
8.8 KiB
JSON
{
|
|
"id": "e40a1640-d805-4faa-9a9d-c6ce1744d7fb",
|
|
"revision": 0,
|
|
"last_node_id": 10,
|
|
"last_link_id": 15,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "CheckpointLoaderSimple",
|
|
"pos": [50, 50],
|
|
"size": [315, 98],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "ckpt_name",
|
|
"name": "ckpt_name",
|
|
"type": "COMBO",
|
|
"widget": {"name": "ckpt_name"},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "MODEL",
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"slot_index": 0,
|
|
"links": [1]
|
|
},
|
|
{
|
|
"localized_name": "CLIP",
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"slot_index": 1,
|
|
"links": [2]
|
|
},
|
|
{
|
|
"localized_name": "VAE",
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"slot_index": 2,
|
|
"links": [3]
|
|
}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.3.60"},
|
|
"widgets_values": ["flux1-dev-fp8.safetensors"]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "KSampler",
|
|
"pos": [400, 50],
|
|
"size": [315, 262],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "model",
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 1
|
|
},
|
|
{
|
|
"localized_name": "positive",
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": 4
|
|
},
|
|
{
|
|
"localized_name": "negative",
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": 5
|
|
},
|
|
{
|
|
"localized_name": "latent_image",
|
|
"name": "latent_image",
|
|
"type": "LATENT",
|
|
"link": 6
|
|
},
|
|
{
|
|
"localized_name": "seed",
|
|
"name": "seed",
|
|
"type": "INT",
|
|
"widget": {"name": "seed"},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "steps",
|
|
"name": "steps",
|
|
"type": "INT",
|
|
"widget": {"name": "steps"},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "cfg",
|
|
"name": "cfg",
|
|
"type": "FLOAT",
|
|
"widget": {"name": "cfg"},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "sampler_name",
|
|
"name": "sampler_name",
|
|
"type": "COMBO",
|
|
"widget": {"name": "sampler_name"},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "scheduler",
|
|
"name": "scheduler",
|
|
"type": "COMBO",
|
|
"widget": {"name": "scheduler"},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "denoise",
|
|
"name": "denoise",
|
|
"type": "FLOAT",
|
|
"widget": {"name": "denoise"},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "LATENT",
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"slot_index": 0,
|
|
"links": [7]
|
|
}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.3.60"},
|
|
"widgets_values": [12345, "randomize", 20, 1, "euler", "simple", 1]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "ROCMOptimizedVAEDecode",
|
|
"pos": [750, 50],
|
|
"size": [350, 200],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "samples",
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": 7
|
|
},
|
|
{
|
|
"localized_name": "vae",
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 3
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "IMAGE",
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"slot_index": 0,
|
|
"links": [8]
|
|
}
|
|
],
|
|
"properties": {"cnr_id": "ComfyUI-ROCM-Optimized-VAE", "ver": "1.0.0"},
|
|
"widgets_values": [768, 96, true, "auto", true]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "SaveImage",
|
|
"pos": [1150, 50],
|
|
"size": [315, 270],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "images",
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 8
|
|
},
|
|
{
|
|
"localized_name": "filename_prefix",
|
|
"name": "filename_prefix",
|
|
"type": "STRING",
|
|
"widget": {"name": "filename_prefix"},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.3.60"},
|
|
"widgets_values": ["rocm_optimized"]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "ROCMVAEPerformanceMonitor",
|
|
"pos": [50, 200],
|
|
"size": [315, 150],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "vae",
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 9
|
|
},
|
|
{
|
|
"localized_name": "test_resolution",
|
|
"name": "test_resolution",
|
|
"type": "INT",
|
|
"widget": {"name": "test_resolution"},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "DEVICE_INFO",
|
|
"name": "DEVICE_INFO",
|
|
"type": "STRING",
|
|
"slot_index": 0,
|
|
"links": []
|
|
},
|
|
{
|
|
"localized_name": "PERFORMANCE_TIPS",
|
|
"name": "PERFORMANCE_TIPS",
|
|
"type": "STRING",
|
|
"slot_index": 1,
|
|
"links": []
|
|
},
|
|
{
|
|
"localized_name": "OPTIMAL_SETTINGS",
|
|
"name": "OPTIMAL_SETTINGS",
|
|
"type": "STRING",
|
|
"slot_index": 2,
|
|
"links": []
|
|
}
|
|
],
|
|
"properties": {"cnr_id": "ComfyUI-ROCM-Optimized-VAE", "ver": "1.0.0"},
|
|
"widgets_values": [1024]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [50, 400],
|
|
"size": [315, 200],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 2
|
|
},
|
|
{
|
|
"localized_name": "text",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {"name": "text"},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "CONDITIONING",
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"slot_index": 0,
|
|
"links": [4]
|
|
}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.3.60"},
|
|
"widgets_values": ["A beautiful landscape with mountains and a lake"]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [50, 650],
|
|
"size": [315, 200],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 10
|
|
},
|
|
{
|
|
"localized_name": "text",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {"name": "text"},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "CONDITIONING",
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"slot_index": 0,
|
|
"links": [5]
|
|
}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.3.60"},
|
|
"widgets_values": [""]
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "EmptySD3LatentImage",
|
|
"pos": [400, 400],
|
|
"size": [315, 106],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "width",
|
|
"name": "width",
|
|
"type": "INT",
|
|
"widget": {"name": "width"},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "height",
|
|
"name": "height",
|
|
"type": "INT",
|
|
"widget": {"name": "height"},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "batch_size",
|
|
"name": "batch_size",
|
|
"type": "INT",
|
|
"widget": {"name": "batch_size"},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "LATENT",
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"slot_index": 0,
|
|
"links": [6]
|
|
}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.3.60"},
|
|
"widgets_values": [1024, 1024, 1]
|
|
}
|
|
],
|
|
"links": [
|
|
[1, 1, 0, 2, 0, "MODEL"],
|
|
[2, 1, 1, 6, 0, "CLIP"],
|
|
[3, 1, 2, 3, 1, "VAE"],
|
|
[4, 6, 0, 2, 1, "CONDITIONING"],
|
|
[5, 7, 0, 2, 2, "CONDITIONING"],
|
|
[6, 8, 0, 2, 3, "LATENT"],
|
|
[7, 2, 0, 3, 0, "LATENT"],
|
|
[8, 3, 0, 4, 0, "IMAGE"],
|
|
[9, 1, 2, 5, 0, "VAE"],
|
|
[10, 1, 1, 7, 0, "CLIP"]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.8,
|
|
"offset": [0, 0]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
}
|