蚂蚁 inclusionAI 发布开源权重多模态模型 Ling-3.2-air
inclusionAI/Ling-3.2-air
蚂蚁 inclusionAI 在 Hugging Face 发布开源权重模型 Ling-3.2-air,采用与 Ling-3.0-flash-VL 相同的原生多模态 Hybrid-linear MoE 架构,总参数 124B、激活 5.5B。
🤗 Hugging Face | 🤖 ModelScope
Introduction
We introduce Ling-3.2-air, an open-weight model that shares the same native multimodal architecture as Ling-3.0-flash-VL. Compared with its predecessor, Ling-3.2-air shows stronger performance in workflow automation and reasoning over professional documents. Its AutomationBench-AA score rises from 15.7% to 61%, while its GDP.pdf all-pass rate increases from 8.4% to 16%. On AA-Briefcase v1.1, its Elo rating rises from 987 to 1340, a gain of 353 points. On Terminal-Bench 4.0, its pass rate on terminal-based tasks rises from 0% to 27%. Overall, Ling-3.2-air scores 23 on the Artificial Analysis Intelligence Index v5.0.1.
Specialized evaluations highlight Ling-3.2-air’s performance in quantitative data analysis and legal work. On Harvey LAB-AA v1.1, it earns an 87.7% criterion pass rate. Its all-pass rate is 8.3% before the material hallucination check and 0.8% after it.

Model Overview
The model summary information and architecture diagram are as follows:
| Architecture | Hybrid-linear MoE |
|---|---|
| Parameter Scale | Total 124B, Activated 5.5B |
| Transformer Layers | 35 KDA + 7 Gated MLA (5:1) |
| Number of Dense Layers | 2 |
| Number of Routed Experts | 512 |
| Number of Shared Experts | 1 |
| Number of Activated Experts | 8 |
| Attention Heads | 32 |
| Hidden Size | 2560 |
| Expert Intermediate Size | 768 |
| Dense Intermediate Size | 6144 |
| Vocabulary Size | 157184 |

Quickstart
SGLang (Recommended)
The day-0 SGLang image includes Ling-3.2-air support, MTP (NEXTN) speculative decoding, and Hopper decode optimizations:
docker pull lmsysorg/sglang:dev-Ling-3.0-flash-VL
Run Inference
Recommended recipe with 256K context, on 4× 141GB-class GPUs (H20-3e / H200) or 4-GPU Blackwell nodes (B300 / GB300):
docker run --rm --gpus all --ipc=host --shm-size 32g \
-p 30000:30000 \
lmsysorg/sglang:dev-Ling-3.0-flash-VL \
python3 -m sglang.launch_server \
--model-path inclusionAI/Ling-3.2-air \
--tp 4 \
--context-length 262144 \
--speculative-algorithm NEXTN \
--trust-remote-code \
--reasoning-parser auto \
--tool-call-parser auto \
--host 0.0.0.0 \
--port 30000
On 80GB cards (H100 / H800), scale out to --tp 8. The reasoning and tool-call parsers resolve automatically to ling3 from the chat template; you can also set them explicitly with --reasoning-parser ling3 --tool-call-parser ling3.
Client
It is recommended to use the sampling parameters (temperature=1.0, top_p=0.95, top_k=20) and set enable_thinking to true for better performance.
curl -s http://localhost:30000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "inclusionAI/Ling-3.2-air",
"messages": [{
"role": "user",
"content": [
{"type": "image_url", "image_url": {"url": "https://example.com/image.png"}},
{"type": "text", "text": "Describe this image in one sentence."}
]
}],
"chat_template_kwargs": {"enable_thinking": true},
"stream": true,
"temperature": 1.0,
"top_k": 20,
"top_p": 0.95
}'
Video input uses {"type": "video_url", "video_url": {"url": "..."}} in the same message shape.
vLLM
Environment Preparation
pip install uv
uv venv ~/my_ling_env
source ~/my_ling_env/bin/activate
git clone https://github.com/inclusionAI/vllm-ling-v3.git
cd vllm-ling-v3
VLLM_USE_PRECOMPILED=1 uv pip install --editable . --torch-backend=auto
Run Inference
Server
vllm serve "$MODEL_PATH" \
--port "$PORT" \
--trust-remote-code \
--served-model-name auto \
--tensor-parallel-size 4 \
--gpu-memory-utilization 0.85 \
--enable-prefix-caching \
--mamba-cache-mode align \
--enable-auto-tool-choice \
--tool-call-parser ling3 \
--reasoning-parser ling3 \
--speculative-config '{"method":"mtp","num_speculative_tokens":3}'
Client
It is recommended to use the sampling parameters (temperature=1.0, top_p=0.95, top_k=20) and set enable_thinking to true for better performance.
curl -s http://${MASTER_IP}:${PORT}/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"messages": [{
"role": "user",
"content": [
{"type": "image_url", "image_url": {"url": "https://example.com/image.png"}},
{"type": "text", "text": "Describe this image in one sentence."}
]
}],
"chat_template_kwargs": {"enable_thinking": true},
"stream": true,
"temperature": 1.0,
"top_k": 20,
"top_p": 0.95
}'
来源:蚂蚁 inclusionAI:HuggingFace 新模型 · huggingface.co