Instructions to use GraydientPlatformAPI/run-xl2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use GraydientPlatformAPI/run-xl2b 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/run-xl2b", 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
- Xet hash:
- f7cd62328527bcf045d29a81b3e3eca32d950b482ad0e334a7e1b6d96e2f4945
- Size of remote file:
- 246 MB
- SHA256:
- 16884748bab8dc86ef94a5b7e6af140231dd1f3dea4d5b953aafdfdccbc12354
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.