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
Download NOTICE from madebyollin/texture-fix-vae-for-qwen-image-2.1: direct link, hf CLI and curl.
- Browser
- Download file 459 Bytes
-
https://huggingface.co/madebyollin/texture-fix-vae-for-qwen-image-2.1/resolve/5276abdaefab2bb8bd4114916f2f8e2d60958c7b/NOTICE
- Command line
-
hf download hf://madebyollin/texture-fix-vae-for-qwen-image-2.1@5276abdaefab2bb8bd4114916f2f8e2d60958c7b/NOTICE
-
curl -L -o NOTICE https://huggingface.co/madebyollin/texture-fix-vae-for-qwen-image-2.1/resolve/5276abdaefab2bb8bd4114916f2f8e2d60958c7b/NOTICE
459 Bytes
| 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. | |