Instructions to use moonbox-dev/FLUX.2-klein-4B-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use moonbox-dev/FLUX.2-klein-4B-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download moonbox-dev/FLUX.2-klein-4B-MLX --local-dir FLUX.2-klein-4B-MLX
- Diffusion Single File
How to use moonbox-dev/FLUX.2-klein-4B-MLX with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Model card and the original license
Browse files
README.md
CHANGED
|
@@ -50,6 +50,18 @@ for what was measured).
|
|
| 50 |
| 6bit | [`6bit/transformer/model.safetensors.index.json`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/6bit/transformer/model.safetensors.index.json) | 26.9 kB | `3a3dc7575022` | PSNR 24.7 dB mean, LPIPS 0.067 mean / 0.091 worst |
|
| 51 |
| 6bit | [`6bit/vae/0.safetensors`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/6bit/vae/0.safetensors) | 165.6 MB | `c82ac46128a7` | PSNR 24.7 dB mean, LPIPS 0.067 mean / 0.091 worst |
|
| 52 |
| 6bit | [`6bit/vae/model.safetensors.index.json`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/6bit/vae/model.safetensors.index.json) | 17.5 kB | `a5a21d176b96` | PSNR 24.7 dB mean, LPIPS 0.067 mean / 0.091 worst |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
## How to run
|
| 55 |
|
|
|
|
| 50 |
| 6bit | [`6bit/transformer/model.safetensors.index.json`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/6bit/transformer/model.safetensors.index.json) | 26.9 kB | `3a3dc7575022` | PSNR 24.7 dB mean, LPIPS 0.067 mean / 0.091 worst |
|
| 51 |
| 6bit | [`6bit/vae/0.safetensors`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/6bit/vae/0.safetensors) | 165.6 MB | `c82ac46128a7` | PSNR 24.7 dB mean, LPIPS 0.067 mean / 0.091 worst |
|
| 52 |
| 6bit | [`6bit/vae/model.safetensors.index.json`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/6bit/vae/model.safetensors.index.json) | 17.5 kB | `a5a21d176b96` | PSNR 24.7 dB mean, LPIPS 0.067 mean / 0.091 worst |
|
| 53 |
+
| 4bit | [`4bit/mflux_model.json`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/mflux_model.json) | 0.4 kB | `e03e43c4959e` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 54 |
+
| 4bit | [`4bit/text_encoder/0.safetensors`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/text_encoder/0.safetensors) | 2.14 GB | `cc76abeea8b2` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 55 |
+
| 4bit | [`4bit/text_encoder/1.safetensors`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/text_encoder/1.safetensors) | 127.6 MB | `e6d457f7580f` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 56 |
+
| 4bit | [`4bit/text_encoder/model.safetensors.index.json`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/text_encoder/model.safetensors.index.json) | 51.3 kB | `d4a512f2850e` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 57 |
+
| 4bit | [`4bit/tokenizer/chat_template.jinja`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/tokenizer/chat_template.jinja) | 4.2 kB | `a55ee1b16601` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 58 |
+
| 4bit | [`4bit/tokenizer/tokenizer.json`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/tokenizer/tokenizer.json) | 11.4 MB | `be75606093db` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 59 |
+
| 4bit | [`4bit/tokenizer/tokenizer_config.json`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/tokenizer/tokenizer_config.json) | 0.7 kB | `1cc816812993` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 60 |
+
| 4bit | [`4bit/transformer/0.safetensors`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/transformer/0.safetensors) | 2.15 GB | `d1297538e694` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 61 |
+
| 4bit | [`4bit/transformer/1.safetensors`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/transformer/1.safetensors) | 34.7 MB | `aef39fb6b716` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 62 |
+
| 4bit | [`4bit/transformer/model.safetensors.index.json`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/transformer/model.safetensors.index.json) | 26.9 kB | `3e43ccc1e3b0` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 63 |
+
| 4bit | [`4bit/vae/0.safetensors`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/vae/0.safetensors) | 165.1 MB | `52affd01aa5b` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 64 |
+
| 4bit | [`4bit/vae/model.safetensors.index.json`](https://huggingface.co/moonbox-ai/FLUX.2-klein-4B-MLX/blob/main/4bit/vae/model.safetensors.index.json) | 17.5 kB | `e396f8330c32` | below threshold (experimental): PSNR 17.7 dB, LPIPS 0.242 mean / 0.377 worst |
|
| 65 |
|
| 66 |
## How to run
|
| 67 |
|