Text-to-Image
Diffusers
Safetensors
llama
dfloat11
df11
lossless compression
70% size, 100% accuracy
Instructions to use DFloat11/FLUX.1-schnell-DF11 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DFloat11/FLUX.1-schnell-DF11 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DFloat11/FLUX.1-schnell-DF11", 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
How to run on ZERO GPU?
#1
by aifeifei798 - opened
How to run on ZERO GPU?
You can clone the official flux.1-schnell huggingface space, and then manually modify the code to load and use the df11 version, right? That is what I am doing, except on my local machine. Or did I misunderstand your question?