Instructions to use nitrosocke/elden-ring-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nitrosocke/elden-ring-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("nitrosocke/elden-ring-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
- Draw Things
- DiffusionBee
Add diffusers example
#3
by patrickvonplaten - opened
README.md
CHANGED
|
@@ -15,6 +15,13 @@ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffuse
|
|
| 15 |
|
| 16 |
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
```python
|
| 19 |
#!pip install diffusers transformers scipy torch
|
| 20 |
from diffusers import StableDiffusionPipeline
|
|
|
|
| 15 |
|
| 16 |
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
|
| 17 |
|
| 18 |
+
### 🧨 Diffusers
|
| 19 |
+
|
| 20 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
| 21 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
| 22 |
+
|
| 23 |
+
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
|
| 24 |
+
|
| 25 |
```python
|
| 26 |
#!pip install diffusers transformers scipy torch
|
| 27 |
from diffusers import StableDiffusionPipeline
|