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 # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CSWRY/VOSR", 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
| [tool.black] | |
| line-length = 120 | |
| [tool.pylint.master] | |
| persistent = false | |
| score = false | |
| [tool.pylint.messages_control] | |
| disable = "all" | |
| enable = [ | |
| "miscellaneous", | |
| "similarities", | |
| ] | |
| [tool.pylint.similarities] | |
| ignore-comments = true | |
| ignore-docstrings = true | |
| ignore-imports = true | |
| min-similarity-lines = 8 | |
| [tool.pylint.reports] | |
| reports = false | |
| [tool.pylint.miscellaneous] | |
| notes = [ | |
| "FIXME", | |
| "XXX", | |
| "TODO", | |
| ] | |