File size: 3,053 Bytes
7429cfc
 
 
 
452a965
 
 
 
 
 
 
7429cfc
 
 
 
 
 
 
 
 
 
 
 
452a965
7429cfc
c8e85d8
7429cfc
 
 
 
 
 
 
 
b5b777b
7429cfc
 
 
 
2b1f79c
 
 
6437487
7429cfc
 
 
 
 
 
 
 
 
 
 
 
 
b5b777b
 
7429cfc
 
 
b5b777b
 
7429cfc
 
 
b5b777b
 
7429cfc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: other
license_name: non-commercial
license_link: LICENSE
language:
- en
pipeline_tag: text-to-image
tags:
- Image-generation
- flux
- Safetensors
---
# FLUX.1-schnell-dev-merged-fp8-4step

This repository provides the merged .safetensors model file with the params as provided by [Comfyorg](https://blog.comfy.org/august-2024-flux-support-new-frontend-for-loops-and-more/) for [`black-forest-labs/FLUX.1-dev`](https://huggingface.co/black-forest-labs/FLUX.1-dev)
and [`black-forest-labs/FLUX.1-schnell`](https://huggingface.co/black-forest-labs/FLUX.1-schnell). Please be aware of the licenses of both the models before using the weights commercially. 

Weights were merged differently to my other merges

Flux.1-Dev double_blocks (MM-DiT) onto Flux.1-Schnell, then quantized to fp8 giving you a higher quality model that still runs in just 4 steps!

[model1 * value + model2 * (1 - value)]

<img src="./assets/cat.webp" alt="">

# This model also has baked clips / VAE and does not need external clips or VAE, loads like a normal Checkpoint

For ComfyUI place the model in "models\checkpoints"

# Inference Steps: 4-8
# CFG: 1
# Sampler: Euler
# Schedulers: normal, sgm_uniform, simple, beta 

<a href="https://huggingface.co/drbaph/FLUX.1-schnell-dev-merged-fp8-4step/blob/main/ComfyUI%20Workflow/ComfyUI%20Workflow_Flux.1-Schnell-Dev-merged-fp8-4step%20%2B%20Upscaler.json" 
   style="text-decoration: underline; color: blue; display: block; text-align: left;">
    <h2 style="margin: 0;">ComfyUI Workflow + Upscaler</h2>
</a>

<a href="https://huggingface.co/drbaph/FLUX.1-schnell-dev-merged-fp8-4step/blob/main/assets/screenshot.png">
  <img src="./assets/screenshot.png" alt="ComfyUI Workflow">
</a>

---

<table>
    <thead>
        <tr>
            <th>Flux Merged 4 Step</th>
            <th>Flux Merged 4 Step</th>
            <th>Flux Merged 4 Step</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                <a href="https://huggingface.co/drbaph/FLUX.1-schnell-dev-merged-fp8-4step/blob/main/ComfyUI%20Workflow/4step.png">
                    <img src="./ComfyUI Workflow/4step.png" alt="Flux Merged 4 Step">
                </a>
            </td>
            <td>
                <a href="https://huggingface.co/drbaph/FLUX.1-schnell-dev-merged-fp8-4step/blob/main/ComfyUI%20Workflow/4step(1).png">
                    <img src="./ComfyUI Workflow/4step(1).png" alt="Flux Merged 4 Step">
                </a>
            </td>
            <td>
                <a href="https://huggingface.co/drbaph/FLUX.1-schnell-dev-merged-fp8-4step/blob/main/ComfyUI%20Workflow/4step(2).png">
                    <img src="./ComfyUI Workflow/4step(2).png" alt="Flux Merged 4 Step">
                </a>
            </td>
        </tr>
    </tbody>
</table>


---

<a href="https://instagram.com/drbaph/">
  <img src="./assets/drbaph.jpg" alt="@drbaph">
</a>

# License
This model falls under the [`FLUX.1 [dev]` Non-Commercial License](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).