Text-to-Video
Diffusers
Safetensors
LongLive2Pipeline
sglang
longlive
autoregressive
video-generation
Instructions to use Rabinovich/LongLive-2.0-5B-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Rabinovich/LongLive-2.0-5B-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("Rabinovich/LongLive-2.0-5B-Diffusers", torch_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: 1,405 Bytes
5316bcf 0410f49 37664a6 0410f49 37664a6 5316bcf 0410f49 37664a6 | 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 | ---
base_model:
- Wan-AI/Wan2.2-TI2V-5B-Diffusers
- Efficient-Large-Model/LongLive-2.0-5B
pipeline_tag: text-to-video
tags:
- sglang
- longlive
- autoregressive
- video-generation
---
# LongLive-2.0-5B (Diffusers-format, for SGLang Diffusion)
A diffusers-directory-layout repackaging of [Efficient-Large-Model/LongLive-2.0-5B](https://huggingface.co/Efficient-Large-Model/LongLive-2.0-5B)
so it loads directly in **SGLang Diffusion** (`sglang.multimodal_gen`) without any runtime overlay/materialization.
- **transformer/** — the `generator` weights extracted from the original `model_bf16.pt`, kept in their
original (`model.*`) naming; SGLang's `LongLive2Transformer3DModel.param_names_mapping` maps them to the
diffusers module names at load (same convention as LingBot-World).
- **scheduler / text_encoder / tokenizer / vae** — taken from `Wan-AI/Wan2.2-TI2V-5B-Diffusers`.
- `model_index.json` `_class_name = LongLive2Pipeline`.
## Usage (SGLang)
```bash
sglang generate --model-path Rabinovich/LongLive-2.0-5B-Diffusers \
--prompt "A compact silver robot walks through a clean robotics lab." \
--num-frames 61 --height 480 --width 832 --num-inference-steps 4 --save-output
```
Original model & method: [NVlabs/LongLive](https://github.com/NVlabs/LongLive).
License: [NVIDIA Open Model License](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/) |