Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Instructions to use digiplay/nk15_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use digiplay/nk15_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("digiplay/nk15_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
- Draw Things
- DiffusionBee
Adding `diffusers` weights of this model
#2
by digiplay - opened
- unet/config.json +1 -1
- vae/config.json +1 -1
unet/config.json
CHANGED
|
@@ -44,7 +44,7 @@
|
|
| 44 |
"resnet_out_scale_factor": 1.0,
|
| 45 |
"resnet_skip_time_act": false,
|
| 46 |
"resnet_time_scale_shift": "default",
|
| 47 |
-
"sample_size":
|
| 48 |
"time_cond_proj_dim": null,
|
| 49 |
"time_embedding_act_fn": null,
|
| 50 |
"time_embedding_dim": null,
|
|
|
|
| 44 |
"resnet_out_scale_factor": 1.0,
|
| 45 |
"resnet_skip_time_act": false,
|
| 46 |
"resnet_time_scale_shift": "default",
|
| 47 |
+
"sample_size": 64,
|
| 48 |
"time_cond_proj_dim": null,
|
| 49 |
"time_embedding_act_fn": null,
|
| 50 |
"time_embedding_dim": null,
|
vae/config.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
| 19 |
"layers_per_block": 2,
|
| 20 |
"norm_num_groups": 32,
|
| 21 |
"out_channels": 3,
|
| 22 |
-
"sample_size":
|
| 23 |
"scaling_factor": 0.18215,
|
| 24 |
"up_block_types": [
|
| 25 |
"UpDecoderBlock2D",
|
|
|
|
| 19 |
"layers_per_block": 2,
|
| 20 |
"norm_num_groups": 32,
|
| 21 |
"out_channels": 3,
|
| 22 |
+
"sample_size": 512,
|
| 23 |
"scaling_factor": 0.18215,
|
| 24 |
"up_block_types": [
|
| 25 |
"UpDecoderBlock2D",
|