Update to examples to include CPU offloads, as well as update readme.md with new examples and their requirements to run.

This commit is contained in:
John Pollock
2024-12-27 13:22:16 -06:00
parent 4a45737583
commit 67c1641ab2
10 changed files with 6354 additions and 6109 deletions
+13 -12
View File
@@ -1,6 +1,6 @@
# ComfyUI-MultiGPU
## Experimental nodes for using multiple GPUs and offloading model components to the CPU in a single ComfyUI workflow
## Experimental nodes for using multiple GPUs as well as offloading model components to the CPU in a single ComfyUI workflow
This extension adds device selection capabilities to model loading nodes in ComfyUI. It monkey patches the memory management of ComfyUI in a hacky way and is neither a comprehensive solution is nor is it well-tested on any edge-case CUDA/CPU solutions. **Use at your own risk.**
@@ -56,17 +56,22 @@ This workflow loads a FLUX.1-dev model and splits its components across two GPUs
### Split FLUX.1-dev between the CPU and a single GPU
- [examples/flux1dev_cpu_1gpu_GGUF.json](https://github.com/pollockjj/ComfyUI-MultiGPU/blob/main/examples/flux1dev_cpu_1gpu_GGUF.json)
This workflow demonstrates splitting a quantized, GGUF FLUX.1-dev model between a CPU and a single GPU. The UNet model is loaded on the GPU, while the VAE and text encoders are handled by the CPU.
This workflow demonstrates splitting a quantized, GGUF FLUX.1-dev model between a CPU and a single GPU. The UNet model is loaded on the GPU, while the VAE and text encoders are handled by the CPU. Requires [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF).
### Using GGUF quantized models across GPUs
- [examples/flux1dev_2gpu_GGUF.json](https://github.com/pollockjj/ComfyUI-MultiGPU/blob/main/examples/flux1dev_2gpu_GGUF.json)
This workflow demonstrates using quantized GGUF models split across multiple GPUs for reduced VRAM usage with the UNet on GPU 1, VAE and text encoders on GPU 0.
This workflow demonstrates using quantized GGUF models split across multiple GPUs for reduced VRAM usage with the UNet on GPU 1, VAE and text encoders on GPU 0. Requires [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF).
### Using GGUF quantized models across a CPU and a single GPU for video generation
- [examples/hunyuan_cpu_1gpu_GGUF.json](https://github.com/pollockjj/ComfyUI-MultiGPU/blob/main/examples/hunyuan_cpu_1gpu_GGUF.json)
This workflow demonstrates using quantized GGUF models for Hunyan Video split across the CPU and one GPU. In this instance, a quantized video model's UNet and VAE are on GPU 0, whereas a split of one standard and one GGUF model text encoder are on the CPU. Requires [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF).
### Using GGUF quantized models across GPUs for video generation
- [examples/hunyuan_2gpu_GGUF.json](https://github.com/pollockjj/ComfyUI-MultiGPU/blob/main/examples/hunyuan_2gpu_GGUF.json)
This workflow demonstrates using quantized GGUF models for Hunyan Video split across multiple GPUs with the FastVideo LoRA. In this instance, the video model is on GPU 0 whereas the VAE and text encoders are on GPU 1.
This workflow demonstrates using quantized GGUF models for Hunyan Video split across multiple GPUs. In this instance, a quantized video model's UNet is on GPU 0 whereas the VAE and text encoders are on GPU 1. Requires [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF).
### Loading two SDXL checkpoints on different GPUs
@@ -78,20 +83,16 @@ This workflow loads two SDXL checkpoints on two different GPUs. The first checkp
- [examples/flux1dev_sdxl_2gpu.json](https://github.com/pollockjj/ComfyUI-MultiGPU/blob/main/examples/flux1dev_sdxl_2gpu.json)
This workflow loads a FLUX.1-dev model and an SDXL model in the same workflow. The FLUX.1-dev model has its UNet on GPU 1 with VAE and text encoders on GPU 0, while the SDXL model uses separate allocations on GPU 0.
### EXPERIMENTAL - USE AT YOUR OWN RISK
### Image to Prompt to Image to Video Generation Pipeline
These workflows combine multiple features and non-core loaders types and, as provided, require significant VRAM to execute. They are provided as examples of what's possible but may require adjustment for your specific setup.
#### Image to Prompt to Image to Video Generation Pipeline
- [examples/florence2_flux1dev_ltxv_cpu_2gpu_GGUF.json](https://github.com/pollockjj/ComfyUI-MultiGPU/blob/main/examples/florence2_flux1dev_ltxv_cpu_2gpu_GGUF.json)
- [examples/florence2_flux1dev_ltxv_cpu_2gpu.json](https://github.com/pollockjj/ComfyUI-MultiGPU/blob/main/examples/florence2_flux1dev_ltxv_cpu_2gpu.json)
This workflow creates an img2txt2img2vid video generation pipeline by:
1. Loading the Florence2 model on the CPU and providing a starting image for analysis and generating a text response
2. Loading FLUX.1 Dev UNET on GPU 1, with CLIP and VAE on the CPU and generating an image using the Florence2 text as a prompt
3. Loading the LTX Video UNet and VAE on GPU 2, and LTX-encoded CLIP on the CPU, and taking the resulting FLUX.1 image and provide it as the starting image for an LTX Video image-to-video generation
4. Generate a 5 second video based on the provided image
All models are distributed across available the available CPU and GPUs with no model reloading on dual 3090s
All models are distributed across available the available CPU and GPUs with no model reloading on dual 3090s. Requires [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF) and [ComfyUI-LTXVideo](https://github.com/Lightricks/ComfyUI-LTXVideo)
#### LLM-Guided Video Generation
@@ -100,7 +101,7 @@ This workflow demonstrates:
1. Using a local LLM (loaded on first GPU via llama.cpp) to take a text suggestion and craft an LTX Video promot
2. Feeding the enhanced prompt to LTXVideo (loaded on second GPU) for video generation
Requires appropriate LLM and LTXVideo models.
Requires appropriate LLM. Requires [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF).
## Support
+364 -330
View File
@@ -1,51 +1,7 @@
{
"last_node_id": 33,
"last_node_id": 34,
"last_link_id": 49,
"nodes": [
{
"id": 22,
"type": "BasicGuider",
"pos": [
430,
260
],
"size": [
310,
50
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 45,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 40,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
30
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicGuider"
},
"widgets_values": []
},
{
"id": 16,
"type": "KSamplerSelect",
@@ -78,19 +34,128 @@
"euler"
]
},
{
"id": 32,
"type": "DualCLIPLoaderMultiGPU",
"pos": [
-78.85963439941406,
312.105224609375
],
"size": [
456.3470458984375,
130
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
47
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderMultiGPU"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux",
"cuda:0"
]
},
{
"id": 33,
"type": "VAELoaderMultiGPU",
"pos": [
-74.85962677001953,
488.105224609375
],
"size": [
450.23980712890625,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
48,
49
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoaderMultiGPU"
},
"widgets_values": [
"ae.safetensors",
"cuda:0"
]
},
{
"id": 31,
"type": "UNETLoaderMultiGPU",
"pos": [
-81.8596420288086,
158.10528564453125
],
"size": [
460.79998779296875,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
45,
46
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "UNETLoaderMultiGPU"
},
"widgets_values": [
"flux1-dev.safetensors",
"default",
"cuda:1"
]
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
801,
125
556.2047119140625,
267.16375732421875
],
"size": [
398.79998779296875,
326
],
"flags": {},
"order": 11,
"flags": {
"collapsed": true
},
"order": 12,
"mode": 0,
"inputs": [
{
@@ -146,203 +211,6 @@
},
"widgets_values": []
},
{
"id": 29,
"type": "ImageScaleToTotalPixels",
"pos": [
411,
746
],
"size": [
331.20001220703125,
82
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 41
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
42
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"lanczos",
1
]
},
{
"id": 30,
"type": "VAEEncode",
"pos": [
414,
877
],
"size": [
320,
50
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 42
},
{
"name": "vae",
"type": "VAE",
"link": 49
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
44
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEEncode"
},
"widgets_values": []
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
415,
588
],
"size": [
315,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 46,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
20,
0.75
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1296,
136
],
"size": [
210,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 48
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
433,
136
],
"size": [
315,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
1081409732488957,
"randomize"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
@@ -351,7 +219,7 @@
456
],
"size": [
360,
210,
76
],
"flags": {},
@@ -382,154 +250,291 @@
]
},
{
"id": 31,
"type": "UNETLoaderMultiGPU",
"id": 17,
"type": "BasicScheduler",
"pos": [
-148,
76
415,
588
],
"size": [
460.79998779296875,
231.37432861328125,
106
],
"flags": {},
"order": 2,
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
"inputs": [
{
"name": "MODEL",
"name": "model",
"type": "MODEL",
"links": [
45,
46
],
"slot_index": 0,
"shape": 3
"link": 46,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoaderMultiGPU"
},
"widgets_values": [
"flux1-dev.safetensors",
"default",
"cuda:1"
]
},
{
"id": 32,
"type": "DualCLIPLoaderMultiGPU",
"pos": [
-145,
230
],
"size": [
456.3470458984375,
130
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
47
20
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
20,
0.75
]
},
{
"id": 30,
"type": "VAEEncode",
"pos": [
423.8831787109375,
312.1461486816406
],
"size": [
320,
50
],
"flags": {
"collapsed": true
},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 42
},
{
"name": "vae",
"type": "VAE",
"link": 49
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
44
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderMultiGPU"
"Node name for S&R": "VAEEncode"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux",
"cuda:0"
]
"widgets_values": []
},
{
"id": 33,
"type": "VAELoaderMultiGPU",
"id": 8,
"type": "VAEDecode",
"pos": [
-141,
406
581.379150390625,
306.2924499511719
],
"size": [
450.23980712890625,
82
210,
46
],
"flags": {
"collapsed": true
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 48
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
415.5555419921875,
267.602294921875
],
"size": [
310,
50
],
"flags": {
"collapsed": true
},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 45,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 40,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
30
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicGuider"
},
"widgets_values": []
},
{
"id": 34,
"type": "Note",
"pos": [
408.77154541015625,
898.7672119140625
],
"size": [
244.2865447998047,
58
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "User Input",
"properties": {},
"widgets_values": [
"Resize the image in terms of total pixels as part of img2img"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 29,
"type": "ImageScaleToTotalPixels",
"pos": [
412.5205078125,
767.2865600585938
],
"size": [
268.10052490234375,
88.08191680908203
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 41
}
],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
48,
49
42
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoaderMultiGPU"
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"ae.safetensors",
"cuda:0"
]
"lanczos",
1
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 9,
"type": "SaveImage",
"id": 25,
"type": "RandomNoise",
"pos": [
1390.503662109375,
262.9825744628906
407.152099609375,
145.883056640625
],
"size": [
610.9039306640625,
935.4635620117188
315,
82
],
"flags": {},
"order": 13,
"order": 5,
"mode": 0,
"inputs": [
"inputs": [],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
"ComfyUI"
1081409732488957,
"randomize"
]
},
{
"id": 26,
"type": "LoadImage",
"pos": [
832.099609375,
276.4795837402344
734.78955078125,
144.19891357421875
],
"size": [
557.5253295898438,
885.68408203125
],
"flags": {},
"order": 5,
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
@@ -556,6 +561,35 @@
"43451813.jpeg",
"image"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1309.1583251953125,
131.4620819091797
],
"size": [
610.9039306640625,
935.4635620117188
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
}
],
"links": [
@@ -684,10 +718,10 @@
"config": {},
"extra": {
"ds": {
"scale": 0.8769226950000688,
"scale": 0.8769226950001169,
"offset": [
365.39453135534154,
31.74503272619687
372.74926916263763,
130.97026916318094
]
},
"ue_links": [],
+281 -301
View File
@@ -1,20 +1,84 @@
{
"last_node_id": 35,
"last_link_id": 52,
"last_node_id": 36,
"last_link_id": 53,
"nodes": [
{
"id": 33,
"type": "VAELoaderMultiGPU",
"pos": [
-62.57144546508789,
460.42584228515625
],
"size": [
450.23980712890625,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
48,
49
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoaderMultiGPU"
},
"widgets_values": [
"ae.safetensors",
"cuda:0"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
553.2835693359375,
604.8348999023438
],
"size": [
512.2255859375,
692.112548828125
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
430,
260
397.337158203125,
135.11544799804688
],
"size": [
310,
50
161.1999969482422,
46
],
"flags": {},
"order": 9,
"order": 10,
"mode": 0,
"inputs": [
{
@@ -46,19 +110,52 @@
},
"widgets_values": []
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
381.8360595703125,
230.80130004882812
],
"size": [
236.60824584960938,
88.84210968017578
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
5770521,
"fixed"
]
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
430,
350
398.8528137207031,
360.1959533691406
],
"size": [
315,
210,
58
],
"flags": {},
"order": 0,
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
@@ -78,101 +175,19 @@
"euler"
]
},
{
"id": 29,
"type": "ImageScaleToTotalPixels",
"pos": [
411,
746
],
"size": [
331.20001220703125,
82
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 41
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
42
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"lanczos",
1
]
},
{
"id": 30,
"type": "VAEEncode",
"pos": [
414,
877
],
"size": [
320,
50
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 42
},
{
"name": "vae",
"type": "VAE",
"link": 49
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
44
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEEncode"
},
"widgets_values": []
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
415,
588
573.0526123046875,
137.1051483154297
],
"size": [
315,
210,
106
],
"flags": {},
"order": 7,
"order": 8,
"mode": 0,
"inputs": [
{
@@ -201,15 +216,57 @@
0.75
]
},
{
"id": 30,
"type": "VAEEncode",
"pos": [
626.94189453125,
306.2926940917969
],
"size": [
140,
46.959110260009766
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 53
},
{
"name": "vae",
"type": "VAE",
"link": 49
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
44
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEEncode"
},
"widgets_values": []
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1296,
136
625.9295654296875,
428.6144714355469
],
"size": [
210,
140,
46
],
"flags": {},
@@ -242,182 +299,16 @@
},
"widgets_values": []
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
433,
136
],
"size": [
315,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
1011907241509375,
"randomize"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1390.503662109375,
262.9825744628906
],
"size": [
610.9039306640625,
935.4635620117188
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 35,
"type": "DualCLIPLoaderGGUFMultiGPU",
"pos": [
-135.9344482421875,
224.67466735839844
],
"size": [
439.5617370605469,
130
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
50
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderGGUFMultiGPU"
},
"widgets_values": [
"t5-v1_1-xxl-encoder-Q4_K_M.gguf",
"clip_l.safetensors",
"flux",
"cuda:0"
]
},
{
"id": 33,
"type": "VAELoaderMultiGPU",
"pos": [
-136.16221618652344,
397.7065734863281
],
"size": [
450.23980712890625,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
48,
49
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoaderMultiGPU"
},
"widgets_values": [
"ae.safetensors",
"cuda:0"
]
},
{
"id": 34,
"type": "UnetLoaderGGUFMultiGPU",
"pos": [
-129.1488494873047,
104.35658264160156
],
"size": [
424.197265625,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
51,
52
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UnetLoaderGGUFMultiGPU"
},
"widgets_values": [
"flux1-dev-Q4_0.gguf",
"cuda:1"
]
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
842.8128662109375,
-96.6082763671875
806.6261596679688,
163.39205932617188
],
"size": [
398.79998779296875,
326
236.8000030517578,
387.28668212890625
],
"flags": {},
"order": 11,
@@ -480,15 +371,15 @@
"id": 26,
"type": "LoadImage",
"pos": [
832.099609375,
276.4795837402344
-49.16379928588867,
590.3043823242188
],
"size": [
557.5253295898438,
885.68408203125
571.7417602539062,
708.3975830078125
],
"flags": {},
"order": 5,
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
@@ -496,7 +387,7 @@
"name": "IMAGE",
"type": "IMAGE",
"links": [
41
53
],
"slot_index": 0,
"shape": 3
@@ -512,7 +403,7 @@
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_07019_.png",
"43400095.png",
"image"
]
},
@@ -520,15 +411,15 @@
"id": 6,
"type": "CLIPTextEncode",
"pos": [
414.6198425292969,
458.5087585449219
405.42108154296875,
460.1813049316406
],
"size": [
360,
210,
76
],
"flags": {},
"order": 6,
"order": 9,
"mode": 0,
"inputs": [
{
@@ -551,8 +442,105 @@
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"steampunk style"
"anime style"
]
},
{
"id": 34,
"type": "UnetLoaderGGUFMultiGPU",
"pos": [
-42.17792892456055,
132.78921508789062
],
"size": [
417.5072937011719,
97.88888549804688
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
51,
52
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UnetLoaderGGUFMultiGPU"
},
"widgets_values": [
"flux1-dev-Q4_0.gguf",
"cuda:1"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 36,
"type": "Note",
"pos": [
-448.1904602050781,
138.0183868408203
],
"size": [
384.5566711425781,
276.04486083984375
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "This workflow requires ComfyUI-GGUF",
"properties": {},
"widgets_values": [
"**⚠️ Dependency Alert! ⚠️**\n\nThis workflow relies on nodes from the [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF) custom node repository to function correctly. \n\nSpecifically:\n\n*\"UnetLoaderGGUFMultiGPU\" and \n*\"DualCLIPLoaderGGUFMultiGPU\" \n\nwill not work without this dependency installed. Please install ComfyUI-GGUF before attempting to run this workflow."
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 35,
"type": "DualCLIPLoaderGGUFMultiGPU",
"pos": [
-52.30849075317383,
280.70391845703125
],
"size": [
435.3804016113281,
130
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
50
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderGGUFMultiGPU"
},
"widgets_values": [
"t5-v1_1-xxl-encoder-Q4_K_M.gguf",
"clip_l.safetensors",
"flux",
"cuda:0"
],
"color": "#332922",
"bgcolor": "#593930"
}
],
"links": [
@@ -612,22 +600,6 @@
1,
"CONDITIONING"
],
[
41,
26,
0,
29,
0,
"IMAGE"
],
[
42,
29,
0,
30,
0,
"IMAGE"
],
[
44,
30,
@@ -675,16 +647,24 @@
17,
0,
"MODEL"
],
[
53,
26,
0,
30,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7972024500000681,
"scale": 0.7972024500001046,
"offset": [
532.4482492796592,
204.76554079618148
1117.1276694292012,
150.83008522230102
]
},
"ue_links": [],
+401 -341
View File
@@ -1,20 +1,96 @@
{
"last_node_id": 34,
"last_node_id": 36,
"last_link_id": 51,
"nodes": [
{
"id": 32,
"type": "DualCLIPLoaderMultiGPU",
"pos": [
-134.35675048828125,
334.9122619628906
],
"size": [
456.3470458984375,
130
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
47
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderMultiGPU"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux",
"cpu"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
370.94561767578125,
184.63783264160156
],
"size": [
231.7741241455078,
76
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 47
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
40
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"steampunk style"
]
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
430,
260
361.238037109375,
23.760555267333984
],
"size": [
310,
50
],
"flags": {},
"order": 9,
"flags": {
"collapsed": true
},
"order": 11,
"mode": 0,
"inputs": [
{
@@ -46,19 +122,132 @@
},
"widgets_values": []
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
630.1492309570312,
217.53857421875
],
"size": [
210,
46
],
"flags": {
"collapsed": true
},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 48
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
386.3785095214844,
302.42181396484375
],
"size": [
263.6163330078125,
107.67249298095703
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 51,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
20,
0.75
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1330.1031494140625,
-119.60201263427734
],
"size": [
598.3600463867188,
887.796875
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
430,
350
393.0156555175781,
84.49148559570312
],
"size": [
315,
58
],
"flags": {},
"order": 0,
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
@@ -78,19 +267,65 @@
"euler"
]
},
{
"id": 30,
"type": "VAEEncode",
"pos": [
519.1797485351562,
467.65521240234375
],
"size": [
343.8751525878906,
54.39801025390625
],
"flags": {
"collapsed": true
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 42
},
{
"name": "vae",
"type": "VAE",
"link": 49
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
44
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEEncode"
},
"widgets_values": []
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
801,
125
528.8987426757812,
24.688413619995117
],
"size": [
398.79998779296875,
236.8000030517578,
326
],
"flags": {},
"order": 11,
"flags": {
"collapsed": true
},
"order": 13,
"mode": 0,
"inputs": [
{
@@ -146,312 +381,19 @@
},
"widgets_values": []
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1296,
136
],
"size": [
210,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 48
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
433,
136
],
"size": [
315,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
469973742106324,
"randomize"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1390.503662109375,
262.9825744628906
],
"size": [
610.9039306640625,
935.4635620117188
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 32,
"type": "DualCLIPLoaderMultiGPU",
"pos": [
-145,
230
],
"size": [
456.3470458984375,
130
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
47
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderMultiGPU"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux",
"cpu"
]
},
{
"id": 33,
"type": "VAELoaderMultiGPU",
"pos": [
-141,
406
],
"size": [
450.23980712890625,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
48,
49
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoaderMultiGPU"
},
"widgets_values": [
"ae.safetensors",
"cpu"
]
},
{
"id": 26,
"type": "LoadImage",
"pos": [
832.099609375,
276.4795837402344
],
"size": [
557.5253295898438,
885.68408203125
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
41
],
"slot_index": 0,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"43877497.jpeg",
"image"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
428,
456
],
"size": [
320.41754150390625,
77.88488006591797
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 47
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
40
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"steampunk style"
]
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
415,
588
],
"size": [
341.3883056640625,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 51,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
20,
0.75
]
},
{
"id": 29,
"type": "ImageScaleToTotalPixels",
"pos": [
411,
746
446.77008056640625,
518.9593505859375
],
"size": [
345.02252197265625,
83.25662231445312
278.12200927734375,
84.92926025390625
],
"flags": {},
"order": 7,
"order": 10,
"mode": 0,
"inputs": [
{
@@ -477,63 +419,139 @@
"widgets_values": [
"lanczos",
1
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 36,
"type": "Note",
"pos": [
461.87445068359375,
649.6223754882812
],
"size": [
244.2865447998047,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "User Input",
"properties": {},
"widgets_values": [
"Resize the image in terms of total pixels as part of img2img"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
366.5185852050781,
-121.29788970947266
],
"size": [
245.3624725341797,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
5770521,
"fixed"
]
},
{
"id": 30,
"type": "VAEEncode",
"id": 33,
"type": "VAELoaderMultiGPU",
"pos": [
414,
877
-130.35675048828125,
510.9122314453125
],
"size": [
343.8751525878906,
54.39801025390625
450.23980712890625,
82
],
"flags": {},
"order": 10,
"order": 4,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 42
},
{
"name": "vae",
"type": "VAE",
"link": 49
}
],
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"name": "VAE",
"type": "VAE",
"links": [
44
48,
49
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEEncode"
"Node name for S&R": "VAELoaderMultiGPU"
},
"widgets_values": []
"widgets_values": [
"ae.safetensors",
"cpu"
]
},
{
"id": 35,
"type": "Note",
"pos": [
-120.1415023803711,
-64.74335479736328
],
"size": [
440.2346496582031,
143.8489990234375
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "This workflow requires ComfyUI-GGUF",
"properties": {},
"widgets_values": [
"**⚠️ Dependency Alert! ⚠️**\n\nThis workflow relies on nodes from the [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF) custom node repository to function correctly. \n\nSpecifically, \"UnetLoaderGGUFMultiGPU\", will not work without this dependency installed. Please install ComfyUI-GGUF before attempting to run this workflow."
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 34,
"type": "UnetLoaderGGUFMultiGPU",
"pos": [
-146.0491180419922,
81.0137710571289
-132.3649139404297,
129.6687774658203
],
"size": [
460.7639465332031,
87.65463256835938
],
"flags": {},
"order": 5,
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
@@ -553,6 +571,48 @@
"widgets_values": [
"flux1-dev-Q4_0.gguf",
"cuda:0"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 26,
"type": "LoadImage",
"pos": [
762.7547607421875,
-115.07572937011719
],
"size": [
557.5253295898438,
885.68408203125
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
41
],
"slot_index": 0,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"43877497.jpeg",
"image"
]
}
],
@@ -682,10 +742,10 @@
"config": {},
"extra": {
"ds": {
"scale": 0.7247295000000716,
"scale": 0.8769226950001169,
"offset": [
900.0643503440059,
214.25137987084307
299.7667812365022,
438.1049000522064
]
},
"ue_links": [],
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+767
View File
@@ -0,0 +1,767 @@
{
"last_node_id": 107,
"last_link_id": 282,
"nodes": [
{
"id": 26,
"type": "FluxGuidance",
"pos": [
350.5116882324219,
321.9669494628906
],
"size": [
211.60000610351562,
58
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 175
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
129
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
6
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
351.79522705078125,
238.22244262695312
],
"size": [
210,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 44,
"type": "CLIPTextEncode",
"pos": [
352.4063415527344,
110.92157745361328
],
"size": [
806.6873168945312,
100.75743865966797
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 271
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
175
],
"slot_index": 0
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"anime style anime girl with massive fennec ears and one big fluffy tail, she has blonde hair long hair blue eyes wearing a pink sweater and a long blue skirt walking in a beautiful outdoor scenery with snow mountains in the background"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 103,
"type": "Note",
"pos": [
-341.6152038574219,
140.59632873535156
],
"size": [
353.56494140625,
190.77996826171875
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "This workflow requires ComfyUI-GGUF",
"properties": {},
"widgets_values": [
"**⚠️ Dependency Alert! ⚠️**\n\nThis workflow relies on nodes from the [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF) custom node repository to function correctly. \n\nSpecifically:\n\n*\"CLIPLoaderGGUFMultiGPU\" \n\nwill not work without this dependency installed. Please install ComfyUI-GGUF before attempting to run this workflow."
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
564.22607421875,
246.15061950683594
],
"size": [
240.3448944091797,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
5770521,
"fixed"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
566.8038940429688,
356.6055908203125
],
"size": [
210,
109.8011474609375
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 270,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
20,
1
]
},
{
"id": 67,
"type": "ModelSamplingSD3",
"pos": [
353.3148193359375,
580.4356689453125
],
"size": [
210,
58
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 269
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
252
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelSamplingSD3"
},
"widgets_values": [
7
]
},
{
"id": 45,
"type": "EmptyHunyuanLatentVideo",
"pos": [
348.5732116699219,
417.52801513671875
],
"size": [
210,
130
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
180
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyHunyuanLatentVideo"
},
"widgets_values": [
848,
480,
73,
1
]
},
{
"id": 87,
"type": "DualCLIPLoaderGGUFMultiGPU",
"pos": [
21.471084594726562,
250.58938598632812
],
"size": [
327.5999755859375,
130
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
271
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderGGUFMultiGPU"
},
"widgets_values": [
"clip_l.safetensors",
"llava-llama-3-8B-v1_1-Q4_K_M.gguf",
"hunyuan_video",
"cpu"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 88,
"type": "VAELoaderMultiGPU",
"pos": [
16.678661346435547,
554.1597290039062
],
"size": [
322.5263366699219,
82
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
280
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoaderMultiGPU"
},
"widgets_values": [
"hunyuan_video_vae_bf16.safetensors",
"cuda:0"
]
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
811.649169921875,
248.65501403808594
],
"size": [
342.43023681640625,
387.5726623535156
],
"flags": {
"collapsed": false
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 37,
"slot_index": 0
},
{
"name": "guider",
"type": "GUIDER",
"link": 30,
"slot_index": 1
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 19,
"slot_index": 2
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 20,
"slot_index": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 180,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
281
],
"slot_index": 0,
"shape": 3
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
579.3200073242188,
506.49493408203125
],
"size": [
222.3482666015625,
46
],
"flags": {
"collapsed": true
},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 252,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 129,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
30
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicGuider"
},
"widgets_values": []
},
{
"id": 107,
"type": "VAEDecodeTiled",
"pos": [
577.1324462890625,
546.57861328125
],
"size": [
210,
150
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 281
},
{
"name": "vae",
"type": "VAE",
"link": 280
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
282
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecodeTiled"
},
"widgets_values": [
256,
64,
64,
8
]
},
{
"id": 86,
"type": "UnetLoaderGGUFMultiGPU",
"pos": [
28.1607723236084,
124.31423950195312
],
"size": [
315,
82
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
269,
270
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UnetLoaderGGUFMultiGPU"
},
"widgets_values": [
"hunyuan-video-t2v-720p-Q4_K_M.gguf",
"cuda:0"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 102,
"type": "VHS_VideoCombine",
"pos": [
1161.8779296875,
-19.11272621154785
],
"size": [
580.7774658203125,
665.4212036132812
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 282
},
{
"name": "audio",
"type": "AUDIO",
"link": null,
"shape": 7
},
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null,
"shape": 7
},
{
"name": "vae",
"type": "VAE",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 25,
"loop_count": 0,
"filename_prefix": "HunyuanVideo",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "HunyuanVideo_00058.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 24,
"workflow": "HunyuanVideo_00058.png",
"fullpath": "/home/johnj/ComfyUI/output/HunyuanVideo_00058.mp4"
},
"muted": false
}
}
}
],
"links": [
[
19,
16,
0,
13,
2,
"SAMPLER"
],
[
20,
17,
0,
13,
3,
"SIGMAS"
],
[
30,
22,
0,
13,
1,
"GUIDER"
],
[
37,
25,
0,
13,
0,
"NOISE"
],
[
129,
26,
0,
22,
1,
"CONDITIONING"
],
[
175,
44,
0,
26,
0,
"CONDITIONING"
],
[
180,
45,
0,
13,
4,
"LATENT"
],
[
252,
67,
0,
22,
0,
"MODEL"
],
[
269,
86,
0,
67,
0,
"MODEL"
],
[
270,
86,
0,
17,
0,
"MODEL"
],
[
271,
87,
0,
44,
0,
"CLIP"
],
[
280,
88,
0,
107,
1,
"VAE"
],
[
281,
13,
0,
107,
0,
"LATENT"
],
[
282,
107,
0,
102,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9646149645001282,
"offset": [
465.7708198313094,
178.06262567367494
]
},
"groupNodes": {},
"ue_links": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0
},
"version": 0.4
}
File diff suppressed because it is too large Load Diff
+522 -591
View File
File diff suppressed because it is too large Load Diff