Files
pollockjj-ComfyUI-MultiGPU/example_workflows/sdxl checkpoint loader advanced.json
T

437 lines
9.0 KiB
JSON
Executable File

{
"id": "8af0a104-fd94-4d52-a3fe-1b223b3cfe74",
"revision": 0,
"last_node_id": 27,
"last_link_id": 65,
"nodes": [
{
"id": 5,
"type": "VAEDecode",
"pos": [
1581.3973388671875,
-280.86529541015625
],
"size": [
140,
46
],
"flags": {
"collapsed": false
},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 6
},
{
"name": "vae",
"type": "VAE",
"link": 64
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
60
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 21,
"type": "CLIPTextEncode",
"pos": [
937.1891479492188,
-240.19276428222656
],
"size": [
306.88653564453125,
192.15206909179688
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 62
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
46
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A towering technological monolith in a cyberpunk cityscape at night, neon blue-green mixed with purple illuminate the surrounding buildings. 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": 25,
"type": "CLIPTextEncode",
"pos": [
948.5381469726562,
5.491794109344482
],
"size": [
285.6000061035156,
88
],
"flags": {
"collapsed": false
},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 65
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
59
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 8,
"type": "EmptyLatentImage",
"pos": [
658.3106079101562,
-1.8894624710083008
],
"size": [
210,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
9
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 2,
"type": "KSampler",
"pos": [
1261.748779296875,
-272.6434020996094
],
"size": [
295.7660217285156,
474
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 63
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 46
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 59
},
{
"name": "latent_image",
"type": "LATENT",
"link": 9
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
6
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "KSampler"
},
"widgets_values": [
1018829187018126,
"randomize",
20,
8,
"dpmpp_2m_sde_gpu",
"karras",
1
]
},
{
"id": 23,
"type": "SaveImage",
"pos": [
1757.25439453125,
-274.5552673339844
],
"size": [
473.8890686035156,
484.4914245605469
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 60
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"MultiGPU"
]
},
{
"id": 27,
"type": "CheckpointLoaderAdvancedMultiGPU",
"pos": [
580.2694702148438,
-237.61167907714844
],
"size": [
360.78656005859375,
170
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
63
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
62,
65
]
},
{
"name": "VAE",
"type": "VAE",
"links": [
64
]
}
],
"properties": {
"cnr_id": "comfyui-multigpu",
"ver": "0d6dfc7524472943ba912a6ec3088757edba15c3",
"Node name for S&R": "CheckpointLoaderAdvancedMultiGPU"
},
"widgets_values": [
"Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors",
"cuda:0",
"cpu",
"cuda:1"
],
"color": "#008181",
"bgcolor": "rgba(24,24,27,.9)"
},
{
"id": 26,
"type": "MarkdownNote",
"pos": [
91.9892349243164,
-246.16168212890625
],
"size": [
480.3141784667969,
487.08673095703125
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "ComfyUI-MultiGPU - CheckpointLoaderAdvancedMultiGPU",
"properties": {},
"widgets_values": [
"A mature SDXL Checkpoint to test ComfyUI-MultiGPU CheckpointLoaderAdvanced functionality. In this case we are changing the UNet, CLIP, and VAE devices independentlly\n## Custom Node\n\n- [ComfyUI-MultiGPU](https://github.com/pollockjj/ComfyUI-MultiGPU)\n```\n📂 ComfyUI/\n├── 📂 custom_nodes/\n│ ├── 📂 ComfyUI-MultiGPU/\n```\n## Model links\n\n**checkpoints**\n\n - [Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors](https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors) \n\n```\n📂 ComfyUI/\n├─ 📂 models/\n│ ├─ 📂 checkpoints/\n│ │ └── Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors\n```\n## Device Mapping (Example: Two GPUs, 1 CPU)\n```\n🖥️ system \n├── 🟢 cuda:0\n│ └── Juggernaut-XL_v9_RunDiffusionPhoto_v2 - UNet\n├── 🟣 cuda:1\n│ └── Juggernaut-XL_v9_RunDiffusionPhoto_v2 - VAE\n├── ⚙️ cpu\n └── Juggernaut-XL_v9_RunDiffusionPhoto_v2 - CLIP\n```"
],
"color": "#008181",
"bgcolor": "rgba(24,24,27,.9)"
}
],
"links": [
[
6,
2,
0,
5,
0,
"LATENT"
],
[
9,
8,
0,
2,
3,
"LATENT"
],
[
46,
21,
0,
2,
1,
"CONDITIONING"
],
[
59,
25,
0,
2,
2,
"CONDITIONING"
],
[
60,
5,
0,
23,
0,
"IMAGE"
],
[
62,
27,
1,
21,
0,
"CLIP"
],
[
63,
27,
0,
2,
0,
"MODEL"
],
[
64,
27,
2,
5,
1,
"VAE"
],
[
65,
27,
1,
25,
0,
"CLIP"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9646149645001288,
"offset": [
93.03404840681384,
585.605321716019
]
},
"frontendVersion": "1.27.10",
"ue_links": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}