Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,84 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: black-forest-labs/FLUX.1-Fill-dev
|
| 3 |
+
license: other
|
| 4 |
+
license_name: flux-1-dev-non-commercial-license
|
| 5 |
+
license_link: LICENSE.md
|
| 6 |
+
model_creator: black-forest-labs
|
| 7 |
+
model_name: FLUX.1-Fill-dev
|
| 8 |
+
quantized_by: Second State Inc.
|
| 9 |
+
language:
|
| 10 |
+
- en
|
| 11 |
+
tags:
|
| 12 |
+
- text-to-image
|
| 13 |
+
- image-generation
|
| 14 |
+
- flux
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
<!-- header start -->
|
| 18 |
+
<!-- 200823 -->
|
| 19 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 20 |
+
<img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 21 |
+
</div>
|
| 22 |
+
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
| 23 |
+
<!-- header end -->
|
| 24 |
+
|
| 25 |
+
> [!CAUTION]
|
| 26 |
+
> T5, Clip, and ae are still not provided in the original model
|
| 27 |
+
|
| 28 |
+
# FLUX.1-Fill-dev-GGUF
|
| 29 |
+
|
| 30 |
+
## Original Model
|
| 31 |
+
|
| 32 |
+
[black-forest-labs/FLUX.1-Fill-dev](https://huggingface.co/black-forest-labs/FLUX.1-Fill-dev)
|
| 33 |
+
|
| 34 |
+
## Run with LlamaEdge-StableDiffusion
|
| 35 |
+
|
| 36 |
+
- Version: coming soon
|
| 37 |
+
|
| 38 |
+
<!-- - Version: [0.1.4](https://github.com/LlamaEdge/sd-api-server/releases/tag/0.1.4)
|
| 39 |
+
|
| 40 |
+
- Run as LlamaEdge service
|
| 41 |
+
|
| 42 |
+
```bash
|
| 43 |
+
wasmedge --dir .:. sd-api-server.wasm \
|
| 44 |
+
--model-name flux1-fill-dev \
|
| 45 |
+
--diffusion-model flux1-fill-dev-Q4_0.gguf \
|
| 46 |
+
--vae ae.safetensors \
|
| 47 |
+
--clip-l clip_l.safetensors \
|
| 48 |
+
--t5xxl t5xxl-Q8_0.gguf
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
- Run with LoRA
|
| 52 |
+
|
| 53 |
+
Assume that the LoRA model is located in the `lora-models` directory
|
| 54 |
+
|
| 55 |
+
```bash
|
| 56 |
+
wasmedge --dir .:. \
|
| 57 |
+
--dir lora-models:lora-models \
|
| 58 |
+
sd-api-server.wasm \
|
| 59 |
+
--model-name flux1-fill-dev \
|
| 60 |
+
--diffusion-model flux1-fill-dev-Q4_0.gguf \
|
| 61 |
+
--vae ae.safetensors \
|
| 62 |
+
--clip-l clip_l.safetensors \
|
| 63 |
+
--t5xxl t5xxl-Q8_0.gguf \
|
| 64 |
+
--lora-model-dir lora-models
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
*For details, see https://github.com/LlamaEdge/sd-api-server/blob/main/examples/flux_with_lora.md* -->
|
| 68 |
+
|
| 69 |
+
## Quantized GGUF Models
|
| 70 |
+
|
| 71 |
+
| Name | Quant method | Bits | Size | Use case |
|
| 72 |
+
| ---- | ---- | ---- | ---- | ----- |
|
| 73 |
+
| [ae.safetensors](https://huggingface.co/second-state/FLUX.1-Fill-dev-GGUF/blob/main/ae.safetensors) | f32 | 32 | 335 MB | |
|
| 74 |
+
| [flux1-fill-dev-Q2_K.gguf](https://huggingface.co/second-state/FLUX.1-Fill-dev-GGUF/blob/main/flux1-fill-dev-Q2_K.gguf) | Q2_K | 2 | 4.16 GB | |
|
| 75 |
+
| [flux1-fill-dev-Q3_K.gguf](https://huggingface.co/second-state/FLUX.1-Fill-dev-GGUF/blob/main/flux1-fill-dev-Q3_K.gguf) | Q2_K | 2 | 5.36 GB | |
|
| 76 |
+
| [flux1-fill-dev-Q4_0.gguf](https://huggingface.co/second-state/FLUX.1-Fill-dev-GGUF/blob/main/flux1-fill-dev-Q4_0.gguf) | Q4_0 | 4 | 6.93 GB | |
|
| 77 |
+
| [flux1-fill-dev-Q4_1.gguf](https://huggingface.co/second-state/FLUX.1-Fill-dev-GGUF/blob/main/flux1-fill-dev-Q4_1.gguf) | Q4_1 | 4 | 7.67 GB | |
|
| 78 |
+
| [flux1-fill-dev-Q4_K.gguf](https://huggingface.co/second-state/FLUX.1-Fill-dev-GGUF/blob/main/flux1-fill-dev-Q4_K.gguf) | Q4_K | 4 | 6.93 GB | |
|
| 79 |
+
| [flux1-fill-dev-Q5_0.gguf](https://huggingface.co/second-state/FLUX.1-Fill-dev-GGUF/blob/main/flux1-fill-dev-Q5_0.gguf) | Q5_0 | 5 | 8.41 GB | |
|
| 80 |
+
| [flux1-fill-dev-Q5_1.gguf](https://huggingface.co/second-state/FLUX.1-Fill-dev-GGUF/blob/main/flux1-fill-dev-Q5_1.gguf) | Q5_1 | 5 | 9.15 GB | |
|
| 81 |
+
| [flux1-fill-dev-Q8_0.gguf](https://huggingface.co/second-state/FLUX.1-Fill-dev-GGUF/blob/main/flux1-fill-dev-Q8_0.gguf) | Q8_0 | 8 | 12.8 GB | |
|
| 82 |
+
| [flux1-fill-dev.safetensors](https://huggingface.co/second-state/FLUX.1-Fill-dev-GGUF/blob/main/flux1-fill-dev.safetensors) | f16 | 16 | 23.8 GB | |
|
| 83 |
+
|
| 84 |
+
**Quantized with stable-diffusion.cpp `master-c3eeb669`.**
|