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

  • Log In
  • Sign Up

TensorStack
/
Qwen-Image-ts

Image-to-Image
Diffusers
Safetensors
QwenImagePipeline
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use TensorStack/Qwen-Image-ts 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("TensorStack/Qwen-Image-ts", 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-ts
57.7 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
saddam213's picture
saddam213
Upload 28 files
c204cee verified 4 months ago
  • scheduler
    Upload 28 files 4 months ago
  • text_encoder
    Upload 28 files 4 months ago
  • tokenizer
    Upload 28 files 4 months ago
  • transformer
    Upload 28 files 4 months ago
  • vae
    Upload 28 files 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    1.21 kB
    Upload 28 files 4 months ago
  • model_index.json
    443 Bytes
    Upload 28 files 4 months ago