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