Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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
/
P-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
9

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

  • Libraries
  • Diffusers

    How to use PrunaAI/P-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/P-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

Add v0.2 adapters

#9
by simlang - opened 4 days ago
base: refs/heads/main
←
from: refs/pr/9
Discussion Files changed
+253
-58
simlang
Pruna AI org 4 days ago
No description provided.
add new adapters & update README15499777
fix image displayingfb6c0b53
update naming5fe9a188
update README to have less changes to the previous versiondcd99c43
final touches on the READMEc6caf6c4
align with previous versione20c5499
remove two old images8079f999
move quickstart to the beginning6813dc8b
simlang changed pull request status to open 1 day ago
feix: coherent safetensors naming4c401a85
fix: update namingb275e549
docs: review with feedback6031c1c6
docs: shorten some descriptions and rearrange16bb885d
fix: full renaming2d5eafe0
fix: update imagesc752fdb4
fix: update correct plotsc9087564
fix: redo timings with kv caching enabled + add end-to-end plots99a3f39a
fix: cleaning up end-to-end plots119c4875
fix: removed legend in end-to-end plots0cff381c
Ready to merge
This branch is ready to get merged automatically.

· Sign up or log in to comment

Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs