Instructions to use GraydientPlatformAPI/getp4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use GraydientPlatformAPI/getp4 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/getp4", 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/model.safetensors from GraydientPlatformAPI/getp4: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/GraydientPlatformAPI/getp4/resolve/main/text_encoder/model.safetensors
- Command line
-
hf download hf://GraydientPlatformAPI/getp4/text_encoder/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/GraydientPlatformAPI/getp4/resolve/main/text_encoder/model.safetensors
246 MB
- Xet hash:
- bdd1eaa27ea9dfef5edcbdabd9a901f3c32f6218540f2bfeef81cd3eac60c0f2
- Size of remote file:
- 246 MB
- SHA256:
- fdcc8fe89ed696a68c64b43eb2b09e3cb47f7edbad138bf2a46752995ca96439
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.