Instructions to use HighCWu/FLUX.1-dev-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use HighCWu/FLUX.1-dev-4bit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("HighCWu/FLUX.1-dev-4bit", 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
- Xet hash:
- 13e46555cbd4a64f2e68cd2671cbd3f1f97af2e83e098c8ce30881ce6c6dd1c8
- Size of remote file:
- 2.87 GB
- SHA256:
- 712ec814764209b7cfc5fae8583224d011303a8b5c955e6bd4bf8e2e50587a3d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.