Instructions to use microsoft/vq-diffusion-ithq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use microsoft/vq-diffusion-ithq with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("microsoft/vq-diffusion-ithq", 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
Commit ·
e5479e0
1
Parent(s): 0c38100
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,12 @@ license: mit
|
|
| 5 |
|
| 6 |
**Contribution**: This model was contribution by [williamberman](https://huggingface.co/williamberman) in [VQ-diffusion](https://github.com/huggingface/diffusers/pull/658).
|
| 7 |
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
```python
|
| 11 |
#!pip install diffusers[torch]==0.7.0 transformers
|
|
|
|
| 5 |
|
| 6 |
**Contribution**: This model was contribution by [williamberman](https://huggingface.co/williamberman) in [VQ-diffusion](https://github.com/huggingface/diffusers/pull/658).
|
| 7 |
|
| 8 |
+
* [Paper](https://arxiv.org/abs/2205.16007.pdf)
|
| 9 |
+
|
| 10 |
+
* [Original Repo](https://github.com/microsoft/VQ-Diffusion)
|
| 11 |
+
|
| 12 |
+
* **Authors**: Shuyang Gu, Dong Chen, et al.
|
| 13 |
+
|
| 14 |
|
| 15 |
```python
|
| 16 |
#!pip install diffusers[torch]==0.7.0 transformers
|