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
- Xet hash:
- 6e7ec572eab8dd43bfee33e75ac1f62bf882f98d30e95921e9664700ffc3da80
- Size of remote file:
- 159 kB
- SHA256:
- d0e32094fc256363f24e8ef97652629451597f8bd35a21364120c019e1bb5e2a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.