-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlaunch.json
More file actions
115 lines (115 loc) · 4.15 KB
/
launch.json
File metadata and controls
115 lines (115 loc) · 4.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "2.0.0",
"configurations": [
{
"name": "Debug Comfy",
"type": "debugpy",
"request": "launch",
"program": "main.py",
"console": "integratedTerminal",
"args": [
"--listen",
"0.0.0.0"
]
},
{
"name": "Cluster LEADER",
"type": "python",
"request": "launch",
"program": "main.py",
"console": "integratedTerminal",
"args": [
"--listen",
"0.0.0.0",
"--port",
"8189"
],
"env": {
"COMFY_CLUSTER_UDP_BROADCAST": "true",
"COMFY_CLUSTER_INSTANCE_COUNT": "4",
"COMFY_CLUSTER_INSTANCE_INDEX": "0",
"COMFY_CLUSTER_ROLE": "LEADER",
"COMFY_CLUSTER_SINGLE_HOST": "true",
"COMFY_CLUSTER_BROADCAST_PORT": "9997",
"COMFY_CLUSTER_DIRECT_LISTEN_PORT": "9998",
"COMFY_CLUSTER_COMFY_PORT": "8189",
"COMFY_CLUSTER_UDP_HOSTNAMES": "127.0.0.1:9998, 127.0.0.1:9999, 127.0.0.1:10000, 127.0.0.1:10001"
}
},
{
"name": "Cluster FOLLOWER 1",
"type": "python",
"request": "launch",
"program": "main.py",
"console": "integratedTerminal",
"args": [
"--listen",
"0.0.0.0",
"--port",
"8190"
],
"env": {
"COMFY_CLUSTER_UDP_BROADCAST": "true",
"COMFY_CLUSTER_INSTANCE_COUNT": "4",
"COMFY_CLUSTER_INSTANCE_INDEX": "1",
"COMFY_CLUSTER_ROLE": "FOLLOWER",
"COMFY_CLUSTER_SINGLE_HOST": "true",
"COMFY_CLUSTER_BROADCAST_PORT": "9997",
"COMFY_CLUSTER_DIRECT_LISTEN_PORT": "9999",
"COMFY_CLUSTER_COMFY_PORT": "8190",
"COMFY_CLUSTER_UDP_HOSTNAMES": "127.0.0.1:9998, 127.0.0.1:9999, 127.0.0.1:10000, 127.0.0.1:10001"
}
},
{
"name": "Cluster FOLLOWER 2",
"type": "python",
"request": "launch",
"program": "main.py",
"console": "integratedTerminal",
"args": [
"--listen",
"0.0.0.0",
"--port",
"8191"
],
"env": {
"COMFY_CLUSTER_UDP_BROADCAST": "true",
"COMFY_CLUSTER_INSTANCE_COUNT": "4",
"COMFY_CLUSTER_INSTANCE_INDEX": "2",
"COMFY_CLUSTER_ROLE": "FOLLOWER",
"COMFY_CLUSTER_SINGLE_HOST": "true",
"COMFY_CLUSTER_BROADCAST_PORT": "9997",
"COMFY_CLUSTER_DIRECT_LISTEN_PORT": "10000",
"COMFY_CLUSTER_COMFY_PORT": "8191",
"COMFY_CLUSTER_UDP_HOSTNAMES": "127.0.0.1:9998, 127.0.0.1:9999, 127.0.0.1:10000, 127.0.0.1:10001"
}
},
{
"name": "Cluster FOLLOWER 3",
"type": "python",
"request": "launch",
"program": "main.py",
"console": "integratedTerminal",
"args": [
"--listen",
"0.0.0.0",
"--port",
"8192"
],
"env": {
"COMFY_CLUSTER_UDP_BROADCAST": "true",
"COMFY_CLUSTER_INSTANCE_COUNT": "4",
"COMFY_CLUSTER_INSTANCE_INDEX": "3",
"COMFY_CLUSTER_ROLE": "FOLLOWER",
"COMFY_CLUSTER_SINGLE_HOST": "true",
"COMFY_CLUSTER_BROADCAST_PORT": "9997",
"COMFY_CLUSTER_DIRECT_LISTEN_PORT": "10001",
"COMFY_CLUSTER_COMFY_PORT": "8192",
"COMFY_CLUSTER_UDP_HOSTNAMES": "127.0.0.1:9998, 127.0.0.1:9999, 127.0.0.1:10000, 127.0.0.1:10001"
}
}
],
}