Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

nunchaku-ai
/
nunchaku-flux.1-schnell

Text-to-Image
Diffusers
English
SVDQuant
FLUX.1-schnell
FLUX.1
Diffusion
Quantization
ICLR2025
Model card Files Files and versions
xet
Community
1

Instructions to use nunchaku-ai/nunchaku-flux.1-schnell with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use nunchaku-ai/nunchaku-flux.1-schnell with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("nunchaku-ai/nunchaku-flux.1-schnell", 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
nunchaku-flux.1-schnell
13.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
Lmxyy's picture
Lmxyy
Upload ./README.md with huggingface_hub
b18e8e6 verified 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 12 months ago
  • README.md
    3.42 kB
    Upload ./README.md with huggingface_hub 7 months ago
  • svdq-fp4_r32-flux.1-schnell.safetensors
    7.02 GB
    xet
    Copy from mit-han-lab/nunchaku-flux.1-schnell 12 months ago
  • svdq-int4_r32-flux.1-schnell.safetensors
    6.75 GB
    xet
    Copy from mit-han-lab/nunchaku-flux.1-schnell 12 months ago