Instructions to use CompVis/ldm-text2im-large-256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CompVis/ldm-text2im-large-256 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CompVis/ldm-text2im-large-256", 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 ·
207ff98
1
Parent(s): 8310ff5
finish config
Browse files- unet/config.json +0 -1
unet/config.json
CHANGED
|
@@ -16,7 +16,6 @@
|
|
| 16 |
1280
|
| 17 |
],
|
| 18 |
"center_input_sample": false,
|
| 19 |
-
"conv_resample": true,
|
| 20 |
"down_blocks": [
|
| 21 |
"CrossAttnDownBlock2D",
|
| 22 |
"CrossAttnDownBlock2D",
|
|
|
|
| 16 |
1280
|
| 17 |
],
|
| 18 |
"center_input_sample": false,
|
|
|
|
| 19 |
"down_blocks": [
|
| 20 |
"CrossAttnDownBlock2D",
|
| 21 |
"CrossAttnDownBlock2D",
|