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
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
pipeline_tag: text-to-image
|
| 3 |
---
|
| 4 |
-
# Model Card for stable-diffusion-1.
|
| 5 |
|
| 6 |
Model was converted from https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5 with additional AMD Optimizations
|
| 7 |
|
|
|
|
| 1 |
---
|
| 2 |
pipeline_tag: text-to-image
|
| 3 |
---
|
| 4 |
+
# Model Card for stable-diffusion-1.5 optimized for AMD GPU
|
| 5 |
|
| 6 |
Model was converted from https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5 with additional AMD Optimizations
|
| 7 |
|