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