File size: 22,133 Bytes
8807f5a e53741b 8807f5a 8d85a26 8807f5a 95796ec 8807f5a 2780bd9 8807f5a 1b09cd0 8807f5a 2780bd9 e03d084 8807f5a 2780bd9 8807f5a 95796ec 8807f5a 4737e5a e03d084 8807f5a e03d084 8807f5a 2780bd9 8807f5a 2780bd9 8807f5a e03d084 8807f5a e03d084 2780bd9 e03d084 2780bd9 e03d084 2780bd9 e03d084 2780bd9 e03d084 8807f5a 1b37b77 8807f5a e03d084 8807f5a 1b37b77 8807f5a e03d084 | 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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 | ---
license: apache-2.0
language:
- en
base_model:
- Wan-AI/Wan2.1-T2V-14B-Diffusers
pipeline_tag: text-to-video
base_model_relation: finetune
library_name: diffusers
---
<div align=center>
<img src="https://github.com/PKU-YuanGroup/Helios-Page/blob/main/figures/logo_white.png?raw=true" width="300px">
</div>
<h1 align="center">Helios: Real Real-Time Long Video Generation Model</h1>
<h5 align="center">β 14B Real-Time Long Video Generation Model can be Cheaper, Faster but Keep Stronger than 1.3B ones β</h5>
<h5 align="center">
[](https://arxiv.org/abs/2603.04379)
[](https://huggingface.co/papers/2603.04379)
[](https://pku-yuangroup.github.io/Helios-Page)
[](https://huggingface.co/spaces/multimodalart/Helios-Distilled/)
[](https://huggingface.co/collections/BestWishYsh/helios)
[](https://modelscope.cn/collections/BestWishYSH/Helios)
[](https://github.com/PKU-YuanGroup/Helios)
[](https://gitcode.com/weixin_47617277/Helios)
[](https://www.hiascend.com/)
[](https://github.com/huggingface/diffusers/pull/13208)
[](https://github.com/vllm-project/vllm-omni/pull/1604)
[](https://github.com/sgl-project/sglang/pull/19782)
</h5>
<div align="center">
This repository is the official implementation of Helios, which is a breakthrough video generation model that achieves minute-scale, high-quality video synthesis at <strong>19.5 FPS on a single H100 GPU</strong> (about 10 FPS on a single Ascend NPU) βwithout relying on conventional long video anti-drifting strategies or standard video acceleration techniques.
</div>
<br>
## β¨ Highlights
1. **Without commonly used anti-drifting strategies** (e.g., self-forcing, error-banks, keyframe sampling, or inverted sampling), Helios generates minute-scale videos with high quality and strong coherence.
2. **Without standard acceleration techniques** (e.g., KV-cache, causal masking, sparse/linear attention, TinyVAE, progressive noise schedules, hidden-state caching, or quantization), Helios achieves 19.5 FPS in end-to-end inference on a single H100 GPU.
3. **We introduce optimizations that improve both training and inference throughput while reducing memory consumption,** enabling image-diffusion-scale batch sizes during training while fitting up to four 14B models within 80 GB of GPU memory.
## π¬ Video Demos
<!-- <div align="center">
<video src="https://github.com/PKU-YuanGroup/Helios-Page/blob/main/videos/helios_features.mp4?raw=true" width="70%" controls="controls" poster=""></video>
</div>
or you can click <a href="https://www.youtube.com/watch?v=vd_AgHtOUFQ">here</a> to get the video. Some best prompts are [here](./example/prompt.txt). -->
[](https://www.youtube.com/watch?v=vd_AgHtOUFQ)
or you can click <a href="https://github.com/PKU-YuanGroup/Helios-Page/blob/main/videos/helios_features.mp4">here</a> to get the video. Some best prompts are [here](./example/prompt.txt).
## π£ Latest News!!
* `[2026.03.04]` π We are excited to announce the release of the Helios [technical report](https://arxiv.org/abs/2603.04379) on arXiv. We welcome discussions and feedback!
* `[2026.03.04]` π Day-0 support for [Ascend-NPU](https://www.hiascend.com)οΌwith sincere gratitude to the Ascend Team for their support.
* `[2026.03.04]` π Day-0 support for [Diffusers](https://github.com/huggingface/diffusers/pull/13208)οΌwith special thanks to the HuggingFace Team for their support.
* `[2026.03.04]` π Day-0 support for [vLLM-Omni](https://github.com/vllm-project/vllm-omni/pull/1604)οΌwith heartfelt gratitude to the vLLM Team for their support.
* `[2026.03.04]` π Day-0 support for [SGLang-Diffusion](https://github.com/sgl-project/sglang/pull/19782)οΌwith huge thanks to the SGLang Team for their support.
* `[2026.03.04]` π₯ We've released the training/inference code and weights of **Helios-Base**, **Helios-Mid** and **Helios-Distilled**.
## π₯ Friendly Links
If your work has improved **Helios** and you would like more people to see it, please inform us.
* [Ascend-NPU](https://www.hiascend.com/): Developed by Huawei, this hardware is designed for efficient AI model training and inference, boosting performance in tasks like computer vision, natural language processing, and autonomous driving.
* [Diffusers](https://github.com/huggingface/diffusers): A popular library designed for working with diffusion models and other generative models in deep learning. It supports easy integration and manipulation of a wide range of generative models.
* [vLLM-Omni](https://github.com/vllm-project/vllm-omni): A fully disaggregated serving system for any-to-any models. vLLM-Omni breaks complex architectures into a stage-based graph, using a decoupled backend to maximize resource efficiency and throughput.
* [SGLang-Diffusion](https://github.com/sgl-project/sglang): An inference framework for accelerated image and video generation using diffusion models. It provides an end-to-end unified pipeline with optimized kernels and an efficient scheduler loop.
### Model Download
| Models | Download Link | Supports | Notes |
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|---------------------------------------------------------------------------------------------|
| Helios-Base | π€ [Huggingface](https://huggingface.co/BestWishYsh/Helios-Base) π€ [ModelScope](https://modelscope.cn/models/BestWishYSH/Helios-Base) | T2V β
I2V β
V2V β
Interactive β
| Best Quality, with v-prediction, standard CFG and custom HeliosScheduler. |
| Helios-Mid | π€ [Huggingface](https://huggingface.co/BestWishYsh/Helios-Mid) π€ [ModelScope](https://modelscope.cn/models/BestWishYSH/Helios-Mid) | T2V β
I2V β
V2V β
Interactive β
| Intermediate Ckpt, with v-prediction, CFG-Zero* and custom HeliosScheduler. |
| Helios-Distilled | π€ [Huggingface](https://huggingface.co/BestWishYsh/Helios-Distilled) π€ [ModelScope](https://modelscope.cn/models/BestWishYSH/Helios-Distilled) | T2V β
I2V β
V2V β
Interactive β
| Best Efficiency, with x0-prediction and custom HeliosDMDScheduler. |
> π‘Note:
> * All three models share the same architecture, but Helios-Mid and Helios-Distilled use a more aggressive multi-scale sampling pipeline to achieve better efficiency.
> * Helios-Mid is an intermediate checkpoint generated in the process of distilling Helios-Base into Helios-Distilled, and may not meet expected quality.
> * For Image-to-Video or Video-to-Video, since training is based on Text-to-Video, these two functions may be slightly inferior to Text-to-Video. You may enable `is_skip_first_chunk` if you find the first few chunks are static.
Download models using huggingface-cli:
``` sh
pip install "huggingface_hub[cli]"
huggingface-cli download BestWishYSH/Helios-Base --local-dir BestWishYSH/Helios-Base
huggingface-cli download BestWishYSH/Helios-Mid --local-dir BestWishYSH/Helios-Mid
huggingface-cli download BestWishYSH/Helios-Distilled --local-dir BestWishYSH/HeliosDistillede
```
Download models using modelscope-cli:
``` sh
pip install modelscope
modelscope download BestWishYSH/Helios-Base --local_dir BestWishYSH/Helios-Base
modelscope download BestWishYSH/Helios-Mid --local-dir BestWishYSH/Helios-Mid
modelscope download BestWishYSH/Helios-Distilled --local-dir BestWishYSH/HeliosDistillede
```
## π Inference
Helios uses an autoregressive approach that generates **33 frames per chunk**. For optimal performance, `num_frames` should be set to a multiple of `33`. If a non-multiple value is provided, it will be automatically rounded up to the nearest multiple of 33.
**Example frame counts for different video lengths:**
| num_frames | Adjusted Frames | 24 FPS | 16 FPS |
|------------|-----------------|--------|--------|
| 1449 | 1452 (33Γ44) | ~60s (1min) | ~90s (1min 30s) |
| 720 | 726 (33Γ22) | ~30s | ~45s |
| 240 | 264 (33Γ8) | ~11s | ~16s |
| 129 | 132 (33Γ4) | ~5.5s | ~8s |
### Sanity Check
Before trying your own inputs, we highly recommend going through the sanity check to find out if any hardware or software went wrong.
| Task | **Helios-Base** | **Helios-Mid** | **Helios-Distilled** |
| ------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| **T2V** | <video src="https://github.com/user-attachments/assets/14e10753-0366-4790-ad8f-7b66d821ed11" controls width="240"></video> | <video src="https://github.com/user-attachments/assets/c1778691-a80b-428c-8094-88bb1dd1d52b" controls width="240"></video> | <video src="https://github.com/user-attachments/assets/4ca28c79-9dfa-49de-9c3a-f4c7b6c766cd" controls width="240"></video> |
| **V2V** | <video src="https://github.com/user-attachments/assets/420cb572-85c2-42d8-98d7-37b0bc24c844" controls width="240"></video> | <video src="https://github.com/user-attachments/assets/7d703fa6-dc1a-4138-a897-e58cfd9236d6" controls width="240"></video> | <video src="https://github.com/user-attachments/assets/45329c55-1a25-459c-bbf0-4e584ec5b23d" controls width="240"></video> |
### β¨ Diffusers Pipeline
Install diffusers from source:
```bash
pip install git+https://github.com/huggingface/diffusers.git
```
For example, let's take Helios-Distilled.
<details>
<summary>Click to expand the code</summary>
```bash
import torch
from diffusers import ModularPipeline, ClassifierFreeGuidance
from diffusers.utils import export_to_video, load_image, load_video
mod_pipe = ModularPipeline.from_pretrained("BestWishYsh/Helios-Distilled")
mod_pipe.load_components(torch_dtype=torch.bfloat16)
mod_pipe.to("cuda")
# we need to upload guider to the model repo, so each checkpoint will be able to config their guidance differently
guider = ClassifierFreeGuidance(guidance_scale=1.0)
mod_pipe.update_components(guider=guider)
# --- T2V ---
print("=== T2V ===")
prompt = (
"A vibrant tropical fish swimming gracefully among colorful coral reefs in a clear, turquoise ocean. "
"The fish has bright blue and yellow scales with a small, distinctive orange spot on its side, its fins moving "
"fluidly. The coral reefs are alive with a variety of marine life, including small schools of colorful fish and "
"sea turtles gliding by. The water is crystal clear, allowing for a view of the sandy ocean floor below. The reef "
"itself is adorned with a mix of hard and soft corals in shades of red, orange, and green. The photo captures "
"the fish from a slightly elevated angle, emphasizing its lively movements and the vivid colors of its surroundings. "
"A close-up shot with dynamic movement."
)
output = mod_pipe(
prompt=prompt,
height=384,
width=640,
num_frames=240,
pyramid_num_inference_steps_list=[2, 2, 2],
is_amplify_first_chunk=True,
generator=torch.Generator("cuda").manual_seed(42),
output="videos",
)
export_to_video(output[0], "helios_distilled_modular_t2v_output.mp4", fps=24)
print(f"T2V max memory: {torch.cuda.max_memory_allocated() / 1024**3:.3f} GB")
torch.cuda.empty_cache()
torch.cuda.reset_peak_memory_stats()
# --- I2V ---
print("=== I2V ===")
image = load_image(
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/helios/wave.jpg"
)
i2v_prompt = (
"A towering emerald wave surges forward, its crest curling with raw power and energy. "
"Sunlight glints off the translucent water, illuminating the intricate textures and deep green hues within the wave's body."
)
output = mod_pipe(
prompt=i2v_prompt,
image=image,
height=384,
width=640,
num_frames=240,
pyramid_num_inference_steps_list=[2, 2, 2],
is_amplify_first_chunk=True,
generator=torch.Generator("cuda").manual_seed(42),
output="videos",
)
export_to_video(output[0], "helios_distilled_modular_i2v_output.mp4", fps=24)
print(f"I2V max memory: {torch.cuda.max_memory_allocated() / 1024**3:.3f} GB")
torch.cuda.empty_cache()
torch.cuda.reset_peak_memory_stats()
# --- V2V ---
print("=== V2V ===")
video = load_video(
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/helios/car.mp4"
)
v2v_prompt = (
"A dynamic time-lapse video showing the rapidly moving scenery from the window of a speeding train. "
"The camera captures various elements such as lush green fields, towering trees, quaint countryside houses, "
"and distant mountain ranges passing by quickly."
)
output = mod_pipe(
prompt=v2v_prompt,
video=video,
height=384,
width=640,
num_frames=240,
pyramid_num_inference_steps_list=[2, 2, 2],
is_amplify_first_chunk=True,
generator=torch.Generator("cuda").manual_seed(42),
output="videos",
)
export_to_video(output[0], "helios_distilled_modular_v2v_output.mp4", fps=24)
print(f"V2V max memory: {torch.cuda.max_memory_allocated() / 1024**3:.3f} GB")
```
</details>
### β¨ vLLM-Omni Pipeline
Install vllm-omni from source:
```bash
pip install git+https://github.com/vllm-project/vllm-omni.git
```
For example, let's take Text-to-Video.
<details>
<summary>Click to expand the code</summary>
```bash
cd vllm-omni
# Helios-Base
python3 examples/offline_inference/helios/end2end.py \
--sample-type t2v \
--model ./Helios-Base \
--prompt "A vibrant tropical fish swimming gracefully among colorful coral reefs in a clear, turquoise ocean. The fish has bright blue and yellow scales with a small, distinctive orange spot on its side, its fins moving fluidly. The coral reefs are alive with a variety of marine life, including small schools of colorful fish and sea turtles gliding by. The water is crystal clear, allowing for a view of the sandy ocean floor below. The reef itself is adorned with a mix of hard and soft corals in shades of red, orange, and green. The photo captures the fish from a slightly elevated angle, emphasizing its lively movements and the vivid colors of its surroundings. A close-up shot with dynamic movement." \
--num-frames 99 \
--seed 42 \
--output helios_t2v_base.mp4
# Helios-Mid
python examples/offline_inference/helios/end2end.py \
--model ./Helios-Mid --sample-type t2v \
--prompt "A vibrant tropical fish swimming gracefully among colorful coral reefs in a clear, turquoise ocean. The fish has bright blue and yellow scales with a small, distinctive orange spot on its side, its fins moving fluidly. The coral reefs are alive with a variety of marine life, including small schools of colorful fish and sea turtles gliding by. The water is crystal clear, allowing for a view of the sandy ocean floor below. The reef itself is adorned with a mix of hard and soft corals in shades of red, orange, and green. The photo captures the fish from a slightly elevated angle, emphasizing its lively movements and the vivid colors of its surroundings. A close-up shot with dynamic movement." \
--guidance-scale 5.0 --is-enable-stage2 \
--pyramid-num-inference-steps-list 20 20 20 \
--num-frames 99 \
--use-cfg-zero-star --use-zero-init --zero-steps 1 \
--output helios_t2v_mid.mp4
# Helios-Distilled
python examples/offline_inference/helios/end2end.py \
--model ./Helios-Distilled --sample-type t2v \
--prompt "A vibrant tropical fish swimming gracefully among colorful coral reefs in a clear, turquoise ocean. The fish has bright blue and yellow scales with a small, distinctive orange spot on its side, its fins moving fluidly. The coral reefs are alive with a variety of marine life, including small schools of colorful fish and sea turtles gliding by. The water is crystal clear, allowing for a view of the sandy ocean floor below. The reef itself is adorned with a mix of hard and soft corals in shades of red, orange, and green. The photo captures the fish from a slightly elevated angle, emphasizing its lively movements and the vivid colors of its surroundings. A close-up shot with dynamic movement." \
--num-frames 240 --guidance-scale 1.0 --is-enable-stage2 \
--pyramid-num-inference-steps-list 2 2 2 \
--is-amplify-first-chunk --output helios_t2v_distilled.mp4
```
</details>
### β¨ SGLang-Diffusion Pipeline
Install sglang-diffusion from source:
```bash
pip install git+https://github.com/sgl-project/sglang.git
```
For example, let's take Helios-Base. **(Native Support)**
<details>
<summary>Click to expand the code</summary>
```bash
sglang generate \
--model-path BestWishYsh/Helios-Base \
--prompt "A vibrant tropical fish swimming gracefully among colorful coral reefs in a clear, turquoise ocean. The fish has bright blue and yellow scales with a small, distinctive orange spot on its side, its fins moving fluidly. The coral reefs are alive with a variety of marine life, including small schools of colorful fish and sea turtles gliding by. The water is crystal clear, allowing for a view of the sandy ocean floor below. The reef itself is adorned with a mix of hard and soft corals in shades of red, orange, and green. The photo captures the fish from a slightly elevated angle, emphasizing its lively movements and the vivid colors of its surroundings. A close-up shot with dynamic movement." \
--negative-prompt "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards" \
--height 384 \
--width 640 \
--num-frames 99 \
--num-inference-steps 50 \
--guidance-scale 5.0
```
</details>
For example, let's take Helios-Base. **(Diffusers Backend)**
<details>
<summary>Click to expand the code</summary>
```bash
sglang generate \
--model-path BestWishYsh/Helios-Base \
--prompt "A vibrant tropical fish swimming gracefully among colorful coral reefs in a clear, turquoise ocean. The fish has bright blue and yellow scales with a small, distinctive orange spot on its side, its fins moving fluidly. The coral reefs are alive with a variety of marine life, including small schools of colorful fish and sea turtles gliding by. The water is crystal clear, allowing for a view of the sandy ocean floor below. The reef itself is adorned with a mix of hard and soft corals in shades of red, orange, and green. The photo captures the fish from a slightly elevated angle, emphasizing its lively movements and the vivid colors of its surroundings. A close-up shot with dynamic movement." \
--negative-prompt "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards" \
--height 384 \
--width 640 \
--num-frames 99 \
--num-inference-steps 50 \
--guidance-scale 5.0 \
--backend diffusers
```
</details>
## π Description
- **Repository:** [Code](https://github.com/PKU-YuanGroup/Helios), [Page](https://pku-yuangroup.github.io/Helios-Page/)
- **Paper:** [https://huggingface.co/papers/2603.04379](https://huggingface.co/papers/2603.04379)
- **Point of Contact:** [Shenghai Yuan](shyuan-cs@hotmail.com)
## βοΈ Citation
If you find our paper and code useful in your research, please consider giving a star β and citation π:
```BibTeX
@article{helios,
title={Helios: Real Real-Time Long Video Generation Model},
author={Yuan, Shenghai and Yin, Yuanyang and Li, Zongjian and Huang, Xinwei and Yang, Xiao and Yuan, Li},
journal={arXiv preprint arXiv:2603.04379},
year={2026}
}
``` |