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

PrunaAI
/
Pruna-Qwen-Image-2.1

Text-to-Image
Diffusers
qwen
image-generation
image-editing
rgba
lora
distilled
few-step
Model card Files Files and versions
xet
Community
6

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

  • Libraries
  • Diffusers

    How to use PrunaAI/Pruna-Qwen-Image-2.1 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-2.1", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("PrunaAI/Pruna-Qwen-Image-2.1")
    
    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
Pruna-Qwen-Image-2.1
716 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 23 commits
sdiazlor's picture
sdiazlor
Upload 4 files
113e63b verified 4 days ago
  • assets
    Upload 4 files 4 days ago
  • .gitattributes
    2.08 kB
    Upload 6 files 4 days ago
  • LICENSE
    7.83 kB
    Add Qwen Image 2.1 five-step LoRA adapter 5 days ago
  • NOTICE
    207 Bytes
    Add Qwen Image 2.1 five-step LoRA adapter 5 days ago
  • README.md
    14.4 kB
    Update README.md 4 days ago
  • p_qwen_image_2.1_5step_v0.1.safetensors
    336 MB
    xet
    Update five-step adapter to PCM/CDM checkpoint 4000 4 days ago
  • p_qwen_image_2.1_8step_v0.1.safetensors
    336 MB
    xet
    Update eight-step adapter weights and remove ComfyUI export 4 days ago