Text-to-Image
MLX
Diffusers
Safetensors
apple-silicon
diffusion
mmdit
flux2
klein
one-step
distillation
Instructions to use mlx-community/FLUX.2-klein-4B-1step-RDM-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/FLUX.2-klein-4B-1step-RDM-bf16 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/FLUX.2-klein-4B-1step-RDM-bf16 --local-dir FLUX.2-klein-4B-1step-RDM-bf16
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download tokenizer/special_tokens_map.json from mlx-community/FLUX.2-klein-4B-1step-RDM-bf16: direct link, hf CLI and curl.
- Browser
- Download file 613 Bytes
-
https://huggingface.co/mlx-community/FLUX.2-klein-4B-1step-RDM-bf16/resolve/main/tokenizer/special_tokens_map.json
- Command line
-
hf download hf://mlx-community/FLUX.2-klein-4B-1step-RDM-bf16/tokenizer/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/mlx-community/FLUX.2-klein-4B-1step-RDM-bf16/resolve/main/tokenizer/special_tokens_map.json
613 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|object_ref_start|>", | |
| "<|object_ref_end|>", | |
| "<|box_start|>", | |
| "<|box_end|>", | |
| "<|quad_start|>", | |
| "<|quad_end|>", | |
| "<|vision_start|>", | |
| "<|vision_end|>", | |
| "<|vision_pad|>", | |
| "<|image_pad|>", | |
| "<|video_pad|>" | |
| ], | |
| "eos_token": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |