Instructions to use Andyrasika/lora_diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Andyrasika/lora_diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Andyrasika/lora_diffusion", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
9fe794f
1
Parent(s): f3eb465
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,6 +7,7 @@ The model is created using the following steps:
|
|
| 7 |
- Find the desired model (checkpoit or lora) on Civitai
|
| 8 |
- You can see some conversion scripts in diffusesrs. This time, only the scripts for converting checkpoit and lora are used.
|
| 9 |
It depends on the model type of Civitai. If it is a lora model, you need to specify a basic model
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
```
|
|
|
|
| 7 |
- Find the desired model (checkpoit or lora) on Civitai
|
| 8 |
- You can see some conversion scripts in diffusesrs. This time, only the scripts for converting checkpoit and lora are used.
|
| 9 |
It depends on the model type of Civitai. If it is a lora model, you need to specify a basic model
|
| 10 |
+
- Using __load_lora function from https://towardsdatascience.com/improving-diffusers-package-for-high-quality-image-generation-a50fff04bdd4
|
| 11 |
|
| 12 |
|
| 13 |
```
|