Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
art
artistic
anime
dreamshaper
Instructions to use Lykon/dreamshaper-8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Lykon/dreamshaper-8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Lykon/dreamshaper-8", 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
|
@@ -11,12 +11,12 @@ tags:
|
|
| 11 |
- diffusers
|
| 12 |
- anime
|
| 13 |
- dreamshaper
|
| 14 |
-
duplicated_from: lykon
|
| 15 |
---
|
| 16 |
|
| 17 |
# Dreamshaper 8
|
| 18 |
|
| 19 |
-
`lykon
|
| 20 |
|
| 21 |
Please consider supporting me:
|
| 22 |
- on [Patreon](https://www.patreon.com/Lykon275)
|
|
@@ -37,7 +37,7 @@ pip install diffusers transformers accelerate
|
|
| 37 |
from diffusers import AutoPipelineForText2Image, DEISMultistepScheduler
|
| 38 |
import torch
|
| 39 |
|
| 40 |
-
pipe = AutoPipelineForText2Image.from_pretrained('lykon
|
| 41 |
pipe.scheduler = DEISMultistepScheduler.from_config(pipe.scheduler.config)
|
| 42 |
pipe = pipe.to("cuda")
|
| 43 |
|
|
|
|
| 11 |
- diffusers
|
| 12 |
- anime
|
| 13 |
- dreamshaper
|
| 14 |
+
duplicated_from: lykon/dreamshaper-8
|
| 15 |
---
|
| 16 |
|
| 17 |
# Dreamshaper 8
|
| 18 |
|
| 19 |
+
`lykon/dreamshaper-8` is a Stable Diffusion model that has been fine-tuned on [runwayml/stable-diffusion-v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5).
|
| 20 |
|
| 21 |
Please consider supporting me:
|
| 22 |
- on [Patreon](https://www.patreon.com/Lykon275)
|
|
|
|
| 37 |
from diffusers import AutoPipelineForText2Image, DEISMultistepScheduler
|
| 38 |
import torch
|
| 39 |
|
| 40 |
+
pipe = AutoPipelineForText2Image.from_pretrained('lykon/dreamshaper-8', torch_dtype=torch.float16, variant="fp16")
|
| 41 |
pipe.scheduler = DEISMultistepScheduler.from_config(pipe.scheduler.config)
|
| 42 |
pipe = pipe.to("cuda")
|
| 43 |
|