Instructions to use LanguageBind/Open-Sora-Plan-v1.1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LanguageBind/Open-Sora-Plan-v1.1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("LanguageBind/Open-Sora-Plan-v1.1.0", 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
Upload 2 files
Browse files
model/config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "LatteT2V",
|
| 3 |
+
"_diffusers_version": "0.27.2",
|
| 4 |
+
"_name_or_path": "/home/image_data/checkpoints/512_based_linbin_lr1e-5_node46_ddp/checkpoint-9000",
|
| 5 |
+
"activation_fn": "gelu-approximate",
|
| 6 |
+
"attention_bias": true,
|
| 7 |
+
"attention_head_dim": 72,
|
| 8 |
+
"attention_mode": "xformers",
|
| 9 |
+
"attention_type": "default",
|
| 10 |
+
"caption_channels": 4096,
|
| 11 |
+
"compress_kv_factor": 1,
|
| 12 |
+
"cross_attention_dim": 1152,
|
| 13 |
+
"double_self_attention": false,
|
| 14 |
+
"dropout": 0.0,
|
| 15 |
+
"in_channels": 4,
|
| 16 |
+
"model_max_length": 300,
|
| 17 |
+
"norm_elementwise_affine": false,
|
| 18 |
+
"norm_eps": 1e-06,
|
| 19 |
+
"norm_num_groups": 32,
|
| 20 |
+
"norm_type": "ada_norm_single",
|
| 21 |
+
"num_attention_heads": 16,
|
| 22 |
+
"num_embeds_ada_norm": 1000,
|
| 23 |
+
"num_layers": 28,
|
| 24 |
+
"num_vector_embeds": null,
|
| 25 |
+
"only_cross_attention": false,
|
| 26 |
+
"out_channels": 8,
|
| 27 |
+
"patch_size": 2,
|
| 28 |
+
"patch_size_t": 1,
|
| 29 |
+
"rope_scaling_type": "linear",
|
| 30 |
+
"sample_size": [
|
| 31 |
+
64,
|
| 32 |
+
64
|
| 33 |
+
],
|
| 34 |
+
"upcast_attention": false,
|
| 35 |
+
"use_linear_projection": false,
|
| 36 |
+
"use_rope": false,
|
| 37 |
+
"video_length": 17
|
| 38 |
+
}
|
model/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13ce18d23fd6015d327fc752035f6b30e91060073bd1994d0ebf95332a9a29f8
|
| 3 |
+
size 4231066656
|