Instructions to use changwangss/FLUX.2-dev-MXFP8-RTN-FullEncoder-AutoRound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use changwangss/FLUX.2-dev-MXFP8-RTN-FullEncoder-AutoRound with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("changwangss/FLUX.2-dev-MXFP8-RTN-FullEncoder-AutoRound", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download tokenizer/processor_config.json from changwangss/FLUX.2-dev-MXFP8-RTN-FullEncoder-AutoRound: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/changwangss/FLUX.2-dev-MXFP8-RTN-FullEncoder-AutoRound/resolve/main/tokenizer/processor_config.json
- Command line
-
hf download hf://changwangss/FLUX.2-dev-MXFP8-RTN-FullEncoder-AutoRound/tokenizer/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/changwangss/FLUX.2-dev-MXFP8-RTN-FullEncoder-AutoRound/resolve/main/tokenizer/processor_config.json
189 Bytes
| { | |
| "image_break_token": "[IMG_BREAK]", | |
| "image_end_token": "[IMG_END]", | |
| "image_token": "[IMG]", | |
| "patch_size": 14, | |
| "processor_class": "PixtralProcessor", | |
| "spatial_merge_size": 2 | |
| } | |