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
recommended shard merge process
#2
by ihgf-integrated - opened
What is the preferred way to merge these shards into a single .safetensors, I tried https://github.com/soursilver/safetensors-merger.git with no luck. Hoping to use this workflow: mingyi456/FLUX.1-schnell-DF11-ComfyUI to run this model in ComfyUI, but it requires a single .safetensors. Thanks!