Tencent/WeMM-Video
Machine LearningA family of open omni-modal video models that jointly understand frames, audio, images, and text for multimodal reasoning.
Project Overview
WeMM-Video is an open family of Chinese–English bilingual omni-modal foundation models from WeChat Vision at Tencent. It takes text, images, audio, and video (optionally with the original soundtrack) and returns text. For video it can reason over frames alone or frames plus audio, which makes it relevant for audio-visual understanding, captioning, speech-and-scene description, and multi-step reasoning tasks.
The family ships 2B, 4B and 9B dense models plus a 35B-A3B mixture-of-experts model, trained on roughly 1.2 trillion multimodal tokens. Each size is available in BF16, FP8 Block128, AWQ W4A16, GGUF Q4_K_M and NVFP4 W4A16 formats in the Hugging Face model collection. There are two inference modes: Instruct for fast direct answers and Thinking for explicit multi-step reasoning. The project reports leading open-source results on omni-modal video understanding, including comparisons against proprietary models; those numbers come from the authors' paper and benchmark figures, and are not independently verified here.
Get Started
Prerequisites: Python 3.12, an NVIDIA GPU with a driver compatible with CUDA 12.9, and FFmpeg. TorchCodec needs extra shared libraries, documented in the host prerequisites. Run the following from the project root.
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install --index-url https://download.pytorch.org/whl/cu129 \
torch==2.10.0 torchvision==0.25.0 torchcodec==0.10.0
python -m pip install transformers==5.2.0 accelerate pillow librosa soundfile scipy requests
Then load the 2B checkpoint through Transformers. The model repo uses custom code, so trust_remote_code=True is required; the README recommends reviewing that code first and pinning revision to a commit SHA so weights and code stay fixed.
import torch
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "tencent/WeMM-Video-2B"
processor = AutoProcessor.from_pretrained(model_id, revision="main", trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
model_id, revision="main", trust_remote_code=True,
dtype=torch.bfloat16, device_map="auto",
)
Build a chat message with media items plus a text prompt (image, audio, video, or video_audio), apply the chat template with enable_thinking=False for Instruct mode, and call model.generate. The included example answers text, image, audio, and video requests and expects, for instance, 10:05 on the meeting-time question. For video-with-audio only, run python examples/transformers_video.py, which accepts --video, --model, and --revision. More text/image/audio/video snippets are in the examples.
Serving
For production throughput, the repo documents patched vLLM and SGLang serving plus a native GGUF runtime. Both Docker images open a Bash shell; with Docker and the NVIDIA Container Toolkit configured, start a backend on local port 8000 and check it with curl http://127.0.0.1:8000/health. Requests go to POST /v1/chat/completions with a video_url content item; use_audio selects soundtrack or frames only, and fps/max_frames control sampling. Each request can carry up to four images, two videos, and two audio items within the configured context length. Runtime format support differs: Transformers and SGLang handle BF16, while patched vLLM adds FP8, AWQ and NVFP4, and GGUF Q4_K_M runs on the native runtime.
Constraints
- Hardware and runtime: an NVIDIA GPU with CUDA 12.9-compatible drivers is required for the main path; CPU/CUDA-native GGUF is a separate runtime.
- The Transformers path needs custom model code (
trust_remote_code), so dependency versions such astransformers==5.2.0matter. - The 35B-A3B model is large; smaller sizes or quantized formats suit limited memory. The README does not give exact VRAM figures per variant.
- The source code is Apache 2.0, but each checkpoint has its own model license on Hugging Face; third-party notices and example media credits apply to bundled media.
HotRepo's take
The repository is young and small on GitHub: created in mid-November 2026, it held 108 stars and 7 forks on 2026-11-23, gaining 8 stars in the new-repository window tracked that day (00:15–03:46 UTC) and recording no all-language daily rank. With only a short sampled star curve in that window, the data supports at most a single-day observation, not a trend. The more substantive signal is the scope of the release itself: four model sizes across five quantization formats, patched vLLM/SGLang guides and a native GGUF runtime give the project real artifacts beyond a README, which is what matters for anyone evaluating omni-modal video understanding.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- yyfz/Pi4Reconstructs 4D scene geometry and camera motion from images or video in a single forward pass, for graphics and vision researchers.
- Pika-Labs/Pika-H3-FlexGenerate synchronized video and stereo audio locally from prompts, frames, and up to 12 reference files.
- opencv/opencvA C++ computer vision library for image processing, video analysis, and machine learning pipelines.
- Carol-lyh/JeverationRun a frozen vision-language model that generates full images in one forward pass across text-to-image, image-to-image and dense prediction tasks.
- solidsf-inc/solidcvA pure-Rust computer-vision crate aimed at replacing C++ OpenCV builds and speeding up vision-language model pipelines.