Instructions to use perilli/OCS_Models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use perilli/OCS_Models with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("perilli/OCS_Models", 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
Ctrl+K
- 306 MB xet
- 22.4 MB xet
- 19.3 MB xet
- 19.3 MB xet
- 39.8 MB xet
- 19.3 MB xet
- 38.4 MB xet
- 19.3 MB xet
- 172 MB xet
- 76.9 MB xet
- 142 MB xet
- 172 MB xet
- 76.7 MB xet
- 76.7 MB xet
- 153 MB xet
- 19.3 MB xet
- 19.3 MB xet
- 153 MB xet
- 19.3 MB xet
- 19.3 MB xet
- 235 MB xet
- 52.4 MB xet
- 230 MB xet
- 1.23 GB xet
- 451 MB xet
- 1.24 GB xet
- 306 MB xet
- 39.8 MB xet
- 478 MB xet
- 115 MB xet
- 359 MB xet
- 22.4 MB xet