Instructions to use wavespeed/Qwen-Image-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wavespeed/Qwen-Image-bf16 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wavespeed/Qwen-Image-bf16", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 974 Bytes
1fe764f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | ---
base_model: Qwen/Qwen-Image
library_name: diffusers
license: apache-2.0
pipeline_tag: text-to-image
tags:
- qwen-image
- text-to-image
- bf16
- diffusers
---
# Qwen-Image-bf16
An unmodified bf16 copy of [Qwen/Qwen-Image](https://huggingface.co/Qwen/Qwen-Image),
resharded for WaveSpeed's loader.
## What was changed
Nothing numerically. Tensor names, shapes, dtypes (bf16) and total parameter
bytes are identical to upstream; the transformer is simply written as 5 shards
instead of 9, which suits how our serving nodes stream weights from cache.
**If you are not us, use [`Qwen/Qwen-Image`](https://huggingface.co/Qwen/Qwen-Image)
instead.** This repository exists as a pinned serving artifact and offers no
advantage over the original.
The quantized variants derived from this baseline are
[`wavespeed/Qwen-Image-e4m3`](https://huggingface.co/wavespeed/Qwen-Image-e4m3)
(fp8) — those do differ from upstream.
## License
Apache-2.0, inherited from Qwen-Image.
|