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/added_tokens.json from mlx-community/FLUX.2-klein-4B-1step-RDM-bf16: direct link, hf CLI and curl.
- Browser
- Download file 707 Bytes
-
https://huggingface.co/mlx-community/FLUX.2-klein-4B-1step-RDM-bf16/resolve/main/tokenizer/added_tokens.json
- Command line
-
hf download hf://mlx-community/FLUX.2-klein-4B-1step-RDM-bf16/tokenizer/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/mlx-community/FLUX.2-klein-4B-1step-RDM-bf16/resolve/main/tokenizer/added_tokens.json
707 Bytes
| { | |
| "</think>": 151668, | |
| "</tool_call>": 151658, | |
| "</tool_response>": 151666, | |
| "<think>": 151667, | |
| "<tool_call>": 151657, | |
| "<tool_response>": 151665, | |
| "<|box_end|>": 151649, | |
| "<|box_start|>": 151648, | |
| "<|endoftext|>": 151643, | |
| "<|file_sep|>": 151664, | |
| "<|fim_middle|>": 151660, | |
| "<|fim_pad|>": 151662, | |
| "<|fim_prefix|>": 151659, | |
| "<|fim_suffix|>": 151661, | |
| "<|im_end|>": 151645, | |
| "<|im_start|>": 151644, | |
| "<|image_pad|>": 151655, | |
| "<|object_ref_end|>": 151647, | |
| "<|object_ref_start|>": 151646, | |
| "<|quad_end|>": 151651, | |
| "<|quad_start|>": 151650, | |
| "<|repo_name|>": 151663, | |
| "<|video_pad|>": 151656, | |
| "<|vision_end|>": 151653, | |
| "<|vision_pad|>": 151654, | |
| "<|vision_start|>": 151652 | |
| } | |