Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

joyfox
/
Qwen-Image-Edit-2509-Upscale2K

Image-to-Image
Diffusers
English
image-generation
lora
Qwen-Image
Model card Files Files and versions
xet
Community
2

Instructions to use joyfox/Qwen-Image-Edit-2509-Upscale2K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use joyfox/Qwen-Image-Edit-2509-Upscale2K with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("joyfox/Qwen-Image-Edit-2509-Upscale2K")
    
    prompt = "Upscale this picture to 4K resolution. "
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Is it possible to run 4-step upscale lora?

#2 opened 5 months ago by
thesby

Not sure if i use it wrong ? (wavespeed output look same)

2
#1 opened 5 months ago by
Ryu-Sena
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs