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

  • Log In
  • Sign Up

priyesh17
/
FLUX.1-dev_Quantized_nf4

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

Instructions to use priyesh17/FLUX.1-dev_Quantized_nf4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use priyesh17/FLUX.1-dev_Quantized_nf4 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("priyesh17/FLUX.1-dev_Quantized_nf4", 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
FLUX.1-dev_Quantized_nf4 / text_encoder_2
6.33 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
priyesh17's picture
priyesh17
Upload folder using huggingface_hub
5489ace verified over 1 year ago
  • config.json
    1.27 kB
    Upload folder using huggingface_hub over 1 year ago
  • model.safetensors
    6.33 GB
    xet
    Upload folder using huggingface_hub over 1 year ago