kythours commited on
Commit
6882c34
·
verified ·
1 Parent(s): c641bcd

Upload configs/custom_nodes/ComfyUI_Comfyroll_CustomNodes/workflows/Model Merge/CR_SimpleMultiModelMerge_demo1.json with huggingface_hub

Browse files
configs/custom_nodes/ComfyUI_Comfyroll_CustomNodes/workflows/Model Merge/CR_SimpleMultiModelMerge_demo1.json ADDED
@@ -0,0 +1,562 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 38,
3
+ "last_link_id": 53,
4
+ "nodes": [
5
+ {
6
+ "id": 10,
7
+ "type": "CheckpointSave",
8
+ "pos": [
9
+ 1240,
10
+ 720
11
+ ],
12
+ "size": {
13
+ "0": 310,
14
+ "1": 100
15
+ },
16
+ "flags": {},
17
+ "order": 9,
18
+ "mode": 0,
19
+ "inputs": [
20
+ {
21
+ "name": "model",
22
+ "type": "MODEL",
23
+ "link": 31
24
+ },
25
+ {
26
+ "name": "clip",
27
+ "type": "CLIP",
28
+ "link": 32
29
+ },
30
+ {
31
+ "name": "vae",
32
+ "type": "VAE",
33
+ "link": 13
34
+ }
35
+ ],
36
+ "title": "Checkpoint Save",
37
+ "properties": {
38
+ "Node name for S&R": "CheckpointSave"
39
+ },
40
+ "widgets_values": [
41
+ "MergeModels/Merge"
42
+ ]
43
+ },
44
+ {
45
+ "id": 21,
46
+ "type": "CR Apply LoRA Stack",
47
+ "pos": [
48
+ 940,
49
+ 680
50
+ ],
51
+ "size": {
52
+ "0": 210,
53
+ "1": 66
54
+ },
55
+ "flags": {},
56
+ "order": 7,
57
+ "mode": 0,
58
+ "inputs": [
59
+ {
60
+ "name": "model",
61
+ "type": "MODEL",
62
+ "link": 49
63
+ },
64
+ {
65
+ "name": "clip",
66
+ "type": "CLIP",
67
+ "link": 48
68
+ },
69
+ {
70
+ "name": "lora_stack",
71
+ "type": "LORA_STACK",
72
+ "link": 28
73
+ }
74
+ ],
75
+ "outputs": [
76
+ {
77
+ "name": "MODEL",
78
+ "type": "MODEL",
79
+ "links": [
80
+ 31
81
+ ],
82
+ "shape": 3,
83
+ "slot_index": 0
84
+ },
85
+ {
86
+ "name": "CLIP",
87
+ "type": "CLIP",
88
+ "links": [
89
+ 32
90
+ ],
91
+ "shape": 3,
92
+ "slot_index": 1
93
+ }
94
+ ],
95
+ "title": "Apply LoRA Stack",
96
+ "properties": {
97
+ "Node name for S&R": "CR Apply LoRA Stack"
98
+ },
99
+ "color": "#222",
100
+ "bgcolor": "#000"
101
+ },
102
+ {
103
+ "id": 25,
104
+ "type": "Save Text File",
105
+ "pos": [
106
+ 1240,
107
+ 870
108
+ ],
109
+ "size": {
110
+ "0": 310,
111
+ "1": 130
112
+ },
113
+ "flags": {},
114
+ "order": 8,
115
+ "mode": 0,
116
+ "inputs": [
117
+ {
118
+ "name": "text",
119
+ "type": "STRING",
120
+ "link": 51
121
+ }
122
+ ],
123
+ "properties": {
124
+ "Node name for S&R": "Save Text File"
125
+ },
126
+ "widgets_values": [
127
+ "./ComfyUI/output/MergeModels/[time(%Y-%m-%d)]",
128
+ "MergeInfo",
129
+ "_",
130
+ 4,
131
+ 4
132
+ ]
133
+ },
134
+ {
135
+ "id": 20,
136
+ "type": "CR LoRA Stack",
137
+ "pos": [
138
+ 1050,
139
+ 250
140
+ ],
141
+ "size": {
142
+ "0": 315,
143
+ "1": 322
144
+ },
145
+ "flags": {},
146
+ "order": 4,
147
+ "mode": 0,
148
+ "inputs": [
149
+ {
150
+ "name": "lora_stack",
151
+ "type": "LORA_STACK",
152
+ "link": 27
153
+ }
154
+ ],
155
+ "outputs": [
156
+ {
157
+ "name": "LORA_STACK",
158
+ "type": "LORA_STACK",
159
+ "links": [
160
+ 28
161
+ ],
162
+ "shape": 3,
163
+ "slot_index": 0
164
+ }
165
+ ],
166
+ "title": "LoRA Stack",
167
+ "properties": {
168
+ "Node name for S&R": "CR LoRA Stack"
169
+ },
170
+ "widgets_values": [
171
+ "Off",
172
+ "None",
173
+ 1,
174
+ 1,
175
+ "Off",
176
+ "None",
177
+ 1,
178
+ 1,
179
+ "Off",
180
+ "SD1_5\\ArknightsDusk_10.safetensors",
181
+ 1,
182
+ 1
183
+ ],
184
+ "color": "#222",
185
+ "bgcolor": "#000"
186
+ },
187
+ {
188
+ "id": 31,
189
+ "type": "CR Apply Model Merge",
190
+ "pos": [
191
+ 540,
192
+ 680
193
+ ],
194
+ "size": {
195
+ "0": 330,
196
+ "1": 146
197
+ },
198
+ "flags": {},
199
+ "order": 6,
200
+ "mode": 0,
201
+ "inputs": [
202
+ {
203
+ "name": "model_stack",
204
+ "type": "MODEL_STACK",
205
+ "link": 52
206
+ }
207
+ ],
208
+ "outputs": [
209
+ {
210
+ "name": "MODEL",
211
+ "type": "MODEL",
212
+ "links": [
213
+ 49
214
+ ],
215
+ "shape": 3,
216
+ "slot_index": 0
217
+ },
218
+ {
219
+ "name": "CLIP",
220
+ "type": "CLIP",
221
+ "links": [
222
+ 48
223
+ ],
224
+ "shape": 3,
225
+ "slot_index": 1
226
+ },
227
+ {
228
+ "name": "model_mix_info",
229
+ "type": "STRING",
230
+ "links": [
231
+ 51
232
+ ],
233
+ "shape": 3,
234
+ "slot_index": 2
235
+ }
236
+ ],
237
+ "properties": {
238
+ "Node name for S&R": "CR Apply Model Merge"
239
+ },
240
+ "widgets_values": [
241
+ "Recursive",
242
+ "Yes",
243
+ 1
244
+ ],
245
+ "color": "#222",
246
+ "bgcolor": "#000"
247
+ },
248
+ {
249
+ "id": 34,
250
+ "type": "Note",
251
+ "pos": [
252
+ -100,
253
+ 650
254
+ ],
255
+ "size": {
256
+ "0": 270,
257
+ "1": 150
258
+ },
259
+ "flags": {},
260
+ "order": 3,
261
+ "mode": 0,
262
+ "title": "Gradients",
263
+ "properties": {
264
+ "text": ""
265
+ },
266
+ "widgets_values": [
267
+ "Model and CLIP ratios should add up to 1.0.\n\nIf normalise_ratios is on Yes, then the total ratios may be more or less than 1. The model merge will automatically normalise the ratios.\n\n"
268
+ ],
269
+ "color": "#233",
270
+ "bgcolor": "#355"
271
+ },
272
+ {
273
+ "id": 32,
274
+ "type": "CR Model Merge Stack",
275
+ "pos": [
276
+ -100,
277
+ 260
278
+ ],
279
+ "size": {
280
+ "0": 315,
281
+ "1": 322
282
+ },
283
+ "flags": {},
284
+ "order": 2,
285
+ "mode": 0,
286
+ "inputs": [
287
+ {
288
+ "name": "model_stack",
289
+ "type": "MODEL_STACK",
290
+ "link": null
291
+ }
292
+ ],
293
+ "outputs": [
294
+ {
295
+ "name": "MODEL_STACK",
296
+ "type": "MODEL_STACK",
297
+ "links": [
298
+ 53
299
+ ],
300
+ "shape": 3,
301
+ "slot_index": 0
302
+ }
303
+ ],
304
+ "properties": {
305
+ "Node name for S&R": "CR Model Merge Stack"
306
+ },
307
+ "widgets_values": [
308
+ "On",
309
+ "SD1_5\\ComfyrollAnime_v1_fp16_pruned.safetensors",
310
+ 0.33,
311
+ 0.33,
312
+ "On",
313
+ "SD1_5\\7th_anime_v3_A.safetensors",
314
+ 0.33,
315
+ 0.33,
316
+ "Off",
317
+ "None",
318
+ 1,
319
+ 1
320
+ ],
321
+ "color": "#222",
322
+ "bgcolor": "#000"
323
+ },
324
+ {
325
+ "id": 33,
326
+ "type": "CR Model Merge Stack",
327
+ "pos": [
328
+ 250,
329
+ 260
330
+ ],
331
+ "size": {
332
+ "0": 315,
333
+ "1": 322
334
+ },
335
+ "flags": {},
336
+ "order": 5,
337
+ "mode": 0,
338
+ "inputs": [
339
+ {
340
+ "name": "model_stack",
341
+ "type": "MODEL_STACK",
342
+ "link": 53
343
+ }
344
+ ],
345
+ "outputs": [
346
+ {
347
+ "name": "MODEL_STACK",
348
+ "type": "MODEL_STACK",
349
+ "links": [
350
+ 52
351
+ ],
352
+ "shape": 3,
353
+ "slot_index": 0
354
+ }
355
+ ],
356
+ "properties": {
357
+ "Node name for S&R": "CR Model Merge Stack"
358
+ },
359
+ "widgets_values": [
360
+ "On",
361
+ "SD1_5\\mixProV4_v4.safetensors",
362
+ 0.33,
363
+ 0.33,
364
+ "Off",
365
+ "None",
366
+ 1,
367
+ 1,
368
+ "Off",
369
+ "SD1_5\\mixproyuki77mi_v10.safetensors",
370
+ 1,
371
+ 1
372
+ ],
373
+ "color": "#222",
374
+ "bgcolor": "#000"
375
+ },
376
+ {
377
+ "id": 19,
378
+ "type": "CR LoRA Stack",
379
+ "pos": [
380
+ 700,
381
+ 250
382
+ ],
383
+ "size": {
384
+ "0": 315,
385
+ "1": 322
386
+ },
387
+ "flags": {},
388
+ "order": 0,
389
+ "mode": 0,
390
+ "inputs": [
391
+ {
392
+ "name": "lora_stack",
393
+ "type": "LORA_STACK",
394
+ "link": null
395
+ }
396
+ ],
397
+ "outputs": [
398
+ {
399
+ "name": "LORA_STACK",
400
+ "type": "LORA_STACK",
401
+ "links": [
402
+ 27
403
+ ],
404
+ "shape": 3,
405
+ "slot_index": 0
406
+ }
407
+ ],
408
+ "title": "LoRA Stack",
409
+ "properties": {
410
+ "Node name for S&R": "CR LoRA Stack"
411
+ },
412
+ "widgets_values": [
413
+ "Off",
414
+ "SD1_5\\add_detail.safetensors",
415
+ 0.2,
416
+ 0.2,
417
+ "Off",
418
+ "None",
419
+ 1,
420
+ 1,
421
+ "Off",
422
+ "SD1_5\\ArknightsNian_20.safetensors",
423
+ 1,
424
+ 1
425
+ ],
426
+ "color": "#222",
427
+ "bgcolor": "#000"
428
+ },
429
+ {
430
+ "id": 12,
431
+ "type": "VAELoader",
432
+ "pos": [
433
+ 730,
434
+ 890
435
+ ],
436
+ "size": {
437
+ "0": 315,
438
+ "1": 58
439
+ },
440
+ "flags": {},
441
+ "order": 1,
442
+ "mode": 0,
443
+ "outputs": [
444
+ {
445
+ "name": "VAE",
446
+ "type": "VAE",
447
+ "links": [
448
+ 13
449
+ ],
450
+ "shape": 3,
451
+ "slot_index": 0
452
+ }
453
+ ],
454
+ "properties": {
455
+ "Node name for S&R": "VAELoader"
456
+ },
457
+ "widgets_values": [
458
+ "vae-ft-mse-840000-ema-pruned.safetensors"
459
+ ],
460
+ "color": "#222",
461
+ "bgcolor": "#000"
462
+ }
463
+ ],
464
+ "links": [
465
+ [
466
+ 13,
467
+ 12,
468
+ 0,
469
+ 10,
470
+ 2,
471
+ "VAE"
472
+ ],
473
+ [
474
+ 27,
475
+ 19,
476
+ 0,
477
+ 20,
478
+ 0,
479
+ "LORA_STACK"
480
+ ],
481
+ [
482
+ 28,
483
+ 20,
484
+ 0,
485
+ 21,
486
+ 2,
487
+ "LORA_STACK"
488
+ ],
489
+ [
490
+ 31,
491
+ 21,
492
+ 0,
493
+ 10,
494
+ 0,
495
+ "MODEL"
496
+ ],
497
+ [
498
+ 32,
499
+ 21,
500
+ 1,
501
+ 10,
502
+ 1,
503
+ "CLIP"
504
+ ],
505
+ [
506
+ 48,
507
+ 31,
508
+ 1,
509
+ 21,
510
+ 1,
511
+ "CLIP"
512
+ ],
513
+ [
514
+ 49,
515
+ 31,
516
+ 0,
517
+ 21,
518
+ 0,
519
+ "MODEL"
520
+ ],
521
+ [
522
+ 51,
523
+ 31,
524
+ 2,
525
+ 25,
526
+ 0,
527
+ "STRING"
528
+ ],
529
+ [
530
+ 52,
531
+ 33,
532
+ 0,
533
+ 31,
534
+ 0,
535
+ "MODEL_STACK"
536
+ ],
537
+ [
538
+ 53,
539
+ 32,
540
+ 0,
541
+ 33,
542
+ 0,
543
+ "MODEL_STACK"
544
+ ]
545
+ ],
546
+ "groups": [
547
+ {
548
+ "title": "Stacked Model Merge Template (SDXL and 1.5)",
549
+ "bounding": [
550
+ -158,
551
+ 154,
552
+ 1762,
553
+ 883
554
+ ],
555
+ "color": "#3f789e",
556
+ "locked": false
557
+ }
558
+ ],
559
+ "config": {},
560
+ "extra": {},
561
+ "version": 0.4
562
+ }