Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

diffusers
/
FLUX.1-dev-torchao-fp8

Text-to-Image
Diffusers
FluxPipeline
quantization
Model card Files Files and versions
xet
Community
1

Instructions to use diffusers/FLUX.1-dev-torchao-fp8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use diffusers/FLUX.1-dev-torchao-fp8 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-fp8", 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
  • Draw Things
  • DiffusionBee
FLUX.1-dev-torchao-fp8
18.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
derekl35's picture
derekl35
Update README.md
27b0a66 verified 12 months ago
  • scheduler
    Upload FluxPipeline 12 months ago
  • text_encoder
    Upload FluxPipeline 12 months ago
  • text_encoder_2
    Upload FluxPipeline 12 months ago
  • tokenizer
    Upload FluxPipeline 12 months ago
  • tokenizer_2
    Upload FluxPipeline 12 months ago
  • transformer
    Upload FluxPipeline 12 months ago
  • vae
    Upload FluxPipeline 12 months ago
  • .gitattributes
    1.52 kB
    initial commit 12 months ago
  • README.md
    2.82 kB
    Update README.md 12 months ago
  • model_index.json
    681 Bytes
    Upload FluxPipeline 12 months ago