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

ovedrive
/
qwen-image-edit-4bit

Image-to-Image
Diffusers
Safetensors
English
Chinese
QwenImageEditPipeline
Model card Files Files and versions
xet
Community
5

Instructions to use ovedrive/qwen-image-edit-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ovedrive/qwen-image-edit-4bit 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("ovedrive/qwen-image-edit-4bit", 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-4bit
17 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
ovedrive's picture
ovedrive
Update README.md
f1895ae verified 9 months ago
  • processor
    Upload folder using huggingface_hub 9 months ago
  • scheduler
    Upload folder using huggingface_hub 9 months ago
  • text_encoder
    Upload folder using huggingface_hub 9 months ago
  • tokenizer
    Upload folder using huggingface_hub 9 months ago
  • transformer
    Upload folder using huggingface_hub 9 months ago
  • vae
    v1 fix bad vae 9 months ago
  • .gitattributes
    1.58 kB
    Upload folder using huggingface_hub 9 months ago
  • README.md
    13.6 kB
    Update README.md 9 months ago
  • model_index.json
    546 Bytes
    Upload folder using huggingface_hub 9 months ago
  • quantization_info.json
    263 Bytes
    Upload folder using huggingface_hub 9 months ago