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-Q-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
8

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

  • Libraries
  • Diffusers

    How to use PrunaAI/Pruna-Q-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-Q-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-Q-Image-2.1
714 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 25 commits
sdiazlor's picture
sdiazlor
fix/update-repo (#8)
a14dab4 1 day ago
  • assets
    fix/update-repo (#8) 1 day ago
  • .gitattributes
    2.06 kB
    fix/update-repo (#8) 1 day ago
  • LICENSE
    7.83 kB
    Add Qwen Image 2.1 five-step LoRA adapter 29 days ago
  • NOTICE
    207 Bytes
    Add Qwen Image 2.1 five-step LoRA adapter 29 days ago
  • README.md
    14.4 kB
    fix/update-repo (#8) 1 day ago
  • p_q_image_2.1_5step_v0.1.safetensors
    336 MB
    xet
    fix/update-repo (#8) 1 day ago
  • p_q_image_2.1_8step_v0.1.safetensors
    336 MB
    xet
    fix/update-repo (#8) 1 day ago