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
|
@@ -23,13 +23,13 @@ Users are responsible for complying with the terms of the license attached to ea
|
|
| 23 |
## How to use this archive
|
| 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 `
|
| 27 |
3. Download the models you need. **Not every workflow needs all the models**.
|
| 28 |
4. Modify your `extra_model_paths.yaml` as follows:
|
| 29 |
|
| 30 |
```
|
| 31 |
comfyui:
|
| 32 |
-
base_path: [your_drive]\
|
| 33 |
Generation_models: |
|
| 34 |
Generation\Image
|
| 35 |
Generation\Video
|
|
|
|
| 23 |
## How to use this archive
|
| 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 workflow needs all the models**.
|
| 28 |
4. Modify your `extra_model_paths.yaml` as follows:
|
| 29 |
|
| 30 |
```
|
| 31 |
comfyui:
|
| 32 |
+
base_path: [your_drive]\APW_Models\
|
| 33 |
Generation_models: |
|
| 34 |
Generation\Image
|
| 35 |
Generation\Video
|