Files
pollockjj-ComfyUI-MultiGPU/examples/flux1dev_2gpu.json
T
2024-08-04 19:36:59 +03:00

684 lines
11 KiB
JSON

{
"last_node_id": 33,
"last_link_id": 49,
"nodes": [
{
"id": 22,
"type": "BasicGuider",
"pos": [
430,
260
],
"size": {
"0": 310,
"1": 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
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BasicGuider"
}
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
430,
350
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
801,
125
],
"size": {
"0": 398.79998779296875,
"1": 106
},
"flags": {},
"order": 11,
"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": 44,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
24
],
"shape": 3,
"slot_index": 0
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
}
},
{
"id": 29,
"type": "ImageScaleToTotalPixels",
"pos": [
411,
746
],
"size": {
"0": 331.20001220703125,
"1": 82
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 41
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
42
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"lanczos",
1
]
},
{
"id": 30,
"type": "VAEEncode",
"pos": [
414,
877
],
"size": {
"0": 320,
"1": 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
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
415,
588
],
"size": {
"0": 315,
"1": 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": {
"0": 210,
"1": 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"
}
},
{
"id": 31,
"type": "UNETLoaderMultiGPU",
"pos": [
-148,
76
],
"size": [
460.79998779296875,
106
],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
45,
46
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoaderMultiGPU"
},
"widgets_values": [
"flux1-dev.sft",
"default",
"cuda:0"
]
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
433,
136
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
473885017584082,
"randomize"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
926,
320
],
"size": [
524.9972616324117,
430.6680268646438
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 33,
"type": "VAELoaderMultiGPU",
"pos": [
-141,
406
],
"size": [
450.23979673373015,
82
],
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
48,
49
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoaderMultiGPU"
},
"widgets_values": [
"ae.sft",
"cuda:1"
]
},
{
"id": 32,
"type": "DualCLIPLoaderMultiGPU",
"pos": [
-145,
230
],
"size": [
456.34703123080044,
130
],
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
47
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoaderMultiGPU"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux",
"cuda:1"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
428,
456
],
"size": [
360,
76
],
"flags": {},
"order": 7,
"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": 26,
"type": "LoadImage",
"pos": [
-11,
538
],
"size": {
"0": 315.010498046875,
"1": 576.2686767578125
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
41
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"00061-272637944.jpeg",
"image"
]
}
],
"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"
],
[
40,
6,
0,
22,
1,
"CONDITIONING"
],
[
41,
26,
0,
29,
0,
"IMAGE"
],
[
42,
29,
0,
30,
0,
"IMAGE"
],
[
44,
30,
0,
13,
4,
"LATENT"
],
[
45,
31,
0,
22,
0,
"MODEL"
],
[
46,
31,
0,
17,
0,
"MODEL"
],
[
47,
32,
0,
6,
0,
"CLIP"
],
[
48,
33,
0,
8,
1,
"VAE"
],
[
49,
33,
0,
30,
1,
"VAE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8264462809917356,
"offset": [
271.1403171261334,
-73.72506322816923
]
}
},
"version": 0.4
}