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.
543 lines
10 KiB
JSON
Executable File
543 lines
10 KiB
JSON
Executable File
{
|
|
"id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
|
|
"revision": 0,
|
|
"last_node_id": 74,
|
|
"last_link_id": 134,
|
|
"nodes": [
|
|
{
|
|
"id": 8,
|
|
"type": "VAEDecode",
|
|
"pos": [
|
|
1210,
|
|
190
|
|
],
|
|
"size": [
|
|
210,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": 128
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 130
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"slot_index": 0,
|
|
"links": [
|
|
110
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VAEDecode"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 60,
|
|
"type": "SaveImage",
|
|
"pos": [
|
|
1478.3486328125,
|
|
190.30274963378906
|
|
],
|
|
"size": [
|
|
821.0496215820312,
|
|
871.7067260742188
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 110
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "SaveImage"
|
|
},
|
|
"widgets_values": [
|
|
"ComfyUI"
|
|
]
|
|
},
|
|
{
|
|
"id": 58,
|
|
"type": "EmptySD3LatentImage",
|
|
"pos": [
|
|
410.6574401855469,
|
|
620.5468139648438
|
|
],
|
|
"size": [
|
|
270,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
107
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "EmptySD3LatentImage"
|
|
},
|
|
"widgets_values": [
|
|
1328,
|
|
1328,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
413,
|
|
389
|
|
],
|
|
"size": [
|
|
425.27801513671875,
|
|
180.6060791015625
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 75
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"slot_index": 0,
|
|
"links": [
|
|
52
|
|
]
|
|
}
|
|
],
|
|
"title": "CLIP Text Encode (Negative Prompt)",
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
" "
|
|
],
|
|
"color": "#322",
|
|
"bgcolor": "#533"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "KSampler",
|
|
"pos": [
|
|
894.4686889648438,
|
|
201.6600799560547
|
|
],
|
|
"size": [
|
|
315,
|
|
474
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 125
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": 46
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": 52
|
|
},
|
|
{
|
|
"name": "latent_image",
|
|
"type": "LATENT",
|
|
"link": 107
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"slot_index": 0,
|
|
"links": [
|
|
128
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "KSampler"
|
|
},
|
|
"widgets_values": [
|
|
460967899514521,
|
|
"randomize",
|
|
20,
|
|
2.5,
|
|
"euler",
|
|
"simple",
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 38,
|
|
"type": "CLIPLoader",
|
|
"pos": [
|
|
-38.50741195678711,
|
|
203.00167846679688
|
|
],
|
|
"size": [
|
|
380,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"slot_index": 0,
|
|
"links": [
|
|
74,
|
|
75
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPLoader"
|
|
},
|
|
"widgets_values": [
|
|
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
|
|
"qwen_image",
|
|
"cpu"
|
|
],
|
|
"color": "#223",
|
|
"bgcolor": "#335"
|
|
},
|
|
{
|
|
"id": 68,
|
|
"type": "Note",
|
|
"pos": [
|
|
913.0664672851562,
|
|
-0.3729564845561981
|
|
],
|
|
"size": [
|
|
261.87744140625,
|
|
102.99000549316406
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"Increase the shift if you get too many blury/dark/bad images. Decrease if you want to try increasing detail."
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 67,
|
|
"type": "Note",
|
|
"pos": [
|
|
874.5732421875,
|
|
755.3063354492188
|
|
],
|
|
"size": [
|
|
307.4002380371094,
|
|
127.38092803955078
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"Set cfg to 1.0 for a speed boost at the cost of consistency. Samplers like res_multistep work pretty well at cfg 1.0\n\nThe official number of steps is 50 but I think that's too much. Even just 10 steps seems to work."
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
415,
|
|
186
|
|
],
|
|
"size": [
|
|
422.84503173828125,
|
|
164.31304931640625
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 74
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"slot_index": 0,
|
|
"links": [
|
|
46
|
|
]
|
|
}
|
|
],
|
|
"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. \"now with .safetensors!\" in same styling but smaller, italic version of the font splashed in the lower right-hand corner of the image. 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": 70,
|
|
"type": "VAELoaderMultiGPU",
|
|
"pos": [
|
|
-30.621204376220703,
|
|
408.86016845703125
|
|
],
|
|
"size": [
|
|
337.2979431152344,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"links": [
|
|
130
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VAELoaderMultiGPU"
|
|
},
|
|
"widgets_values": [
|
|
"qwen_image_vae.safetensors",
|
|
"cuda:1"
|
|
],
|
|
"color": "#233",
|
|
"bgcolor": "#355"
|
|
},
|
|
{
|
|
"id": 66,
|
|
"type": "ModelSamplingAuraFlow",
|
|
"pos": [
|
|
459.40179443359375,
|
|
-35.1873779296875
|
|
],
|
|
"size": [
|
|
270,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 134
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
125
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ModelSamplingAuraFlow"
|
|
},
|
|
"widgets_values": [
|
|
3.1000000000000005
|
|
]
|
|
},
|
|
{
|
|
"id": 71,
|
|
"type": "UNETLoaderDisTorch2MultiGPU",
|
|
"pos": [
|
|
-18.269481658935547,
|
|
-40.56364059448242
|
|
],
|
|
"size": [
|
|
351.41351318359375,
|
|
179.5890655517578
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
134
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "UNETLoaderDisTorch2MultiGPU"
|
|
},
|
|
"widgets_values": [
|
|
"qwen_image_fp8_e4m3fn.safetensors",
|
|
"fp8_e4m3fn",
|
|
"cuda:0",
|
|
4,
|
|
"cpu",
|
|
""
|
|
],
|
|
"color": "#233",
|
|
"bgcolor": "#355"
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
46,
|
|
6,
|
|
0,
|
|
3,
|
|
1,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
52,
|
|
7,
|
|
0,
|
|
3,
|
|
2,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
74,
|
|
38,
|
|
0,
|
|
6,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
75,
|
|
38,
|
|
0,
|
|
7,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
107,
|
|
58,
|
|
0,
|
|
3,
|
|
3,
|
|
"LATENT"
|
|
],
|
|
[
|
|
110,
|
|
8,
|
|
0,
|
|
60,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
125,
|
|
66,
|
|
0,
|
|
3,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
128,
|
|
3,
|
|
0,
|
|
8,
|
|
0,
|
|
"LATENT"
|
|
],
|
|
[
|
|
130,
|
|
70,
|
|
0,
|
|
8,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
134,
|
|
71,
|
|
0,
|
|
66,
|
|
0,
|
|
"MODEL"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.9229599817706498,
|
|
"offset": [
|
|
81.82659533721916,
|
|
197.28454065770217
|
|
]
|
|
},
|
|
"frontendVersion": "1.24.4",
|
|
"VHS_latentpreview": false,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true
|
|
},
|
|
"version": 0.4
|
|
} |