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
Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
# ***WORK IN PROGRESS***
|
|
|
|
|
|
|
| 2 |
|
| 3 |
---
|
| 4 |
|
|
@@ -16,7 +18,7 @@ For example: *Realism 1.0 [fp16] [XLabs] for F1D.safetensors*
|
|
| 16 |
|
| 17 |
## Licenses
|
| 18 |
|
| 19 |
-
This
|
| 20 |
|
| 21 |
Users are responsible for complying with the terms of the license attached to each model. Redistribution or commercial use may be restricted depending on the license.
|
| 22 |
|
|
@@ -24,8 +26,8 @@ Users are responsible for complying with the terms of the license attached to ea
|
|
| 24 |
|
| 25 |
1. Read the documentation of the AP Workflow you are installing: [APW](https://perilli.com/ai/comfyui-ap-workflow/), [AP Plot](https://perilli.com/ai/comfyui-ap-plot/), or [AP Trainer](https://perilli.com/ai/comfyui-ap-trainer/).
|
| 26 |
2. Replicate the exact folder structure used in this repo on your local hard drive. Your root folder should be `APW_Models`.
|
| 27 |
-
3. Download the models you need. **Not every
|
| 28 |
-
4. Modify
|
| 29 |
|
| 30 |
```
|
| 31 |
comfyui:
|
|
|
|
| 1 |
# ***WORK IN PROGRESS***
|
| 2 |
+
# ***WORK IN PROGRESS***
|
| 3 |
+
# ***WORK IN PROGRESS***
|
| 4 |
|
| 5 |
---
|
| 6 |
|
|
|
|
| 18 |
|
| 19 |
## Licenses
|
| 20 |
|
| 21 |
+
This archive contains models contributed by different authors and research teams. Please refer to each model's individual license specific terms and conditions. The maintainers of this repository do not claim rights over any model unless explicitly stated.
|
| 22 |
|
| 23 |
Users are responsible for complying with the terms of the license attached to each model. Redistribution or commercial use may be restricted depending on the license.
|
| 24 |
|
|
|
|
| 26 |
|
| 27 |
1. Read the documentation of the AP Workflow you are installing: [APW](https://perilli.com/ai/comfyui-ap-workflow/), [AP Plot](https://perilli.com/ai/comfyui-ap-plot/), or [AP Trainer](https://perilli.com/ai/comfyui-ap-trainer/).
|
| 28 |
2. Replicate the exact folder structure used in this repo on your local hard drive. Your root folder should be `APW_Models`.
|
| 29 |
+
3. Download the models you need. **Not every AP Workflow needs all the models**.
|
| 30 |
+
4. Modify ComfyUI `extra_model_paths.yaml` as follows:
|
| 31 |
|
| 32 |
```
|
| 33 |
comfyui:
|