H
Tencent-Hunyuan/HunyuanVideo★ 12,855 · Python
A dual-stream-to-single-stream Transformer for self-hosted text-to-video generation.
Custom / Check Repo
Side-by-side 2026 comparison in Voice, Vision & Video: huggingface/transformers.js leads in total GitHub adoption (★ 16.5k), while Tencent-Hunyuan/HunyuanVideo shows stronger 7-day momentum. Licensing: Custom / Check Repo vs Apache-2.0 · Commercial Friendly.
A dual-stream-to-single-stream Transformer for self-hosted text-to-video generation.
ONNX-powered JavaScript SDK for running multimodal inference in the browser
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | Tencent-Hunyuan/HunyuanVideo | huggingface/transformers.js |
|---|---|---|
| Total GitHub Stars | ★ 12,855 | ★ 16,461 |
| 24h / 7d Velocity | +4 / +34 | +0 / +13 |
| 7-Day Trend Curve | ||
| Engineering Health | B · 59/100 | A+ · 94/100 |
| Deployment Signals | GPU | Local AI |
| Primary Language | Python | JavaScript |
| Commercial License | Custom / Check Repo | Apache-2.0 · Commercial Friendly |
| Activity | Updated 1mo ago | Updated yesterday |
| Latest Release | Rolling commits (main) | 4.3.2 |
| Best For | Research and creative infrastructure teams with large-memory NVIDIA GPUs that need self-hosted text-to-video, controlled sampling experiments, or integration into Diffusers and ComfyUI workflows | Web teams shipping on-device transcription, image tools, or embeddings with validated ONNX checkpoints and a target-device test matrix |
# 1. Create conda environment conda create -n HunyuanVideo python==3.10.9 # 2. Activate the environment conda activate HunyuanVideo # 3. Install PyTorch # For CUDA 11.8 pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu118 # For CUDA 12.6 pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu126 # 4. Install pip dependencies python -m pip install -r requirements.txt # 5. Install flash attention v2 for acceleration (requires CUDA 11.8 or above) python -m pip install ninja python -m pip install git+https://github.com/Dao-AILab/flash-attention.git@v2.8.3 # 6. Install xDiT for parallel inference (It is recommended to use torch 2.7.1 and flash-attn 2.8.3) python -m pip install xfuser==0.4.0
pipeline(task, modelIdOrPath, options) combines model loading, input preprocessing, and output postprocessing.device: 'webgpu'.dtype selects available precision or quantized variants; options depend on the checkpoint.npm i @huggingface/transformersSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy