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
-
Rename text_encoder_2/model.safetensors to text_encoder_2/model_extra.safetensors
Verified signature0b26446 -
Upload 2 files
Verified signaturef1a95c0 -
Upload model-00001-of-00002.safetensors
Verified signature91ce945
-
Upload folder using huggingface_hub
Verified signatureeaa27de