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

QuantFunc
/
Qwen-Image-2.1-4bit

Text-to-Image
Diffusers
QwenImagePipeline
custom_qwen_image
image-generation
quantized
4-bit precision
int4
svdquant
qwen-image
quantfunc
comfyui
Model card Files Files and versions
xet
Community

Instructions to use QuantFunc/Qwen-Image-2.1-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use QuantFunc/Qwen-Image-2.1-4bit with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("QuantFunc/Qwen-Image-2.1-4bit", 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-4bit
8.99 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
QuantFunc's picture
QuantFunc
Update official QuantFunc Civitai homepage
ea3039c verified 4 days ago
  • assets
    Update model card showcase 6 days ago
  • .gitattributes
    1.56 kB
    Update model card showcase 6 days ago
  • README.md
    4.36 kB
    Update official QuantFunc Civitai homepage 4 days ago
  • config.json
    422 Bytes
    Add config.json 7 days ago
  • model_index.json
    191 Bytes
    Add model_index.json 7 days ago
  • qwen_image_21_base_quantfunc_int4_r128.safetensors
    4.66 GB
    xet
    Add qwen_image_21_base_quantfunc_int4_r128.safetensors 7 days ago
  • qwen_image_21_base_quantfunc_int4_r32.safetensors
    4.33 GB
    xet
    Add qwen_image_21_base_quantfunc_int4_r32.safetensors 7 days ago