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-nvfp4

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

Instructions to use ModelsLab/Qwen-Image-2.1-W4A4-nvfp4 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-nvfp4 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-nvfp4", 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-nvfp4
4.92 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
adhikjoshi's picture
adhikjoshi
Add the 8-seed text sweep these numbers came from
8d7b6a0 verified 6 days ago
  • samples
    W4A4 nvfp4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1425 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 nvfp4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1425 6 days ago
  • README.md
    4.67 kB
    Record the reference-free text-accuracy sweep 6 days ago
  • config.json
    502 Bytes
    W4A4 nvfp4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1425 6 days ago
  • diffusion_pytorch_model.safetensors
    4.88 GB
    xet
    W4A4 nvfp4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1425 6 days ago
  • nunchaku_w4a4.json
    41.4 kB
    W4A4 nvfp4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1425 6 days ago
  • w4a4_build.json
    3.76 kB
    W4A4 nvfp4 checkpoint, SVDQuant + GPTQ, LPIPS 0.1425 6 days ago