Instructions to use tiny-random/moss-image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tiny-random/moss-image with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tiny-random/moss-image", 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 vae/diffusion_pytorch_model.safetensors from tiny-random/moss-image: direct link, hf CLI and curl.
- Browser
- Download file 5.84 MB
-
https://huggingface.co/tiny-random/moss-image/resolve/main/vae/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://tiny-random/moss-image/vae/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/tiny-random/moss-image/resolve/main/vae/diffusion_pytorch_model.safetensors
5.84 MB
- Xet hash:
- 5aa78b6df208e8c725318aa48f40e7ef9ce12fadd20e47d0d90a907f2ff7d071
- Size of remote file:
- 5.84 MB
- SHA256:
- 5a40fc1c545d1c3e3084b10ed0a3e9177c18508ea1d8cea3352a760079426b7b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.