dverdu-freepik commited on
Commit
8ac7e9f
1 Parent(s): e07acca

feat: Update README.md

Browse files
README.md CHANGED
@@ -64,14 +64,17 @@ with torch.inference_mode():
64
  generator=torch.Generator(device="cpu").manual_seed(seed),
65
  num_inference_steps=n_steps,
66
  guidance_scale=guidance_scale,
67
- height=1024,
68
  width=1024,
69
  ).images[0]
70
  image.save("output.png")
71
  ```
72
 
73
- ## Checkpoints
 
 
74
 
 
75
  * `flux.1-lite-8B-alpha.safetensors`: Transformer checkpoint, in Flux original format.
76
  * `transformers/`: Contains distilled 8B transformer model, in diffusers format.
77
 
 
64
  generator=torch.Generator(device="cpu").manual_seed(seed),
65
  num_inference_steps=n_steps,
66
  guidance_scale=guidance_scale,
67
+ height=1024,s
68
  width=1024,
69
  ).images[0]
70
  image.save("output.png")
71
  ```
72
 
73
+ ## ComfyUI
74
+ We also provided a ComfyUI workflow in `comfy/flux.1-lite_workflow.json`
75
+ ![ComfyUI workflow](./comfy/flux.1-lite_workflow.png)
76
 
77
+ ## Checkpoints
78
  * `flux.1-lite-8B-alpha.safetensors`: Transformer checkpoint, in Flux original format.
79
  * `transformers/`: Contains distilled 8B transformer model, in diffusers format.
80
 
comfy/flux.1-lite_workflow.json ADDED
@@ -0,0 +1,652 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 "0": -497,
10
+ "1": 351
11
+ },
12
+ "size": {
13
+ "0": 320,
14
+ "1": 110
15
+ },
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "CLIP",
23
+ "type": "CLIP",
24
+ "links": [
25
+ 43
26
+ ],
27
+ "slot_index": 0,
28
+ "shape": 3
29
+ }
30
+ ],
31
+ "properties": {
32
+ "Node name for S&R": "DualCLIPLoader"
33
+ },
34
+ "widgets_values": [
35
+ "SD3/t5xll_fp16.safetensors",
36
+ "SD3/clip_l.safetensors",
37
+ "flux"
38
+ ]
39
+ },
40
+ {
41
+ "id": 16,
42
+ "type": "KSamplerSelect",
43
+ "pos": {
44
+ "0": 390,
45
+ "1": 330
46
+ },
47
+ "size": {
48
+ "0": 210,
49
+ "1": 58
50
+ },
51
+ "flags": {},
52
+ "order": 1,
53
+ "mode": 0,
54
+ "inputs": [],
55
+ "outputs": [
56
+ {
57
+ "name": "SAMPLER",
58
+ "type": "SAMPLER",
59
+ "links": [
60
+ 19
61
+ ],
62
+ "shape": 3
63
+ }
64
+ ],
65
+ "properties": {
66
+ "Node name for S&R": "KSamplerSelect"
67
+ },
68
+ "widgets_values": [
69
+ "euler"
70
+ ],
71
+ "color": "#432",
72
+ "bgcolor": "#653"
73
+ },
74
+ {
75
+ "id": 17,
76
+ "type": "BasicScheduler",
77
+ "pos": {
78
+ "0": 390,
79
+ "1": 430
80
+ },
81
+ "size": {
82
+ "0": 210,
83
+ "1": 106
84
+ },
85
+ "flags": {},
86
+ "order": 8,
87
+ "mode": 0,
88
+ "inputs": [
89
+ {
90
+ "name": "model",
91
+ "type": "MODEL",
92
+ "link": 38,
93
+ "slot_index": 0
94
+ }
95
+ ],
96
+ "outputs": [
97
+ {
98
+ "name": "SIGMAS",
99
+ "type": "SIGMAS",
100
+ "links": [
101
+ 20
102
+ ],
103
+ "shape": 3
104
+ }
105
+ ],
106
+ "properties": {
107
+ "Node name for S&R": "BasicScheduler"
108
+ },
109
+ "widgets_values": [
110
+ "simple",
111
+ 24,
112
+ 1
113
+ ],
114
+ "color": "#432",
115
+ "bgcolor": "#653"
116
+ },
117
+ {
118
+ "id": 25,
119
+ "type": "RandomNoise",
120
+ "pos": {
121
+ "0": 390,
122
+ "1": 580
123
+ },
124
+ "size": {
125
+ "0": 210.0858612060547,
126
+ "1": 82
127
+ },
128
+ "flags": {},
129
+ "order": 2,
130
+ "mode": 0,
131
+ "inputs": [],
132
+ "outputs": [
133
+ {
134
+ "name": "NOISE",
135
+ "type": "NOISE",
136
+ "links": [
137
+ 56
138
+ ],
139
+ "shape": 3
140
+ }
141
+ ],
142
+ "properties": {
143
+ "Node name for S&R": "RandomNoise"
144
+ },
145
+ "widgets_values": [
146
+ 1125899950349,
147
+ "increment"
148
+ ],
149
+ "color": "#432",
150
+ "bgcolor": "#653"
151
+ },
152
+ {
153
+ "id": 22,
154
+ "type": "BasicGuider",
155
+ "pos": {
156
+ "0": 390,
157
+ "1": 230
158
+ },
159
+ "size": {
160
+ "0": 210.91961669921875,
161
+ "1": 46
162
+ },
163
+ "flags": {},
164
+ "order": 9,
165
+ "mode": 0,
166
+ "inputs": [
167
+ {
168
+ "name": "model",
169
+ "type": "MODEL",
170
+ "link": 39,
171
+ "slot_index": 0
172
+ },
173
+ {
174
+ "name": "conditioning",
175
+ "type": "CONDITIONING",
176
+ "link": 55,
177
+ "slot_index": 1
178
+ }
179
+ ],
180
+ "outputs": [
181
+ {
182
+ "name": "GUIDER",
183
+ "type": "GUIDER",
184
+ "links": [
185
+ 30
186
+ ],
187
+ "slot_index": 0,
188
+ "shape": 3
189
+ }
190
+ ],
191
+ "properties": {
192
+ "Node name for S&R": "BasicGuider"
193
+ }
194
+ },
195
+ {
196
+ "id": 5,
197
+ "type": "EmptyLatentImage",
198
+ "pos": {
199
+ "0": 390,
200
+ "1": 710
201
+ },
202
+ "size": {
203
+ "0": 211.3397979736328,
204
+ "1": 106
205
+ },
206
+ "flags": {},
207
+ "order": 3,
208
+ "mode": 0,
209
+ "inputs": [],
210
+ "outputs": [
211
+ {
212
+ "name": "LATENT",
213
+ "type": "LATENT",
214
+ "links": [
215
+ 62
216
+ ],
217
+ "slot_index": 0
218
+ }
219
+ ],
220
+ "properties": {
221
+ "Node name for S&R": "EmptyLatentImage"
222
+ },
223
+ "widgets_values": [
224
+ 1024,
225
+ 1024,
226
+ 1
227
+ ],
228
+ "color": "#323",
229
+ "bgcolor": "#535"
230
+ },
231
+ {
232
+ "id": 13,
233
+ "type": "SamplerCustomAdvanced",
234
+ "pos": {
235
+ "0": 701,
236
+ "1": 225
237
+ },
238
+ "size": {
239
+ "0": 320,
240
+ "1": 110
241
+ },
242
+ "flags": {},
243
+ "order": 10,
244
+ "mode": 0,
245
+ "inputs": [
246
+ {
247
+ "name": "noise",
248
+ "type": "NOISE",
249
+ "link": 56,
250
+ "slot_index": 0
251
+ },
252
+ {
253
+ "name": "guider",
254
+ "type": "GUIDER",
255
+ "link": 30,
256
+ "slot_index": 1
257
+ },
258
+ {
259
+ "name": "sampler",
260
+ "type": "SAMPLER",
261
+ "link": 19,
262
+ "slot_index": 2
263
+ },
264
+ {
265
+ "name": "sigmas",
266
+ "type": "SIGMAS",
267
+ "link": 20,
268
+ "slot_index": 3
269
+ },
270
+ {
271
+ "name": "latent_image",
272
+ "type": "LATENT",
273
+ "link": 62,
274
+ "slot_index": 4
275
+ }
276
+ ],
277
+ "outputs": [
278
+ {
279
+ "name": "output",
280
+ "type": "LATENT",
281
+ "links": [
282
+ 64
283
+ ],
284
+ "slot_index": 0,
285
+ "shape": 3
286
+ },
287
+ {
288
+ "name": "denoised_output",
289
+ "type": "LATENT",
290
+ "links": [],
291
+ "slot_index": 1,
292
+ "shape": 3
293
+ }
294
+ ],
295
+ "properties": {
296
+ "Node name for S&R": "SamplerCustomAdvanced"
297
+ }
298
+ },
299
+ {
300
+ "id": 8,
301
+ "type": "VAEDecode",
302
+ "pos": {
303
+ "0": 1108,
304
+ "1": 230
305
+ },
306
+ "size": {
307
+ "0": 320,
308
+ "1": 50
309
+ },
310
+ "flags": {},
311
+ "order": 11,
312
+ "mode": 0,
313
+ "inputs": [
314
+ {
315
+ "name": "samples",
316
+ "type": "LATENT",
317
+ "link": 64
318
+ },
319
+ {
320
+ "name": "vae",
321
+ "type": "VAE",
322
+ "link": 12
323
+ }
324
+ ],
325
+ "outputs": [
326
+ {
327
+ "name": "IMAGE",
328
+ "type": "IMAGE",
329
+ "links": [
330
+ 66
331
+ ],
332
+ "slot_index": 0
333
+ }
334
+ ],
335
+ "properties": {
336
+ "Node name for S&R": "VAEDecode"
337
+ }
338
+ },
339
+ {
340
+ "id": 44,
341
+ "type": "SaveImage",
342
+ "pos": {
343
+ "0": 1502,
344
+ "1": 230
345
+ },
346
+ "size": {
347
+ "0": 268.7469787597656,
348
+ "1": 270
349
+ },
350
+ "flags": {},
351
+ "order": 12,
352
+ "mode": 0,
353
+ "inputs": [
354
+ {
355
+ "name": "images",
356
+ "type": "IMAGE",
357
+ "link": 66
358
+ }
359
+ ],
360
+ "outputs": [],
361
+ "properties": {},
362
+ "widgets_values": [
363
+ "Flux-Lite-8B-Alpha/1"
364
+ ]
365
+ },
366
+ {
367
+ "id": 10,
368
+ "type": "VAELoader",
369
+ "pos": {
370
+ "0": 699,
371
+ "1": 389
372
+ },
373
+ "size": {
374
+ "0": 320,
375
+ "1": 60
376
+ },
377
+ "flags": {
378
+ "collapsed": false
379
+ },
380
+ "order": 4,
381
+ "mode": 0,
382
+ "inputs": [],
383
+ "outputs": [
384
+ {
385
+ "name": "VAE",
386
+ "type": "VAE",
387
+ "links": [
388
+ 12
389
+ ],
390
+ "slot_index": 0,
391
+ "shape": 3
392
+ }
393
+ ],
394
+ "properties": {
395
+ "Node name for S&R": "VAELoader"
396
+ },
397
+ "widgets_values": [
398
+ "flux/ae.sft"
399
+ ]
400
+ },
401
+ {
402
+ "id": 38,
403
+ "type": "PrimitiveNode",
404
+ "pos": {
405
+ "0": -387,
406
+ "1": 525
407
+ },
408
+ "size": {
409
+ "0": 210,
410
+ "1": 82
411
+ },
412
+ "flags": {},
413
+ "order": 5,
414
+ "mode": 0,
415
+ "inputs": [],
416
+ "outputs": [
417
+ {
418
+ "name": "FLOAT",
419
+ "type": "FLOAT",
420
+ "links": [
421
+ 54
422
+ ],
423
+ "slot_index": 0,
424
+ "widget": {
425
+ "name": "guidance"
426
+ }
427
+ }
428
+ ],
429
+ "title": "Guidance (CFG)",
430
+ "properties": {
431
+ "Run widget replace on values": false
432
+ },
433
+ "widgets_values": [
434
+ 3.5,
435
+ "fixed"
436
+ ],
437
+ "color": "#233",
438
+ "bgcolor": "#355"
439
+ },
440
+ {
441
+ "id": 12,
442
+ "type": "UNETLoader",
443
+ "pos": {
444
+ "0": -496,
445
+ "1": 224
446
+ },
447
+ "size": {
448
+ "0": 317.64862060546875,
449
+ "1": 82.45046997070312
450
+ },
451
+ "flags": {},
452
+ "order": 6,
453
+ "mode": 0,
454
+ "inputs": [],
455
+ "outputs": [
456
+ {
457
+ "name": "MODEL",
458
+ "type": "MODEL",
459
+ "links": [
460
+ 38,
461
+ 39
462
+ ],
463
+ "slot_index": 0,
464
+ "shape": 3
465
+ }
466
+ ],
467
+ "properties": {
468
+ "Node name for S&R": "UNETLoader"
469
+ },
470
+ "widgets_values": [
471
+ "Flux.1-lite-8B-alpha.safetensors",
472
+ "default"
473
+ ]
474
+ },
475
+ {
476
+ "id": 29,
477
+ "type": "CLIPTextEncodeFlux",
478
+ "pos": {
479
+ "0": -119,
480
+ "1": 230
481
+ },
482
+ "size": {
483
+ "0": 448.8125,
484
+ "1": 455.3394775390625
485
+ },
486
+ "flags": {},
487
+ "order": 7,
488
+ "mode": 0,
489
+ "inputs": [
490
+ {
491
+ "name": "clip",
492
+ "type": "CLIP",
493
+ "link": 43
494
+ },
495
+ {
496
+ "name": "guidance",
497
+ "type": "FLOAT",
498
+ "link": 54,
499
+ "slot_index": 2,
500
+ "widget": {
501
+ "name": "guidance"
502
+ }
503
+ }
504
+ ],
505
+ "outputs": [
506
+ {
507
+ "name": "CONDITIONING",
508
+ "type": "CONDITIONING",
509
+ "links": [
510
+ 55
511
+ ],
512
+ "slot_index": 0,
513
+ "shape": 3
514
+ }
515
+ ],
516
+ "properties": {
517
+ "Node name for S&R": "CLIPTextEncodeFlux"
518
+ },
519
+ "widgets_values": [
520
+ "A scene inspired by 2000 comedy animation, a glowing green alien whose fluorescent skin emits light, standing in a dark purple forest. The alien is holding a large sign that reads \"LITE 8B ALPHA\" in bold letters. The forest around is shadowy, with tall, eerie trees and mist rolling in. The alien radiates a soft, supernatural glow, illuminating the surroundings, creating a stark contrast between light and darkness. Style of an old comic, with flat colors, halftone shading, and a slightly weathered, vintage texture.\n\n",
521
+ "A scene inspired by 2000 comedy animation, a glowing green alien whose fluorescent skin emits light, standing in a dark purple forest. The alien is holding a large sign that reads \"LITE 8B ALPHA\" in bold letters. The forest around is shadowy, with tall, eerie trees and mist rolling in. The alien radiates a soft, supernatural glow, illuminating the surroundings, creating a stark contrast between light and darkness. Style of an old comic, with flat colors, halftone shading, and a slightly weathered, vintage texture.\n",
522
+ 3.5
523
+ ],
524
+ "color": "#232",
525
+ "bgcolor": "#353"
526
+ }
527
+ ],
528
+ "links": [
529
+ [
530
+ 12,
531
+ 10,
532
+ 0,
533
+ 8,
534
+ 1,
535
+ "VAE"
536
+ ],
537
+ [
538
+ 19,
539
+ 16,
540
+ 0,
541
+ 13,
542
+ 2,
543
+ "SAMPLER"
544
+ ],
545
+ [
546
+ 20,
547
+ 17,
548
+ 0,
549
+ 13,
550
+ 3,
551
+ "SIGMAS"
552
+ ],
553
+ [
554
+ 30,
555
+ 22,
556
+ 0,
557
+ 13,
558
+ 1,
559
+ "GUIDER"
560
+ ],
561
+ [
562
+ 38,
563
+ 12,
564
+ 0,
565
+ 17,
566
+ 0,
567
+ "MODEL"
568
+ ],
569
+ [
570
+ 39,
571
+ 12,
572
+ 0,
573
+ 22,
574
+ 0,
575
+ "MODEL"
576
+ ],
577
+ [
578
+ 43,
579
+ 11,
580
+ 0,
581
+ 29,
582
+ 0,
583
+ "CLIP"
584
+ ],
585
+ [
586
+ 54,
587
+ 38,
588
+ 0,
589
+ 29,
590
+ 1,
591
+ "FLOAT"
592
+ ],
593
+ [
594
+ 55,
595
+ 29,
596
+ 0,
597
+ 22,
598
+ 1,
599
+ "CONDITIONING"
600
+ ],
601
+ [
602
+ 56,
603
+ 25,
604
+ 0,
605
+ 13,
606
+ 0,
607
+ "NOISE"
608
+ ],
609
+ [
610
+ 62,
611
+ 5,
612
+ 0,
613
+ 13,
614
+ 4,
615
+ "LATENT"
616
+ ],
617
+ [
618
+ 64,
619
+ 13,
620
+ 0,
621
+ 8,
622
+ 0,
623
+ "LATENT"
624
+ ],
625
+ [
626
+ 66,
627
+ 8,
628
+ 0,
629
+ 44,
630
+ 0,
631
+ "IMAGE"
632
+ ]
633
+ ],
634
+ "groups": [],
635
+ "config": {},
636
+ "extra": {
637
+ "ds": {
638
+ "scale": 0.826446280991736,
639
+ "offset": [
640
+ 804.0032486112497,
641
+ -74.69542723422043
642
+ ]
643
+ },
644
+ "workspace_info": {
645
+ "id": "kzetqdSCzE7d9gP4zHck1",
646
+ "saveLock": false,
647
+ "cloudID": null,
648
+ "coverMediaPath": null
649
+ }
650
+ },
651
+ "version": 0.4
652
+ }
comfy/flux.1-lite_workflow.png ADDED

Git LFS Details

  • SHA256: 3a71808b44e968d837b3cec1e932ed61a4f648e1150e71a4729b4aed6175dee5
  • Pointer size: 131 Bytes
  • Size of remote file: 318 kB