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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ModelsLab
/
Qwen-Image-2.1-W4A4-int4

Text-to-Image
Diffusers
Safetensors
image-to-image
quantization
w4a4
svdquant
gptq
nunchaku
8-bit precision
Model card Files Files and versions
xet
Community
1

Instructions to use ModelsLab/Qwen-Image-2.1-W4A4-int4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ModelsLab/Qwen-Image-2.1-W4A4-int4 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ModelsLab/Qwen-Image-2.1-W4A4-int4", 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
Qwen-Image-2.1-W4A4-int4
4.7 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
Patil's picture
Patil
Update README.md
803ada5 verified 2 days ago
  • samples
    W4A4 int4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1836 6 days ago
  • seeds
    Add the 8-seed text sweep these numbers came from 6 days ago
  • .gitattributes
    2.82 kB
    Add the 8-seed text sweep these numbers came from 6 days ago
  • NOTICE
    148 Bytes
    W4A4 int4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1836 6 days ago
  • README.md
    3.61 kB
    Update README.md 2 days ago
  • config.json
    502 Bytes
    W4A4 int4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1836 6 days ago
  • diffusion_pytorch_model.safetensors
    4.66 GB
    xet
    W4A4 int4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1836 6 days ago
  • nunchaku_w4a4.json
    41.2 kB
    W4A4 int4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1836 6 days ago
  • w4a4_build.json
    3.77 kB
    W4A4 int4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1836 6 days ago