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

  • Log In
  • Sign Up

wavespeed
/
Qwen-Image-Edit-e4m3

Image-to-Image
Diffusers
QwenImageEditPipeline
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use wavespeed/Qwen-Image-Edit-e4m3 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("wavespeed/Qwen-Image-Edit-e4m3", 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-e4m3 / processor
15.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
chengzeyi's picture
chengzeyi
Add files using upload-large-folder tool
80a8d7e verified 9 months ago
  • added_tokens.json
    605 Bytes
    Add files using upload-large-folder tool 9 months ago
  • chat_template.jinja
    1.02 kB
    Add files using upload-large-folder tool 9 months ago
  • merges.txt
    1.67 MB
    Add files using upload-large-folder tool 9 months ago
  • preprocessor_config.json
    788 Bytes
    Add files using upload-large-folder tool 9 months ago
  • special_tokens_map.json
    613 Bytes
    Add files using upload-large-folder tool 9 months ago
  • tokenizer.json
    11.4 MB
    xet
    Add files using upload-large-folder tool 9 months ago
  • tokenizer_config.json
    4.73 kB
    Add files using upload-large-folder tool 9 months ago
  • video_preprocessor_config.json
    904 Bytes
    Add files using upload-large-folder tool 9 months ago
  • vocab.json
    2.78 MB
    Add files using upload-large-folder tool 9 months ago