Instructions to use nitrosocke/Future-Diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nitrosocke/Future-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/Future-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 Settings
- Draw Things
- DiffusionBee
Commit ·
c43f702
1
Parent(s): bbfc803
Updated the correct sample_size from stabilityai/stable-diffusion-2-base
Browse files- unet/config.json +2 -2
unet/config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
"_diffusers_version": "0.9.0.dev0",
|
| 4 |
-
"_name_or_path": "
|
| 5 |
"act_fn": "silu",
|
| 6 |
"attention_head_dim": [
|
| 7 |
5,
|
|
@@ -35,7 +35,7 @@
|
|
| 35 |
"num_class_embeds": null,
|
| 36 |
"only_cross_attention": false,
|
| 37 |
"out_channels": 4,
|
| 38 |
-
"sample_size":
|
| 39 |
"up_block_types": [
|
| 40 |
"UpBlock2D",
|
| 41 |
"CrossAttnUpBlock2D",
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
"_diffusers_version": "0.9.0.dev0",
|
| 4 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-base",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"attention_head_dim": [
|
| 7 |
5,
|
|
|
|
| 35 |
"num_class_embeds": null,
|
| 36 |
"only_cross_attention": false,
|
| 37 |
"out_channels": 4,
|
| 38 |
+
"sample_size": 64,
|
| 39 |
"up_block_types": [
|
| 40 |
"UpBlock2D",
|
| 41 |
"CrossAttnUpBlock2D",
|