Instructions to use diffusers/FLUX.1-dev-torchao-int8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/FLUX.1-dev-torchao-int8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/FLUX.1-dev-torchao-int8", 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
Download text_encoder/pytorch_model.bin from diffusers/FLUX.1-dev-torchao-int8: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/diffusers/FLUX.1-dev-torchao-int8/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://diffusers/FLUX.1-dev-torchao-int8/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/diffusers/FLUX.1-dev-torchao-int8/resolve/main/text_encoder/pytorch_model.bin
246 MB
- Xet hash:
- 1a672e07e65e5ca338f816bd05cbe949c2c2af2f8141fec42cab6c2d81889e16
- Size of remote file:
- 246 MB
- SHA256:
- 3d52a1d481343f35985435eca77e9f8c05d5dfab6b12666603e7686f86bdec1a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.