Lmxyy commited on
Commit
a496207
·
verified ·
1 Parent(s): cff45ce

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +79 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: black-forest-labs/FLUX.1-Kontext-dev
3
+ base_model_relation: quantized
4
+ datasets:
5
+ - mit-han-lab/svdquant-datasets
6
+ language:
7
+ - en
8
+ library_name: diffusers
9
+ license: other
10
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/blob/main/LICENSE.md
11
+ license_name: flux-1-dev-non-commercial-license
12
+ pipeline_tag: image-to-image
13
+ tags:
14
+ - image-to-image
15
+ - SVDQuant
16
+ - FLUX.1-Kontext-dev
17
+ - FLUX.1
18
+ - Diffusion
19
+ - Quantization
20
+ - ICLR2025
21
+
22
+ ---
23
+ **This repository has been migrated to https://huggingface.co/nunchaku-tech/nunchaku-flux.1-kontext-dev and will be hidden in December 2025.**
24
+
25
+ <p align="center" style="border-radius: 10px">
26
+ <img src="https://huggingface.co/datasets/nunchaku-tech/cdn/resolve/main/nunchaku/assets/nunchaku.svg" width="30%" alt="Nunchaku Logo"/>
27
+ </p>
28
+
29
+ # Model Card for nunchaku-flux.1-kontext-dev
30
+
31
+ ![visual](https://huggingface.co/datasets/nunchaku-tech/cdn/resolve/main/ComfyUI-nunchaku/workflows/nunchaku-flux.1-kontext-dev.png)
32
+ This repository contains Nunchaku-quantized versions of [FLUX.1-Kontext-dev](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev), capable of editing images based on text instructions. It is optimized for efficient inference while maintaining minimal loss in performance.
33
+
34
+ ## Model Details
35
+
36
+ ### Model Description
37
+
38
+ - **Developed by:** Nunchaku Team
39
+ - **Model type:** image-to-image
40
+ - **License:** [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/blob/main/LICENSE.md)
41
+ - **Quantized from model:** [FLUX.1-Kontext-dev](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev)
42
+
43
+ ### Model Files
44
+
45
+ - [`svdq-int4_r32-flux.1-kontext-dev.safetensors`](./svdq-int4_r32-flux.1-kontext-dev.safetensors): SVDQuant quantized INT4 FLUX.1-Kontext-dev model. For users with non-Blackwell GPUs (pre-50-series).
46
+ - [`svdq-fp4_r32-flux.1-kontext-dev.safetensors`](./svdq-fp4_r32-flux.1-kontext-dev.safetensors): SVDQuant quantized NVFP4 FLUX.1-Kontext-dev model. For users with Blackwell GPUs (50-series).
47
+
48
+
49
+ ### Model Sources
50
+
51
+ - **Inference Engine:** [nunchaku](https://github.com/nunchaku-tech/nunchaku)
52
+ - **Quantization Library:** [deepcompressor](https://github.com/nunchaku-tech/deepcompressor)
53
+ - **Paper:** [SVDQuant: Absorbing Outliers by Low-Rank Components for 4-Bit Diffusion Models](http://arxiv.org/abs/2411.05007)
54
+ - **Demo:** [svdquant.mit.edu](https://svdquant.mit.edu)
55
+
56
+ ## Usage
57
+
58
+ - Diffusers Usage: See [flux.1-kontext-dev.py](https://github.com/nunchaku-tech/nunchaku/blob/main/examples/flux.1-kontext-dev.py). Check our [tutorial](https://nunchaku.tech/docs/nunchaku/usage/kontext.html) for more advanced usage.
59
+ - ComfyUI Usage: See [nunchaku-flux.1-kontext-dev.json](https://nunchaku.tech/docs/ComfyUI-nunchaku/workflows/t2i.html#nunchaku-flux-1-kontext-dev-json).
60
+
61
+ ## Performance
62
+
63
+ ![performance](https://huggingface.co/datasets/nunchaku-tech/cdn/resolve/main/nunchaku/assets/efficiency.jpg)
64
+
65
+ ## Citation
66
+
67
+ ```bibtex
68
+ @inproceedings{
69
+ li2024svdquant,
70
+ title={SVDQuant: Absorbing Outliers by Low-Rank Components for 4-Bit Diffusion Models},
71
+ author={Li*, Muyang and Lin*, Yujun and Zhang*, Zhekai and Cai, Tianle and Li, Xiuyu and Guo, Junxian and Xie, Enze and Meng, Chenlin and Zhu, Jun-Yan and Han, Song},
72
+ booktitle={The Thirteenth International Conference on Learning Representations},
73
+ year={2025}
74
+ }
75
+ ```
76
+
77
+ ## Attribution Notice
78
+
79
+ The FLUX.1 [dev] Model is licensed by Black Forest Labs Inc. under the FLUX.1 [dev] Non-Commercial License. Copyright Black Forest Labs Inc. IN NO EVENT SHALL BLACK FOREST LABS INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH USE OF THIS MODEL.