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