Instructions to use amd/stable-diffusion-1.5_io32_amdgpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use amd/stable-diffusion-1.5_io32_amdgpu with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("amd/stable-diffusion-1.5_io32_amdgpu", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,15 @@ _io32: model input is fp32, model will convert the input to fp16, perform ops in
|
|
| 12 |
|
| 13 |
_io16: model input is fp16, perform ops in fp16 and write the final result in fp16
|
| 14 |
|
| 15 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
Use the code below to get started with the model.
|
| 18 |
|
|
|
|
| 12 |
|
| 13 |
_io16: model input is fp16, perform ops in fp16 and write the final result in fp16
|
| 14 |
|
| 15 |
+
## Running
|
| 16 |
+
|
| 17 |
+
### 1. Using Amuse GUI Application
|
| 18 |
+
|
| 19 |
+
Use Amuse GUI application to run it: https://www.amuse-ai.com/
|
| 20 |
+
use _io32 model to run with Amuse application
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
### 2. Inference Demo
|
| 24 |
|
| 25 |
Use the code below to get started with the model.
|
| 26 |
|