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
      • 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-Edit-Series

Image-to-Image
Diffusers
Safetensors
English
QuantFuncPipeline
custom_qwen_image
image-editing
diffusion
quantized
quantfunc
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use QuantFunc/Qwen-Image-Edit-Series 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("QuantFunc/Qwen-Image-Edit-Series", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    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]
  • Notebooks
  • Google Colab
  • Kaggle
Qwen-Image-Edit-Series / precision-config
4.38 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
QuantFunc's picture
QuantFunc
sync 50x-fp4-f8-better.json from ModelScope
8d49083 verified about 1 month ago
  • 30x-below-int4-i8-better.json
    1.16 kB
    sync 30x-below-int4-i8-better.json from ModelScope about 1 month ago
  • 40x-int4-f8-better.json
    1.17 kB
    sync 40x-int4-f8-better.json from ModelScope about 1 month ago
  • 50x-above-fp4-sample.json
    451 Bytes
    Upload folder using huggingface_hub 3 months ago
  • 50x-below-int4-sample.json
    443 Bytes
    Upload folder using huggingface_hub 3 months ago
  • 50x-fp4-f8-better.json
    1.15 kB
    sync 50x-fp4-f8-better.json from ModelScope about 1 month ago