Files
pollockjj-ComfyUI-MultiGPU/examples/device_selector_lowvram_flux_controlnet.json
T

2096 lines
38 KiB
JSON

{
"last_node_id": 162,
"last_link_id": 261,
"nodes": [
{
"id": 88,
"type": "Reroute",
"pos": [
156.76731872558594,
-115.1278305053711
],
"size": [
75,
26
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 261,
"label": ""
}
],
"outputs": [
{
"name": "",
"type": "CLIP",
"links": [
147,
210
],
"slot_index": 0,
"label": ""
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 89,
"type": "Reroute",
"pos": [
155.76731872558594,
-64.12783813476562
],
"size": [
75,
26
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 246,
"label": ""
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
151,
207
],
"slot_index": 0,
"label": ""
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 139,
"type": "EmptySD3LatentImage",
"pos": [
821.7671508789062,
573.8721313476562
],
"size": [
315,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
222
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
768,
768,
1
]
},
{
"id": 72,
"type": "CLIPTextEncodeFlux",
"pos": [
635.7671508789062,
-120.12781524658203
],
"size": [
219.3687286376953,
108
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 147,
"label": "clip"
},
{
"name": "t5xxl",
"type": "STRING",
"link": 199,
"widget": {
"name": "t5xxl"
},
"label": "t5xxl"
},
{
"name": "clip_l",
"type": "STRING",
"link": 200,
"widget": {
"name": "clip_l"
},
"label": "clip_l"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
208
],
"slot_index": 0,
"shape": 3,
"label": "CONDITIONING"
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeFlux"
},
"widgets_values": [
"",
"",
3.5
]
},
{
"id": 131,
"type": "CLIPTextEncodeFlux",
"pos": [
897.7671508789062,
-151.12783813476562
],
"size": [
222.8309326171875,
160
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 210,
"label": "clip"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
209
],
"slot_index": 0,
"shape": 3,
"label": "CONDITIONING"
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeFlux"
},
"widgets_values": [
"",
"bad,ugly,deformed",
3.5
]
},
{
"id": 87,
"type": "Reroute",
"pos": [
159.76731872558594,
-170.12783813476562
],
"size": [
75,
26
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 259,
"label": ""
}
],
"outputs": [
{
"name": "",
"type": "MODEL",
"links": [
148,
227
],
"slot_index": 0,
"label": ""
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
823.7671508789062,
283.8721923828125
],
"size": [
256.2611999511719,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
172
],
"slot_index": 0,
"shape": 3,
"label": "SAMPLER"
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 138,
"type": "GrowMaskWithBlur",
"pos": [
715.314453125,
-571.8499755859375
],
"size": [
315,
246
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 254,
"label": "mask"
}
],
"outputs": [
{
"name": "mask",
"type": "MASK",
"links": [
218,
219
],
"slot_index": 0,
"shape": 3,
"label": "mask"
},
{
"name": "mask_inverted",
"type": "MASK",
"links": null,
"shape": 3,
"label": "mask_inverted"
}
],
"properties": {
"Node name for S&R": "GrowMaskWithBlur"
},
"widgets_values": [
2,
0,
false,
false,
2,
1,
1,
false
]
},
{
"id": 144,
"type": "ImageCompositeMasked",
"pos": [
1607,
-460
],
"size": [
315,
146
],
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 252
},
{
"name": "source",
"type": "IMAGE",
"link": 232
},
{
"name": "mask",
"type": "MASK",
"link": 253,
"shape": 7
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
235
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
true
]
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": [
-765.1583251953125,
-25.78927993774414
],
"size": [
315,
106
],
"flags": {},
"order": 2,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [],
"slot_index": 0,
"shape": 3,
"label": "CLIP"
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux",
"default"
]
},
{
"id": 10,
"type": "VAELoader",
"pos": [
-758.1583251953125,
131.21072387695312
],
"size": [
305.9473876953125,
68.47245788574219
],
"flags": {},
"order": 3,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [],
"slot_index": 0,
"shape": 3,
"label": "VAE"
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 140,
"type": "Image Comparer (rgthree)",
"pos": [
1618,
306
],
"size": [
357.58453369140625,
424.3191223144531
],
"flags": {},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 257,
"dir": 3
},
{
"name": "image_b",
"type": "IMAGE",
"link": 258,
"dir": 3
}
],
"outputs": [],
"properties": {
"comparer_mode": "Slide"
},
"widgets_values": [
[
{
"name": "A",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_aiquf_00001_.png&type=temp&subfolder=&rand=0.7136088422570062"
},
{
"name": "B",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_aiquf_00002_.png&type=temp&subfolder=&rand=0.40638695219949295"
}
]
]
},
{
"id": 111,
"type": "ShowText|pysssss",
"pos": [
250.7672882080078,
517.8721923828125
],
"size": [
407.2326354980469,
219.7727508544922
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 180,
"widget": {
"name": "text"
},
"label": "text"
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [],
"slot_index": 0,
"shape": 6,
"label": "STRING"
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
[
"The image depicts a scene from the anime series Dragon Ball Z, with the characters Goku, Elon Musk, and a child version of Gohan sharing a meal of ramen noodles. They are all sitting around a dining table, with Goku and Gohan on one side and Naruto on the other. They are all holding chopsticks and eating the noodles. The table is set with bowls of ramen, cups, and bowls of drinks. The arrangement of the characters and the food creates a sense of camaraderie and shared enjoyment of the meal."
],
"The image depicts a beautiful young woman sitting at a desk, reading a book. She has long, wavy brown hair and is wearing a grey shirt with a black cardigan. She is holding a red pencil in her left hand and appears to be deep in thought. Surrounding her are numerous books, some stacked on the desk and others placed on a shelf behind her. A potted plant is also visible in the background, adding a touch of greenery to the scene. The image conveys a sense of serenity and intellectual pursuits."
]
},
{
"id": 124,
"type": "Text Concatenate (JPS)",
"pos": [
314,
-127
],
"size": [
219.5895233154297,
138
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "text1",
"type": "STRING",
"link": null,
"widget": {
"name": "text1"
},
"label": "text1"
},
{
"name": "text2",
"type": "STRING",
"link": null,
"widget": {
"name": "text2"
},
"label": "text2"
},
{
"name": "text3",
"type": "STRING",
"link": null,
"widget": {
"name": "text3"
},
"label": "text3"
},
{
"name": "text4",
"type": "STRING",
"link": null,
"widget": {
"name": "text4"
},
"label": "text4"
},
{
"name": "text5",
"type": "STRING",
"link": null,
"widget": {
"name": "text5"
},
"label": "text5"
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
198
],
"slot_index": 0,
"shape": 3,
"label": "text"
}
],
"properties": {
"Node name for S&R": "Text Concatenate (JPS)"
},
"widgets_values": [
"comma",
"",
"",
"",
"",
""
]
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
825.7671508789062,
409.8721923828125
],
"size": [
315,
106
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 148,
"slot_index": 0,
"label": "model"
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
],
"shape": 3,
"label": "SIGMAS"
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"normal",
28,
1
]
},
{
"id": 149,
"type": "PreviewImage",
"pos": [
670,
-892
],
"size": [
408.4986267089844,
246
],
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 240,
"label": "images"
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
-759.1583251953125,
-158.789306640625
],
"size": [
308.9964904785156,
83.4256591796875
],
"flags": {},
"order": 5,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [],
"slot_index": 0,
"shape": 3,
"label": "MODEL"
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-dev-fp8.safetensors",
"fp8_e4m3fn"
]
},
{
"id": 128,
"type": "ControlNetInpaintingAliMamaApply",
"pos": [
1080,
-538
],
"size": [
403.1999816894531,
206
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 208,
"label": "positive"
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 209,
"label": "negative"
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 247,
"label": "control_net"
},
{
"name": "vae",
"type": "VAE",
"link": 207,
"label": "vae"
},
{
"name": "image",
"type": "IMAGE",
"link": 255,
"label": "image"
},
{
"name": "mask",
"type": "MASK",
"link": 218,
"label": "mask"
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
230
],
"slot_index": 0,
"shape": 3,
"label": "positive"
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
229
],
"slot_index": 1,
"shape": 3,
"label": "negative"
}
],
"properties": {
"Node name for S&R": "ControlNetInpaintingAliMamaApply"
},
"widgets_values": [
0.9,
0,
1
]
},
{
"id": 141,
"type": "CFGGuider",
"pos": [
1194.839599609375,
-164.75381469726562
],
"size": [
315,
98
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 227
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 230
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 229
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
228
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CFGGuider"
},
"widgets_values": [
3.5
]
},
{
"id": 35,
"type": "StringFunction|pysssss",
"pos": [
234,
72
],
"size": [
438.01171875,
381.4057922363281
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "text_c",
"type": "STRING",
"link": 198,
"widget": {
"name": "text_c"
},
"label": "text_c"
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
180,
199,
200
],
"slot_index": 0,
"shape": 3,
"label": "STRING"
}
],
"properties": {
"Node name for S&R": "StringFunction|pysssss"
},
"widgets_values": [
"append",
"no",
"The image depicts a beautiful young woman sitting at a desk, reading a book. She has long, wavy brown hair and is wearing a grey shirt with a black cardigan. She is holding a red pencil in her left hand and appears to be deep in thought. Surrounding her are numerous books, some stacked on the desk and others placed on a shelf behind her. A potted plant is also visible in the background, adding a touch of greenery to the scene. The image conveys a sense of serenity and intellectual pursuits.",
"",
"",
"The image depicts a beautiful young woman sitting at a desk, reading a book. She has long, wavy brown hair and is wearing a grey shirt with a black cardigan. She is holding a red pencil in her left hand and appears to be deep in thought. Surrounding her are numerous books, some stacked on the desk and others placed on a shelf behind her. A potted plant is also visible in the background, adding a touch of greenery to the scene. The image conveys a sense of serenity and intellectual pursuits."
]
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
1206.2874755859375,
-44.936370849609375
],
"size": [
266.6016845703125,
326
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 174,
"slot_index": 0,
"label": "noise"
},
{
"name": "guider",
"type": "GUIDER",
"link": 228,
"slot_index": 1,
"label": "guider"
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 172,
"slot_index": 2,
"label": "sampler"
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 20,
"slot_index": 3,
"label": "sigmas"
},
{
"name": "latent_image",
"type": "LATENT",
"link": 222,
"slot_index": 4,
"label": "latent_image"
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
24
],
"slot_index": 0,
"shape": 3,
"label": "output"
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3,
"label": "denoised_output"
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 134,
"type": "MaskToImage",
"pos": [
293.1459655761719,
-878.2982177734375
],
"size": [
176.39999389648438,
29.597196578979492
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 219,
"label": "mask"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
241
],
"slot_index": 0,
"shape": 3,
"label": "IMAGE"
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 145,
"type": "PreviewImage",
"pos": [
2022.2503662109375,
299.07696533203125
],
"size": [
434.4592590332031,
423.6662292480469
],
"flags": {},
"order": 37,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 235,
"label": "images"
}
],
"outputs": [],
"title": "Compose",
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1513.767333984375,
140.87216186523438
],
"size": [
210,
46
],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24,
"label": "samples"
},
{
"name": "vae",
"type": "VAE",
"link": 151,
"label": "vae"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
127,
232,
258
],
"slot_index": 0,
"label": "IMAGE"
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 158,
"type": "LoadImageFromUrl",
"pos": [
242.51055908203125,
-787.9491577148438
],
"size": [
340.3285217285156,
503.4264831542969
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
250,
252,
255,
257
],
"slot_index": 0,
"shape": 6
},
{
"name": "masks",
"type": "MASK",
"links": [
251,
253,
254
],
"slot_index": 1,
"shape": 6
},
{
"name": "has_image",
"type": "BOOLEAN",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImageFromUrl"
},
"widgets_values": {
"image": "https://raw.githubusercontent.com/pollockjj/ComfyUI-MultiGPU/dev/assets/test_images/example_inpaint_MultiGPU.png",
"keep_alpha_channel": false,
"output_mode": false,
"choose image to upload": "image"
}
},
{
"id": 148,
"type": "ImageCompositeMasked",
"pos": [
1103.3099365234375,
-864.6226196289062
],
"size": [
315,
146
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 250
},
{
"name": "source",
"type": "IMAGE",
"link": 241
},
{
"name": "mask",
"type": "MASK",
"link": 251,
"shape": 7
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
240
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 133,
"type": "ControlNetLoader",
"pos": [
-357.3689880371094,
-514.8705444335938
],
"size": [
354.49285888671875,
66.2697525024414
],
"flags": {},
"order": 7,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [],
"slot_index": 0,
"shape": 3,
"label": "CONTROL_NET"
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"cn-inpaint-alpha.safetensors"
]
},
{
"id": 130,
"type": "LoadImage",
"pos": [
249.4192657470703,
-1287.3426513671875
],
"size": [
210,
314
],
"flags": {},
"order": 8,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"slot_index": 0,
"shape": 3,
"label": "IMAGE"
},
{
"name": "MASK",
"type": "MASK",
"links": [],
"slot_index": 1,
"shape": 3,
"label": "MASK"
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"example_inpaint (1).png",
"image"
]
},
{
"id": 155,
"type": "VAELoaderMultiGPU",
"pos": [
-331.2371520996094,
145.98760986328125
],
"size": [
315,
82
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
246
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoaderMultiGPU"
},
"widgets_values": [
"ae.safetensors",
"cpu"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 76,
"type": "SaveImage",
"pos": [
1212,
300
],
"size": [
367.42144775390625,
406.4285888671875
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 127,
"label": "images"
}
],
"outputs": [],
"title": "Model Output",
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 157,
"type": "DeviceSelectorMultiGPU",
"pos": [
-753.5366821289062,
-369.59674072265625
],
"size": [
315,
58
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "device",
"type": "COMBO",
"links": [
248,
249,
260
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DeviceSelectorMultiGPU"
},
"widgets_values": [
"cuda:0"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 161,
"type": "UnetLoaderGGUFMultiGPU",
"pos": [
-338.5650939941406,
-176.5059814453125
],
"size": [
315,
82
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "device",
"type": "COMBO",
"link": 260,
"widget": {
"name": "device"
},
"shape": 7
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
259
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UnetLoaderGGUFMultiGPU"
},
"widgets_values": [
"flux1-dev-Q2_K.gguf",
"cuda:0"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 153,
"type": "UNETLoaderMultiGPU",
"pos": [
-769.8582763671875,
287.21417236328125
],
"size": [
315,
106
],
"flags": {},
"order": 19,
"mode": 4,
"inputs": [
{
"name": "device",
"type": "COMBO",
"link": 249,
"widget": {
"name": "device"
},
"shape": 7
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoaderMultiGPU"
},
"widgets_values": [
"flux1-dev-fp8.safetensors",
"fp8_e4m3fn",
"cuda:1"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 156,
"type": "ControlNetLoaderMultiGPU",
"pos": [
-348.0879821777344,
-381.69091796875
],
"size": [
346.8614501953125,
82
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "device",
"type": "COMBO",
"link": 248,
"widget": {
"name": "device"
},
"shape": 7
}
],
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
247
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoaderMultiGPU"
},
"widgets_values": [
"cn-inpaint-alpha.safetensors",
"cuda:1"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 162,
"type": "DualCLIPLoaderGGUFMultiGPU",
"pos": [
-343.19244384765625,
-42.44999313354492
],
"size": [
327.5999755859375,
130
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
261
],
"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",
"cpu"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 154,
"type": "DualCLIPLoaderMultiGPU",
"pos": [
-768.2605590820312,
441.2303466796875
],
"size": [
315,
130
],
"flags": {},
"order": 12,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderMultiGPU"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux",
"cpu"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
825.7671508789062,
134.8721466064453
],
"size": [
290.9759216308594,
82
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
174
],
"shape": 3,
"label": "NOISE"
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
5770521,
"fixed"
]
},
{
"id": 160,
"type": "Note",
"pos": [
-760.862060546875,
-731.6756591796875
],
"size": [
370.59625244140625,
270.3796081542969
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"This workflow shows how to use the DeviceSelectorMultiGPU node to link two loaders together to the same device, such as a model and controlnet.\n\n\nUses this model: https://huggingface.co/alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Alpha/tree/main (rename to cn-inpaint-alpha.safetensors and place in controlnet folder."
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
20,
17,
0,
13,
3,
"SIGMAS"
],
[
24,
13,
0,
8,
0,
"LATENT"
],
[
127,
8,
0,
76,
0,
"IMAGE"
],
[
147,
88,
0,
72,
0,
"CLIP"
],
[
148,
87,
0,
17,
0,
"MODEL"
],
[
151,
89,
0,
8,
1,
"VAE"
],
[
172,
16,
0,
13,
2,
"SAMPLER"
],
[
174,
25,
0,
13,
0,
"NOISE"
],
[
180,
35,
0,
111,
0,
"STRING"
],
[
198,
124,
0,
35,
0,
"STRING"
],
[
199,
35,
0,
72,
1,
"STRING"
],
[
200,
35,
0,
72,
2,
"STRING"
],
[
207,
89,
0,
128,
3,
"VAE"
],
[
208,
72,
0,
128,
0,
"CONDITIONING"
],
[
209,
131,
0,
128,
1,
"CONDITIONING"
],
[
210,
88,
0,
131,
0,
"CLIP"
],
[
218,
138,
0,
128,
5,
"MASK"
],
[
219,
138,
0,
134,
0,
"MASK"
],
[
222,
139,
0,
13,
4,
"LATENT"
],
[
227,
87,
0,
141,
0,
"MODEL"
],
[
228,
141,
0,
13,
1,
"GUIDER"
],
[
229,
128,
1,
141,
2,
"CONDITIONING"
],
[
230,
128,
0,
141,
1,
"CONDITIONING"
],
[
232,
8,
0,
144,
1,
"IMAGE"
],
[
235,
144,
0,
145,
0,
"IMAGE"
],
[
240,
148,
0,
149,
0,
"IMAGE"
],
[
241,
134,
0,
148,
1,
"IMAGE"
],
[
246,
155,
0,
89,
0,
"*"
],
[
247,
156,
0,
128,
2,
"CONTROL_NET"
],
[
248,
157,
0,
156,
0,
"COMBO"
],
[
249,
157,
0,
153,
0,
"COMBO"
],
[
250,
158,
0,
148,
0,
"IMAGE"
],
[
251,
158,
1,
148,
2,
"MASK"
],
[
252,
158,
0,
144,
0,
"IMAGE"
],
[
253,
158,
1,
144,
2,
"MASK"
],
[
254,
158,
1,
138,
0,
"MASK"
],
[
255,
158,
0,
128,
4,
"IMAGE"
],
[
257,
158,
0,
140,
0,
"IMAGE"
],
[
258,
8,
0,
140,
1,
"IMAGE"
],
[
259,
161,
0,
87,
0,
"*"
],
[
260,
157,
0,
161,
0,
"COMBO"
],
[
261,
162,
0,
88,
0,
"*"
]
],
"groups": [
{
"id": 1,
"title": "AliMama Inpainting",
"bounding": [
214,
-963,
1341,
687
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "FLUX-Text2Image",
"bounding": [
146,
-241,
1747,
989
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Load Model",
"bounding": [
-785.1583251953125,
-253.7894287109375,
365,
491
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Load Model - MultiGPU",
"bounding": [
-361.6991271972656,
-260.1966552734375,
365,
491
],
"color": "#8AA",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.5989500000000829,
"offset": [
1537.7853104263077,
1078.5772276337652
]
},
"workspace_info": {
"id": "sSr80zkRsolLQHBh3oFSe",
"saveLock": false,
"cloudID": null,
"coverMediaPath": null
},
"0246.VERSION": [
0,
0,
4
],
"ue_links": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"node_versions": {
"comfy-core": "0.3.10",
"comfyui-kjnodes": "31cb7c1d14f86881ad34654a250d5e7682430fee",
"rgthree-comfy": "5d771b8b56a343c24a26e8cea1f0c87c3d58102f",
"ComfyUI-Universal-Styler": "bfe88489ff250a84bc25c210d84a58135f9a8a8f",
"ComfyUI_JPS-Nodes": "0e2a9aca02b17dde91577bfe4b65861df622dcaf",
"comfyui-custom-scripts": "dff506c7dea0e715f05518354f1f7e1986609703",
"comfyui-art-venture": "50abaace756b96f5f5dc2c9d72826ef371afd45e",
"ComfyUI-MultiGPU": "3814340e45a293075cdc2f1a27e6e2427c53671a"
}
},
"version": 0.4
}