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
Download Encoding/Text/stable-diffusion-2-1-clip-fp16.safetensors from perilli/OCS_Models: direct link, hf CLI and curl.
- Browser
- Download file 681 MB
-
https://huggingface.co/perilli/OCS_Models/resolve/b60e09a77458f2defea945da0bdb9858be8ddee8/Encoding/Text/stable-diffusion-2-1-clip-fp16.safetensors
- Command line
-
hf download hf://perilli/OCS_Models@b60e09a77458f2defea945da0bdb9858be8ddee8/Encoding/Text/stable-diffusion-2-1-clip-fp16.safetensors
-
curl -L -o stable-diffusion-2-1-clip-fp16.safetensors https://huggingface.co/perilli/OCS_Models/resolve/b60e09a77458f2defea945da0bdb9858be8ddee8/Encoding/Text/stable-diffusion-2-1-clip-fp16.safetensors
681 MB
- Xet hash:
- 91bc1dcc5e3b904ec97a6f6820714e50c9ae1d15909c83e9dce93eec1b1105fb
- Size of remote file:
- 681 MB
- SHA256:
- 681c555376658c81dc273f2d737a2aeb23ddb6d1d8e5b3a7064636d359a22668
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.