ModelBrief · WeMM-Video · Topic Page
Last updated Nov 26, 2026

WeMM-Video Deployment: Weights, Quantization, Serving

ModelBrief · Published 2026-11-26 · Fact-check 2026-11-26 · Reference: Hugging Face model cards, GitHub Tencent/WeMM-Video, syncdev.com, explainx.ai

WeMM-Video has no API, no hosted endpoint and no web demo — self-hosting is the only way to run it. The good news is the self-hosting path is complete: weights, code, Docker and the evaluation pipeline were all public on day one. This article walks the full route in order — fetch the weights, pick a quantization format, pin the environment, start serving — plus three pitfalls to know before you start.

Step 1: fetch the weights — the Hugging Face collection, 20 repos

Weights live in the Hugging Face collection tencent/wemm-video, 20 repos in total: 4 base BF16 checkpoints, plus FP8 Block128, AWQ W4A16, GGUF Q4_K_M and NVFP4 W4A16 for each size. Base checkpoints: tencent/WeMM-Video-2B (BF16 6.12 GiB), tencent/WeMM-Video-4B (10.45 GiB), tencent/WeMM-Video-9B (19.54 GiB), tencent/WeMM-Video-35BA3B (67.39 GiB). License is Apache 2.0, each checkpoint carrying its own license and third-party attribution — read the model card before commercial use. Code is on GitHub at Tencent/WeMM-Video, also Apache 2.0.

Step 2: pick a quantization format

FormatPrecisionBest forSupported serving stack
BF16Full precisionBenchmark reproduction, maximum-accuracy deploymentTransformers 5.2.0, patched vLLM 0.18.0/0.31.0, patched SGLang
FP8 Block1288-bitServing with less VRAM, accuracy-first quantizationPatched vLLM 0.18.0
AWQ W4A164-bit weightsSingle-GPU deployment (e.g. 9B-AWQ 12.86 GiB on one L20)Patched vLLM 0.18.0
GGUF Q4_K_M4-bitLocal trials, lowest barrierNative GGUF runtime
NVFP4 W4A164-bitInference acceleration on Blackwell hardwarePatched vLLM 0.18.0

One warning: the paper says nothing about what quantization does to benchmark scores — do not paste BF16 scores onto AWQ or GGUF builds. Use BF16 or FP8 for scores; accept that lightweight builds may score lower.

Step 3: pin the environment — versions matter

Transformers route: Python 3.12, CUDA 12.9, FFmpeg, transformers==5.2.0, plus torch 2.10.0, torchvision 0.25.0 and torchcodec 0.10.0 (explainx.ai's reading of the repo README). The example script in the repo root runs an MP4 with its original soundtrack: python examples/transformers_video.py --model tencent/WeMM-Video-2B --video ./clip.mp4 --prompt …. Pin the versions: transformers==5.2.0 is the version the project specifies, and upgrading may break the custom architecture code.

Step 4: start serving — patched vLLM or SGLang

For online serving use the patched builds: vLLM 0.18.0 (BF16, FP8, AWQ, NVFP4) or 0.31.0 (BF16), SGLang 0.5.16/0.5.19. The patches come from the WeMM-Video repo's serving guide — stock vLLM/SGLang cannot run this custom architecture directly. Both servers expose an OpenAI-compatible chat endpoint, so existing clients need no protocol changes. The 35B-A3B serving recipe uses two GPUs, so check VRAM against the recipe before deploying; the 2B and 9B-AWQ are checked on L20/H20, and the 9B-AWQ loads on a single L20. Docker images and serving recipes are in the GitHub repo as well.

Three pitfalls: know them before you start

First, trust_remote_code=True is required: review the repo's custom code before loading, and pin a reviewed revision — do not blind-run against the latest main branch. Remote code executes, and both syncdev.com and Medium flag this explicitly. Second, the context gap: the config allows 262,144 positions, but every published serving example caps at 8,192 tokens; test your own serving config before planning long-video work around 256K. Third, there is no price: free weights do not mean free usage — the cost is your own compute; and with no third-party hosting, there is no vendor to fall back on when something breaks.

Reproducing the benchmarks: the public evaluation pipeline

The evaluation and reproduction pipeline is public — currently the only route to independently verifying the 120+ benchmark numbers. Before running it, read the protocol in the paper's Tables 1–2 (thinking mode, 17 general audio-visual benchmarks, baseline scores partly self-evaluated by Tencent), then compare your re-run against them. As of Nov 26, nobody has publicly run it; when the first public reproduction appears, section 11 of this topic will be updated.

FAQ

What is the fastest route to running it?

The Transformers route: Python 3.12, CUDA 12.9, FFmpeg, transformers==5.2.0, and the example script in the repo root runs an MP4 with its soundtrack, starting with tencent/WeMM-Video-2B (BF16 6.12 GiB).

Can stock vLLM run it directly?

No. Use the patched vLLM 0.18.0 (BF16/FP8/AWQ/NVFP4) or 0.31.0 (BF16) from the repo's serving guide, or patched SGLang 0.5.16/0.5.19. Stock builds do not support this custom architecture.

Is trust_remote_code safe?

It carries risk: it executes the repo's custom code. Review the code before loading, and pin a reviewed revision — do not blind-run against the latest main branch.

Is the context really 262,144?

The config allows 262,144 positions, but every published serving example caps at 8,192 tokens. Real long-video capability in a served config is unproven — test your own config before planning around 256K.

How many GPUs does the 35B-A3B need?

The serving recipe uses two GPUs (BF16 weights 67.39 GiB). The 9B-AWQ (12.86 GiB) loads on a single L20; the 2B BF16 is only 6.12 GiB, single-GPU capable.

ModelBrief's take: The deployment guide is the most practical part of this topic: weights, code, Docker and the evaluation pipeline were all public on day one, and the Transformers, vLLM, SGLang and GGUF routes each have a home. The only hard costs are compute and trust — with no API fallback, reviewing the trust_remote_code code and pinning a version is not optional, and the 8,192-token serving cap needs testing before any planning.

Reference: Hugging Face collection tencent/wemm-video and per-checkpoint model cards (weights, quantization, licenses) · GitHub Tencent/WeMM-Video (code, Docker, serving recipes, evaluation pipeline) · syncdev.com (Nov 20–21, 2026) · explainx.ai (Nov 20, 2026) · Medium / Shahbaz Ahmad (Nov 20–21, 2026) (rewritten and organized by ModelBrief; versions and commands follow the repo README)