Instructions to use onkarsus13/CVVAE_Modified with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use onkarsus13/CVVAE_Modified with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("onkarsus13/CVVAE_Modified", 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
File size: 743 Bytes
9dadd91 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | {
"_class_name": "CVVAEModel",
"_diffusers_version": "0.26.3",
"attn_resolutions": [],
"causal_decoder": false,
"causal_encoder": true,
"ch": 128,
"ch_mult": [
1,
2,
4,
4
],
"decoder_attn_type": "spatial-temporal-xformer",
"double_z": true,
"dropout": 0.0,
"en_de_n_frames_a_time": 16,
"encoder_attn_type": "vanilla-xformers",
"half_3d": true,
"in_channels": 3,
"num_res_blocks": 2,
"num_video_frames": null,
"out_ch": 3,
"scaling_factor": 0.18215,
"force_upcast": true,
"reshape_x_dim_to_4": false,
"reshape_z_dim_to_4": false,
"spatial_n_compress": 8,
"tile_overlap_ratio": 0.2222,
"tile_spatial_size": 576,
"time_n_compress": 4,
"use_3d_conv": true,
"z_channels": 4
}
|