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 transformer/diffusion_pytorch_model.safetensors from tiny-random/moss-image: direct link, hf CLI and curl.
- Browser
- Download file 620 kB
-
https://huggingface.co/tiny-random/moss-image/resolve/main/transformer/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://tiny-random/moss-image/transformer/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/tiny-random/moss-image/resolve/main/transformer/diffusion_pytorch_model.safetensors
620 kB
- Xet hash:
- 1795fea80c1623d84a5d56cf45910299d293dd666c9215e013419a408d6fa5a4
- Size of remote file:
- 620 kB
- SHA256:
- ec23d054dfdc432e442046218737834d61ce0d4b33c1ad6736c8abdfb68a22e6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.