Instructions to use AlekseyCalvin/flux1-kontext-dev_fp8_e4m3fn_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AlekseyCalvin/flux1-kontext-dev_fp8_e4m3fn_diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AlekseyCalvin/flux1-kontext-dev_fp8_e4m3fn_diffusers", 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
Commit History
-
Delete tokenizer/vocab2.json
Verified signature3b355f2 -
Delete tokenizer/merges2.txt
Verified signature8c17bb8 -
Upload merges.txt
Verified signatured4b1c58 -
Rename tokenizer/merges.txt to tokenizer/merges2.txt
Verified signatureb74cb1f -
Upload vocab.json
Verified signature13a4b37 -
Rename tokenizer/vocab.json to tokenizer/vocab2.json
Verified signature25f755c -
Update tokenizer/tokenizer_config.json
Verified signature62cc254 -
Update tokenizer/special_tokens_map.json
Verified signaturec51ca77
-
Upload folder using huggingface_hub
Verified signature0c42f14