WeMM-Video-2B-FP8:FP8 Block128 量化变体

模型更新 Hugging Face 模型 · tencent 原文语言:中文

WeMM-Video-2B-FP8 是 WeMM-Video-2B 的 FP8 Block128 量化变体,权重文件共 4.84 GiB,可在支持 FP8 的 GPU 上配合 patched vLLM 0.18.0 运行。语言线性权重采用 E4M3FN FP8 与 128×128 分块、每 token 动态激活缩放,媒体编码器与受保护张量保留原精度。该检查点已在单卡 L20…

全文

WeMM-Video-2B · FP8 Block128

Overview

This repository contains the FP8 Block128 Safetensors variant of WeMM-Video-2B. WeMM-Video is a Chinese–English bilingual family for joint audio-visual understanding and reasoning. It accepts text, images, audio, and video and generates text responses.

Weights · 4.84 GiB of weight files Runtime · patched vLLM 0.18.0 on a GPU with FP8 support

Capabilities

WeMM-Video can combine video frames with the original soundtrack to describe events, transcribe speech, and reason about what is seen and heard. It also accepts silent video, standalone audio, images, and text, with responses in Chinese or English.

Architecture and training

Vision and audio encoders turn media into tokens that the language model processes alongside text. Video frames carry timestamps. The family was pretrained on approximately 1.2 trillion multimodal tokens, then post-trained with multi-teacher OPD, anti-repetition MrDPO, and specialist reinforcement learning.

See the project overview for family details.

Quantization

Selected language linear weights use E4M3FN FP8 in 128 × 128 blocks with dynamic per-token activation scaling in groups of 128. The media encoders and protected language tensors retain their source precision. See the quantization manifest for tensor scope and export checks.

Direct loading with Transformers

Use the Transformers environment. The local release checkpoint passed full weight loading and generation on one NVIDIA L20 with Transformers 5.2.0 and PyTorch 2.10.0+cu129. Generation checks covered text, image, audio, video frames, and video with its soundtrack. The same loader accepts the model's Hub ID. The validation used local checkpoint files.

The loaded model retains FP8 weights in the quantized layers.

Transformers input types

For a media request, place the media item before the text item in messages[0]["content"] and run the same preprocessing and generation.

Input Example content item Text {"type": "text", "text": "Describe what you see."} Image {"type": "image", "image": "image.jpg"} Audio {"type": "audio", "audio": "speech.wav"} Video frames {"type": "video", "video": "clip.mp4"} Video with soundtrack {"type": "video_audio", "video": "clip.mp4"}

See the Transformers examples for media decoding dependencies and sampling options.

Serving

Install the matching WeMM runtime patch. The serving guide lists the dependency profiles and Docker images. Choose one server below.

vLLM

Use patched vLLM 0.18.0 on a GPU with FP8 support. See the vLLM recipe for setup details.

Input examples for the serving API

With the server running on port 8000, use the bundled request client from the project root in a second terminal. It sends media inline to the OpenAI-compatible chat endpoint.

Input Request content Text Text string in messages[].content Image image_url with image_url.url Audio audio_url with audio_url.url Video frames video_url with video_url.use_audio set to false Video with soundtrack video_url with video_url.use_audio set to true

Set fps and max_frames inside video_url to control sampling for a clip. Set chat_template_kwargs.enable_thinking to true for Thinking mode. See the complete video request.

Chat Modes

The checkpoint template defaults to Instruct. Set enable_thinking=True through the runtime's chat-template options to use Thinking mode. Use the media processor and chat template shipped with this checkpoint.

Validation

Patched vLLM loaded the checkpoint on L20 and completed generation checks for text, image, audio, and video with a soundtrack. The runtime precision audit confirmed the W8A8 path.

Evaluation

See the WeMM-Video-35B-A3B evaluation results for the benchmark comparison in the technical report.

License

Apache License 2.0. See the included license and the collection license and third-party attribution. Third-party components remain subject to their original terms.

正文以来源语言显示。

参考来源

← 返回每日AI报告