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

1080 lines
17 KiB
JSON

{
"last_node_id": 42,
"last_link_id": 58,
"nodes": [
{
"id": 22,
"type": "BasicGuider",
"pos": [
430,
260
],
"size": {
"0": 310,
"1": 50
},
"flags": {},
"order": 12,
"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": 25,
"type": "RandomNoise",
"pos": [
440,
130
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
453986860834097,
"randomize"
]
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
801,
125
],
"size": {
"0": 398.79998779296875,
"1": 106
},
"flags": {},
"order": 14,
"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": 11,
"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": 13,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 42
},
{
"name": "vae",
"type": "VAE",
"link": 43
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
44
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 10,
"type": "VAELoader",
"pos": [
20,
438
],
"size": {
"0": 320,
"1": 60
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
12,
43
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.sft"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
420,
460
],
"size": {
"0": 360,
"1": 76
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 10
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
40
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"anime style"
]
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
415,
588
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 10,
"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": 11,
"type": "DualCLIPLoader",
"pos": [
20,
280
],
"size": {
"0": 354.42767333984375,
"1": 106
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux"
]
},
{
"id": 34,
"type": "VAEEncode",
"pos": [
1589.1283196678291,
127.44446247137648
],
"size": {
"0": 274.20001220703125,
"1": 46
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 47
},
{
"name": "vae",
"type": "VAE",
"link": 48
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
51
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 36,
"type": "CLIPTextEncodeSDXL",
"pos": [
1599,
252
],
"size": {
"0": 259.20001220703125,
"1": 287.2425537109375
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 49
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
52
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeSDXL"
},
"widgets_values": [
1024,
1024,
0,
0,
1024,
1024,
"anime style",
"anime style"
]
},
{
"id": 37,
"type": "CLIPTextEncodeSDXL",
"pos": [
1597,
585
],
"size": {
"0": 259.20001220703125,
"1": 287.2425537109375
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 50
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
53
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeSDXL"
},
"widgets_values": [
1024,
1024,
0,
0,
1024,
1024,
"",
""
]
},
{
"id": 39,
"type": "KSampler",
"pos": [
2089.016842205726,
292.69156397818193
],
"size": {
"0": 342.20404052734375,
"1": 262
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 54
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 52
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 53
},
{
"name": "latent_image",
"type": "LATENT",
"link": 51
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
55
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
269618494777953,
"randomize",
20,
4,
"dpmpp_2m_sde_gpu",
"karras",
0.6
]
},
{
"id": 35,
"type": "CheckpointLoaderMultiGPU",
"pos": [
1079,
-118
],
"size": {
"0": 388.79998779296875,
"1": 122
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
54
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
49,
50
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
48,
56
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderMultiGPU"
},
"widgets_values": [
"sd_xl_base_1.0.safetensors",
"cuda:1"
]
},
{
"id": 40,
"type": "VAEDecode",
"pos": [
2484.164708892737,
290.72275339468587
],
"size": {
"0": 274.20001220703125,
"1": 46
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 55
},
{
"name": "vae",
"type": "VAE",
"link": 56
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
57
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 41,
"type": "PreviewImage",
"pos": [
2909,
313
],
"size": {
"0": 337.3276672363281,
"1": 335.514892578125
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 57
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1263,
128
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
47,
58
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 31,
"type": "UNETLoaderMultiGPU",
"pos": [
-79,
113
],
"size": {
"0": 460.79998779296875,
"1": 106
},
"flags": {},
"order": 5,
"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": 26,
"type": "LoadImage",
"pos": [
23,
549
],
"size": {
"0": 315.010498046875,
"1": 576.2686767578125
},
"flags": {},
"order": 6,
"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"
]
},
{
"id": 42,
"type": "PreviewImage",
"pos": [
1141,
382
],
"size": {
"0": 337.3276672363281,
"1": 335.514892578125
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 58
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
10,
11,
0,
6,
0,
"CLIP"
],
[
12,
10,
0,
8,
1,
"VAE"
],
[
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"
],
[
43,
10,
0,
30,
1,
"VAE"
],
[
44,
30,
0,
13,
4,
"LATENT"
],
[
45,
31,
0,
22,
0,
"MODEL"
],
[
46,
31,
0,
17,
0,
"MODEL"
],
[
47,
8,
0,
34,
0,
"IMAGE"
],
[
48,
35,
2,
34,
1,
"VAE"
],
[
49,
35,
1,
36,
0,
"CLIP"
],
[
50,
35,
1,
37,
0,
"CLIP"
],
[
51,
34,
0,
39,
3,
"LATENT"
],
[
52,
36,
0,
39,
1,
"CONDITIONING"
],
[
53,
37,
0,
39,
2,
"CONDITIONING"
],
[
54,
35,
0,
39,
0,
"MODEL"
],
[
55,
39,
0,
40,
0,
"LATENT"
],
[
56,
35,
2,
40,
1,
"VAE"
],
[
57,
40,
0,
41,
0,
"IMAGE"
],
[
58,
8,
0,
42,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6830134553650712,
"offset": [
42.79059534698729,
134.923889147032
]
}
},
"version": 0.4
}