Instructions to use CSWRY/VOSR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CSWRY/VOSR with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CSWRY/VOSR", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download sd21_lwdecoder.pth from CSWRY/VOSR: direct link, hf CLI and curl.
- Browser
- Download file 52.1 MB
-
https://huggingface.co/CSWRY/VOSR/resolve/refs%2Fpr%2F2/sd21_lwdecoder.pth
- Command line
-
hf download hf://CSWRY/VOSR@refs/pr/2/sd21_lwdecoder.pth
-
curl -L -o sd21_lwdecoder.pth https://huggingface.co/CSWRY/VOSR/resolve/refs%2Fpr%2F2/sd21_lwdecoder.pth
52.1 MB
- Xet hash:
- 888f00b3ec6a016b5be8d5070a9a3d0043dc41f9bd2da46c7467cb3ea9770ec5
- Size of remote file:
- 52.1 MB
- SHA256:
- a326a5e5c4a2445ce970987695979f3d5e5413d39b98c73a2ddac0055d2cdf59
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.