File size: 1,572 Bytes
401dce8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
license: apache-2.0
library_name: fastvideo
pipeline_tag: text-to-video
base_model: robbyant/lingbot-video-moe-30b-a3b
tags:
  - fastvideo
  - video-generation
  - text-to-video
  - mixture-of-experts
  - lingbot-video
---

# LingBot-Video MoE 30B-A3B for FastVideo

This repository contains the released LingBot-Video MoE 30B-A3B base model and
its second-stage refiner in the component layout loaded natively by FastVideo.

## Usage

Use a FastVideo revision containing
[LingBot-Video support](https://github.com/hao-ai-lab/FastVideo/pull/1595):

```python
from fastvideo import VideoGenerator

generator = VideoGenerator.from_pretrained(
    "FastVideo/LingBot-Video-MoE-30B-A3B-Diffusers",
    num_gpus=8,
    sp_size=8,
    use_fsdp_inference=True,
    refine_enabled=True,
    text_encoder_cpu_offload=True,
)
result = generator.generate({
    "prompt": "A red fox runs through fresh snow at sunrise.",
    "output": {"output_path": "outputs/lingbot-video", "save_video": True},
})
generator.shutdown()
```

The released preset generates a 121-frame 832×480 base video and optionally
refines it to 1920×1088. Set `refine_enabled=False` when loading the model to run
the base MoE transformer without the refiner.

## Provenance

- Original model: https://huggingface.co/robbyant/lingbot-video-moe-30b-a3b
- Original code: https://github.com/robbyant/lingbot-video
- FastVideo port: https://github.com/hao-ai-lab/FastVideo/pull/1595

The original model and this converted package are distributed under the
Apache-2.0 license declared by the released checkpoint.