Instructions to use madebyollin/texture-fix-vae-for-qwen-image-2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use madebyollin/texture-fix-vae-for-qwen-image-2.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("madebyollin/texture-fix-vae-for-qwen-image-2.1", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
File size: 459 Bytes
5276abd | 1 2 3 4 5 6 | Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) 2026 Hangzhou Tongyi Laboratory Technology Co., Ltd. All Rights Reserved.
Modified files: diffusion_pytorch_model.safetensors and qwen_image_2.1_vae_texture_fix_bf16.safetensors contain the
Qwen-Image-2.1 VAE (https://huggingface.co/Qwen/Qwen-Image-2.1) with modified (finetuned) decoder weights.
The modifications were made by madebyollin in 2026. The encoder weights are unchanged.
|