Files
pollockjj-ComfyUI-MultiGPU/examples/distorch2/flux_dev_example_DisTorch2.json
T
John Pollock 545da7f741 Refactor: Reorganize and update example workflows
This commit introduces a major reorganization of the `examples` directory to improve clarity and discoverability. Workflows are now grouped into subdirectories based on the features they demonstrate (e.g., `distorch`, `distorch2`, `gguf`, `multiGPU`).

Key changes:
- Moved existing example JSON files into new categorized folders.
- Added several new and updated workflows, particularly for DisTorch2.
- Removed outdated or redundant example files.
- Renamed an internal function from `..._gguf_v2` to `..._safetensor_v2` to better reflect its broader functionality in DisTorch2.
2025-08-14 12:45:15 -05:00

692 lines
12 KiB
JSON
Executable File

{
"id": "3c55bda9-d06f-4dc1-a571-cb6ea8f647e8",
"revision": 0,
"last_node_id": 136,
"last_link_id": 295,
"nodes": [
{
"id": 22,
"type": "BasicGuider",
"pos": [
852.2776489257812,
-113.5096435546875
],
"size": [
222.3482666015625,
46
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 54
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 42
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"slot_index": 0,
"links": [
30
]
}
],
"properties": {
"Node name for S&R": "BasicGuider"
},
"widgets_values": []
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
1162.46533203125,
79.54632568359375
],
"size": [
566.427001953125,
688.7268676757812
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 37
},
{
"name": "guider",
"type": "GUIDER",
"link": 30
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 19
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 20
},
{
"name": "latent_image",
"type": "LATENT",
"link": 178
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"slot_index": 0,
"links": [
24
]
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
470.26251220703125,
444.5785827636719
],
"size": [
412.7810363769531,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
]
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
36218255195780,
"randomize"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
484.6856689453125,
587.7680053710938
],
"size": [
394.4875793457031,
58.668025970458984
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
509.7876892089844,
702.4910888671875
],
"size": [
398.4141845703125,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 295
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
]
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"normal",
28,
1
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1812.6654052734375,
-154.47837829589844
],
"size": [
1308.1181640625,
1063.59521484375
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1500.7164306640625,
-139.140380859375
],
"size": [
233.40155029296875,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 279
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
9
]
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 71,
"type": "EmptySD3LatentImage",
"pos": [
781.7842407226562,
174.56484985351562
],
"size": [
210,
106
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
178
]
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1024,
1024,
1
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 26,
"type": "FluxGuidance",
"pos": [
346.12701416015625,
-30.19463348388672
],
"size": [
317.4000244140625,
58
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 41
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
42
]
}
],
"properties": {
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
3.5
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-81.70205688476562,
-33.01286315917969
],
"size": [
391.4284973144531,
176.46835327148438
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 293
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
41
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A towering technological monolith in a cyberpunk cityscape at night, with \"DisTorch 2\" emblazoned across its surface in massive neon blue-green mixed with purple letters that illuminate the surrounding buildings. The text occupies the central third of the frame, crafted from glowing plasma tubes and crackling energy. The model file suffix \"now with .safetensors!\" in same stying but smaller font directly underneath. Rain-slicked streets below reflect the brilliant signage, while holographic advertisements and flying vehicles populate the background. Moody atmospheric lighting, heavy contrast, photorealistic textures, cinematic color grading. "
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 136,
"type": "DualCLIPLoaderMultiGPU",
"pos": [
-558.3677978515625,
-36.014400482177734
],
"size": [
420.4273376464844,
130
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
293
]
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderMultiGPU"
},
"widgets_values": [
"t5xxl_fp8_e4m3fn.safetensors",
"clip_l.safetensors",
"flux",
"cuda:1"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 133,
"type": "UNETLoaderDisTorch2MultiGPU",
"pos": [
-559.6673583984375,
-315.3926086425781
],
"size": [
381.215576171875,
178
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
294,
295
]
}
],
"properties": {
"Node name for S&R": "UNETLoaderDisTorch2MultiGPU"
},
"widgets_values": [
"flux1-dev-fp8.safetensors",
"default",
"cuda:0",
4,
"cpu",
""
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 30,
"type": "ModelSamplingFlux",
"pos": [
363.7016906738281,
-309.4155578613281
],
"size": [
382.2674560546875,
170
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 294
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
54
]
}
],
"properties": {
"Node name for S&R": "ModelSamplingFlux"
},
"widgets_values": [
1.15,
0.5,
1024,
1024
]
},
{
"id": 60,
"type": "VAELoaderMultiGPU",
"pos": [
-543.2852783203125,
204.7698516845703
],
"size": [
230.01893615722656,
85.27015686035156
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
279
]
}
],
"properties": {
"Node name for S&R": "VAELoaderMultiGPU"
},
"widgets_values": [
"ae.safetensors",
"cuda:1"
],
"color": "#233",
"bgcolor": "#355"
}
],
"links": [
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
19,
16,
0,
13,
2,
"SAMPLER"
],
[
20,
17,
0,
13,
3,
"SIGMAS"
],
[
24,
13,
0,
8,
0,
"LATENT"
],
[
30,
22,
0,
13,
1,
"GUIDER"
],
[
37,
25,
0,
13,
0,
"NOISE"
],
[
41,
6,
0,
26,
0,
"CONDITIONING"
],
[
42,
26,
0,
22,
1,
"CONDITIONING"
],
[
54,
30,
0,
22,
0,
"MODEL"
],
[
178,
71,
0,
13,
4,
"LATENT"
],
[
279,
60,
0,
8,
1,
"VAE"
],
[
293,
136,
0,
6,
0,
"CLIP"
],
[
294,
133,
0,
30,
0,
"MODEL"
],
[
295,
133,
0,
17,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6115909044841529,
"offset": [
1204.2248231557692,
953.8392783594873
]
},
"frontendVersion": "1.24.4",
"groupNodes": {},
"node_versions": {
"comfy-core": "0.3.27",
"comfyui-kjnodes": "86b5453a5ca9ecb883eedc9d0a96bf942b9ca73e",
"ComfyUI-MultiGPU": "1bf9333fc7f1d230282a6bc9946cfeabb9801969",
"comfyui-art-venture": "50abaace756b96f5f5dc2c9d72826ef371afd45e",
"Comfy-WaveSpeed": "3db162bb7ad56b84a452a4778527da63793c0e87"
},
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"ue_links": [],
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}