Instructions to use LottePeisch/2dn-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LottePeisch/2dn-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("LottePeisch/2dn-Diffusers", 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 ·
7b8896c
1
Parent(s): a3d6d60
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This repository is for the diffusers port of 2dn by Advokat, with some changes by myself:
|
| 2 |
+
|
| 3 |
+
- Switched out the default scheduler for EulerAncestralDiscreteScheduler
|
| 4 |
+
- Switched out the default tokenizer for laion/CLIP-convnext_xxlarge-laion2B-s34B-b82K-augreg-soup
|
| 5 |
+
|
| 6 |
+
Recommended sampler: Euler_A
|
| 7 |
+
Recommended CFG: 7-15
|
| 8 |
+
|
| 9 |
+
Works well with high res fix, but can also create direct 1024x768 images.
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
---
|
| 13 |
+
license: creativeml-openrail-m
|
| 14 |
+
pipeline_tag: text-to-image
|
| 15 |
+
---
|