vLLM、TML InklingのDay-0サポート開始
vLLM が TML Inkling に対して Day-0 サポートを開始し、最適化されたパフォーマンスを実現したことで、大規模言語モデルの推論効率に新たな選択肢が加わった。
キーポイント
Day-0 サポートの開始
vLLM が TML Inkling の最新バージョンに対して、リリース直後から即座に対応する Day-0 サポート体制を整えた。
最適化されたパフォーマンス
ハードウェアやアーキテクチャに合わせた最適化により、推論速度とリソース効率の大幅な向上が実現されている。
開発者への即時利用可能
ユーザーは最新の TML Inkling モデルを vLLM を介して遅延なく、かつ高パフォーマンスで運用できるようになった。
重要な引用
vLLM が TML Inkling に対して Day-0 サポートを開始
最適化されたパフォーマンスを実現した
影響分析・編集コメントを表示
影響分析
この連携は、大規模言語モデルの推論基盤において、ベンダー間の緊密な協力体制が急速に進化していることを示しています。開発者は最新の TML Inkling モデルを vLLM の高速推論エンジンで即座に利用可能となり、製品化までのリードタイム短縮や運用コストの最適化に直結する実利的な進展です。
編集コメント
「Day-0 サポート」という表現は、最新技術への即時対応を重視する現代の AI エコシステムにおいて極めて重要な指標です。vLLM のようなオープンソース基盤が特定のモデルベンダーと深く連携することで、開発者のワークフローがさらにスムーズになることが期待されます。

vLLM が TML Inkling モデルをリリース当日(Day 0)から正式にサポートすることを発表できることを嬉しく思います。thinkingmachines/Inkling-NVFP4 と thinkingmachines/Inkling(BF16)の両モデルに対応しており、最適化されたパフォーマンスと完全な機能互換性を提供します。
TML Inkling は Thinking Machines Lab によって訓練された 1 トリオンパラメータのマルチモーダルモデルです。このモデルはネイティブでテキスト、画像、音声の入力を受け付け、最大100 万トークンのコンテキスト長を持つテキストを生成します。相対アテンション、短距離畳み込み、共有エキスパートシンクといった複数の新しいアーキテクチャ要素を導入しており、これらはすべて vLLM に効率的に統合されています。
vLLM を利用すると、4 台の GB200 GPU 上で MTP(Multi-Token Prediction)ありの場合1 ユーザーあたり最大 380 トークン/秒、なしの場合140 トークン/秒でモデルを実行できます。また、vLLM は LoRA や TP/DP/EP/PP 並列処理、プレフィックスキャッシング、分散型サービングなど、完全な機能互換性を提供します。包括的なベンチマークを通じて、両モデルの精度とツールパーシング機能を検証済みです。
統合に関する PR は こちら で公開されています。以下の手順でモデルを実行できます:
export VLLM_USE_V2_MODEL_RUNNER=1
export FLASH_ATTENTION_CUTE_DSL_CACHE_ENABLED=1
vllm serve thinkingmachines/Inkling-NVFP4 \
--tokenizer-mode inkling \
--reasoning-parser inkling \
--tool-call-parser inkling \
--enable-auto-tool-choice \
--tensor-parallel-size 8 \
--speculative-config '{"method": "mtp", "num_speculative_tokens": 8}' \
--kernel-config.enable_flashinfer_autotune=False \
--trust-remote-code
TL;DR
vLLM は TML Inkling に対して Day-0(リリース直後)の完全サポートを提供しています。
- 対応モデル: thinkingmachines/Inkling-NVFP4 と thinkingmachines/Inkling (BF16) の両方をサポート
- ハードウェア: NVIDIA Blackwell および Hopper GPU に対応。より広範なハードウェアへの対応も進行中です。
主な機能と特徴は以下の通りです。
- モダリティ: テキスト、画像、音声の入力を受け付け、テキストを出力します。
- コンテキスト長: ネイティブで最大 1M トークンを処理可能(Tinker では 64K と 256K のウィンドウが利用可能です)。
- 主要機能: LoRA、推測的デコーディング(MTP)、TP/DP/EP/PP、プレフィックスキャッシング、非集約型サービングなどをサポートしています。
- 最適化技術: Sconv 対応の TP シャーディング、低遅延な融合された集合演算、カーネル融合、マルチストリーミング、PDL などによる高速化を実現。
- パフォーマンス: 4 GB200 GPU 環境において、MTP を使用時はユーザーあたり最大 380 トークン/秒、不使用時は 140 トークン/秒を達成。
- 精度評価: MMAU、MMMU-Pro、BFCL、NIAH-1M、HLE などのベンチマークを用いてモデルの品質とツール解析の正確性を検証済みです。
image図 1. TML Inkling モデルのアーキテクチャ(RMSNorm や残差結合などの一部演算は省略しています)。
モダリティについて
TML Inkling は、1 トリリオンパラメータを備えたネイティブなマルチモーダルモデルです。テキストや画像に加え、音声入力も受け付け、テキストを生成します。このモデルでは、TML のインタラクションモデルのプレビューで説明されている通り、極めて軽量な画像エンコーダー(hMLP)と音声埋め込み(dMel)を採用しています。これらの埋め込みは、デコーダー専用 Transformer のバックボーンによって処理されます。
アテンション機構について
バックボーンには 66 レイヤーが用意されており、そのうち 11 レイヤーがフルアテンション、残りの 55 レイヤーがスライディングウィンドウアテンションです。このようにスライディングウィンドウアテンションを多用していることが、100 万トークンのコンテキスト長を実現する効率性の鍵となっています。すべてのアテンションレイヤーでは、ヘッドサイズ 128 のグループ化クエリアテンション(GQA)が採用されています。
Inkling の特徴的な設計選択の一つに、位置情報表現として「相対アテンション」を採用している点が挙げられます。RoPE を使用する代わりに、ソフトマックス前のアテンションロジットに学習可能な相対位置項を追加しています。詳細は TML のブログ記事をご覧ください。
Sconv(短縮畳み込み)について
Inkling は、ウィンドウサイズ 4 の*短縮畳み込み(sconv)*を積極的に活用しています。各レイヤーには 4 つの sconv モジュールが含まれており、それぞれアテンションキー、アテンション値、アテンション出力、MoE 出力に対して適用されます。Sconv は計算量とメモリオーバーヘッドを最小限に抑えつつ、小さな局所アテンションのような役割を果たします。
MoE(Mixture of Experts). 各層には 256 のルーティング専門家が配置され、そのうち上位 6 つが選択されます。さらに共有専門家も 2 つ含まれるため、結果として 1 トークンあたり最大 8 人の専門家が処理を担当します。既存モデルとの決定的な違いは、「エキスパート・シンク(expert sink)」という概念の導入です。この仕組みでは、2 つの共有専門家がルーティングスコアの計算に参加し確率質量を吸収する役割を果たしますが、上位 6 つの選択候補からは除外されます。
thinkingmachines/Inkling-NVFP4 では、ルーティング専門家のみが NVFP4 に量子化されています。一方、共有専門家や QKVR(Query, Key, Value, Output)の線形層など他のすべてのパラメータは BF16 のまま維持されます。また、thinkingmachines/Inkling モデルでは MoE 重み自体も BF16 で構成されています。
MTP(Multi-Token Prediction)。 Inkling は推測デコーディング用に 8 つの MTP ヘッド を搭載しており、これにより 1 フォワードステップで最大 9 トークンを生成することが可能になります。これらの MTP ヘッドは連鎖構造になっており、各ヘッドが前のヘッドから出力された隠れ状態とサンプリングされたドラフトトークンを入力として受け取ります。各 MTP ヘッドは単層の Transformer で構成され、フルウィンドウまたはスライディングウィンドウアテンションと密結合 MLP(多層パーセプトロン)を備えています。MTP の重みもすべて BF16 です。
vLLM への統合と最適化
vLLM は一連の最適化を通じて、このモデルを効率的に実装しています。主なポイントは以下の通りです:
Sconv キャッシュの管理
短距離畳み込み(short convolution)では、直前の W-1 トークンの隠れ状態を保持する必要があります。vLLM はこれを「仮想のスライディングウィンドウ・アテンション層」の KV キャッシュとして扱うことで管理しています。これにより、vLLM の統一された KV キャッシュマネージャーを通じて sconv キャッシュが洗練された形で処理されます。ウィンドウ外に出た状態は削除可能(evictable)としてマークされ、プレフィックス・キャッシングも sconv キャッシュとシームレスに連携します。
image図 2. Sconv を意識した TP シャーディング
Sconv を意識した TP シャーディング
このモデルに対する単純な TP(Tensor Parallelism)実装としては、「全 GPU 間でのアライズ(例:o_proj の後)→ sconv → リジデュアル接続 → RMSNorm」という流れが考えられます。しかし、これでは各 GPU で sconv を隠れ状態全体に適用することになり、sconv の計算量とキャッシュの両方がランク間で重複してしまいます。
この重複を解消するため、vLLM はモデルのシャーディング方法を工夫します。sconv はチャネル次元に沿って独立して動作するため、チャネル次元で sconv を分割(シャード)します。具体的には、アライズではなく、チャネル次元に対して reduce-scatter と all-gather を実行します。各 GPU は sconv キャッシュの一部のみを保持し、チャネルの自分のスライス分だけを計算します。この考え方はシーケンシャル・パラレリズムに似ていますが、シャードの対象がトークン次元ではなくチャネル次元である点が異なります。
低遅延の融合集合演算。 vLLM はこの新しいシャードリング方式を最適化するため、さらにいくつかの融合カーネルを実装しました。具体的には、FlashInfer の低遅延オールリダクションカーネルにおける Lamport プロトコル設計を拡張し、低遅延の reduce-scatter および all-gather カーネル(周辺演算と融合)を構築しました。Lamport プロトコルにより、カーネルは明示的なバリアではなくデータ値ポーリングを通じて同期を行うため、バッチサイズ 1 の場合の処理時間を 40 µs から 8 µs に短縮(5 倍の高速化)しています。
FA4 とシアーバイアス。 リラティブアテンションはメモリアクセスパターンを複雑にし、アテンションカーネルの計算パイプラインを大幅に遅延させます。これを克服するため、TML は Colfax Research と共同で、シアーバイアス技術を搭載した新しい FA4 カーネル をリリースし、vLLM が直接統合しました。さらに vLLM は、バッチサイズ、TP サイズ、KV 長を考慮して FA4 の num_splits パラメータを構成ごとに自動選択し、パフォーマンスの最大化を図っています。
MTP KV キャッシュの再計算。 各 MTP ヘッドは前のヘッドからのドラフトトークンを入力として受け取るため、ドラフトトークンが拒否されるとその KV キャッシュはすぐに陳腐化してしまいます。vLLM はこれを慎重に処理します。直近の数トークンのベースモデルの隠れ状態をキャッシュしておき、拒否サンプリング後に承認されたトークンを用いて MTP ヘッドを再実行する仕組みです。
これらに加え、vLLM のモデル実装には高速化を実現するためのカーネル融合、PDL(Programmed Data Layout)、マルチストリーミングが追加されています。詳細は PR をご覧ください。
パフォーマンス
上記の広範な最適化により、vLLM は 4 枚の GB200 GPU 上で、MTP8(平均受容長 4.5)を使用した場合に 380 tok/s/user、MTP なしで 140 tok/s/user を達成しました。測定は SPEED-Bench からサンプリングした 8K トークンの入力プロンプトに対し、1 リクエストあたり 1K トークンを生成する条件で行われました。
精度評価
vLLM の実装が正しいことを確認するため、あらゆるモダリティと機能を網羅する包括的なベンチマークを実施しました:
- オーディオ:MMAU
- ビジョン:MMMU-Pro
- ツール呼び出し:BFCL
- 推論:HLE
- 長文コンテキスト:NIAH
vLLM はあらゆる項目で参照実装と同等の結果を示しています。特に長文コンテキストでは、221K トークンまで参照実装と完全に一致し、513K までも誤差は約 1 パーセントポイント以内です。最も極端なコンテキスト長(800K 以上)においては、NIAH のスコアでベンチマーク固有のラン間変動が若干見られますが、再現性の向上に向けて現在取り組んでいます。
| ベンチマーク / メトリック | vLLM NVFP4 | Reference NVFP4 | 差分 |
|---|---|---|---|
| MMAU 全体 | 76.10% (761/1,000) | 75.50% | +0.60 pp |
| BFCL 完全呼び出し | 78.61% (1,062/1,351) | 78.16% | +0.45 pp |
| BFCL All-Live マクロ | 75.86% | 73.54% | +2.32 pp |
| MMMU-Pro 全体マイクロ | 71.12% (3,691/5,190) | 70.52% (3,660/5,190) | +0.60 pp |
| MMMU-Pro 標準 10 選択肢 | 70.23% (1,215/1,730) | 70.00% (1,211/1,730) | +0.23 pp |
MMMU-Pro Standard(4 択)では 76.47%(1,323/1,730)、先行値の 76.30%(1,320/1,730)から 0.17 ポイント向上しました。
MMMU-Pro Vision では 66.65%(1,153/1,730)を記録し、先行値の 65.26%(1,129/1,730)から 1.39 ポイント改善されています。
HLE は 29.33%(633/2,158)で、先行値の 26.65% より 2.68 ポント高くなりました。
NIAH (2K-221K) では 99.09%(436/440)を達成し、先行値と同率です。
一方、NIAH (294K-513K) は 95.68%(421/440)で、先行値の 96.82%(426/440)から 1.14 ポイント低下しました。
NIAH (586K-805K) は 81.36%(358/440)で、先行値の 84.09%(370/440)より 2.73 ポイント低くなりました。
NIAH (878K) では 70.91%(78/110)となり、先行値の 80.91%(89/110)から 10.00 ポイントの低下が見られました。
ロードマップ
上記の通り、vLLM は TML Inkling に対して Day-0 のサポートを提供しています。今後の展望として、いくつかの改善点が考えられます。
- グローバルアテンションへの FP8 対応:現在、Inkling はグローバルアテンションに BF16 を使用しており、計算能力と KV キャパシティの両面でボトルネックになる可能性があります。新しい FA4 カーネルを修正することで、FP8 の導入を検討しています。
- 画像およびオーディオエンコーダーでの CUDA グラフ活用:現在の画像エンコーダーとオーディオエンコーダーはイーガーモードで動作しています。これらはプレフィル時に実行されるため通常は大きな問題にはなりませんが、CPU オーバーヘッドを完全に排除するために、CUDA グラフの適用を検討しています。
- AMD GPU への対応:新しい相対アテンション機構に専用のカーネルが必要であるため、現時点ではこのモデルに対する AMD GPU のサポートはありませんが、近々提供される予定です。
謝辞
コラボレーションに尽力してくれた Thinking Machines Lab のチームに感謝いたします。本モデルのサポートは、vLLM を世界最大の AI インフェレンスエンジンへと成長させ、推論をより安価かつ高速化することで AI の進展を加速させることを目指す企業、Inferact(https://inferact.ai/)が主導しています。
原文を表示

We are thrilled to announce that vLLM officially supports the TML Inkling model on Day 0. Both thinkingmachines/Inkling-NVFP4 and thinkingmachines/Inkling (BF16) models are supported with optimized performance and full feature parity.
TML Inkling is a 1T-parameter multimodal model trained by Thinking Machines Lab. The model natively accepts text, image, and audio inputs and generates text with up to 1M context length. It introduces several novel architecture components—relative attention, short convolution, and shared expert sinks—all of which are now efficiently integrated into vLLM.
With vLLM, the model runs at up to 380 tok/s/user with MTP and 140 tok/s/user without MTP on 4 GB200 GPUs. vLLM also provides full feature parity, including LoRA, TP/DP/EP/PP parallelism, prefix caching, and disaggregated serving. We verified both model accuracy and tool parsing through comprehensive benchmarks.
The integration PR is available here. Run the model as follows:
TL;DR
vLLM provides strong Day-0 support for TML Inkling:
- Models: Both thinkingmachines/Inkling-NVFP4 and thinkingmachines/Inkling (BF16) are supported
- Hardware: NVIDIA Blackwell and Hopper GPUs
Broader hardware support is in progress. Stay tuned!
- Modality: text/image/audio input → text output
- Context length: up to 1M tokens natively (Tinker exposes 64K and 256K context windows)
- Features: LoRA, speculative decoding (MTP), TP/DP/EP/PP, prefix caching, disaggregated serving, and more
- Optimizations: Sconv-aware TP sharding, low-latency fused collectives, kernel fusion, multi-streaming, PDL, and more
- Performance: Up to 380 tok/s/user (w/ MTP) and 140 tok/s/user (w/o MTP) on 4 GB200 GPUs
- Accuracy: Model quality and tool parsing verified with MMAU, MMMU-Pro, BFCL, NIAH-1M, and HLE
Model Architecture

Modality. TML Inkling is a natively multimodal model with 1T parameters. In addition to text and images, it accepts audio input and generates text. The model uses an extremely lightweight image encoder (hMLP) and audio embeddings (dMel), as described in TML's interaction model preview. The resulting embeddings are processed by a decoder-only Transformer backbone.
Attention. The backbone has 66 layers: 11 full-attention layers and 55 sliding-window attention layers. This heavy use of sliding-window attention is what makes the model's 1M context length efficient. All attention layers use grouped-query attention (GQA) with head size 128.
A distinctive design choice in Inkling is *relative attention* as its positional mechanism. Instead of RoPE, Inkling adds a learned relative-position term to the pre-softmax attention logits. See TML's blog post for details.
Sconv. Inkling makes aggressive use of *short convolution* (sconv) with window size 4. Each layer contains four sconv modules, applied to the attention keys, attention values, attention output, and MoE output. Sconv acts like a small local attention while incurring minimal compute and memory overhead.
MoE. Each layer has 256 routed experts (top-6) plus 2 shared experts, so every token is processed by 8 experts in total. Unlike existing models, however, Inkling introduces the concept of an *expert sink*: the two shared experts participate in the routing-score computation (absorbing probability mass) but are excluded as candidates from the top-6 selection.
In thinkingmachines/Inkling-NVFP4, only the routed experts are quantized to NVFP4; all other parameters, including the shared experts and the qkvr linears, remain in BF16. In thinkingmachines/Inkling, the MoE weights are in BF16 as well.
MTP. Inkling ships with 8 MTP heads for speculative decoding, allowing the model to generate up to 9 tokens per forward step. The MTP heads are *chained*: each head consumes the hidden states and sampled draft token from the previous head. Each MTP head is a single-layer Transformer with full or sliding window attention and a dense MLP. All MTP weights are in BF16.
vLLM Integration & Optimization
vLLM implements the model efficiently through a series of optimizations. Key highlights:
Managing the sconv cache. Short convolution requires keeping the hidden states of the last W-1 tokens. vLLM manages this sconv cache by treating it as the KV cache of a virtual sliding-window attention layer. This lets vLLM handle the sconv cache elegantly through its unified KV cache manager: states that fall outside the window are marked evictable, and prefix caching works seamlessly with the sconv cache.

Sconv-aware TP sharding. A straightforward TP implementation for this model would be: all-reduce (e.g., after o_proj) → sconv → residual connection → RMSNorm. However, this applies sconv to the full hidden states on every GPU, duplicating both the sconv compute and the sconv cache across ranks.
To eliminate this replication, vLLM shards the model differently. Since sconv operates independently along the channel dimension, we shard sconv across channels: instead of an all-reduce, we use a reduce-scatter and all-gather over the channel dimension. Each GPU then stores only a shard of the sconv cache and computes only its own slice of channels. The idea is similar to sequence parallelism, but sharding is applied to the channel dimension rather than the token dimension.
Low-latency fused collectives. vLLM further implements several fused kernels to optimize this new sharding scheme. In particular, we built low-latency reduce-scatter and all-gather kernels (fused with surrounding ops) by extending the Lamport-protocol design of FlashInfer's low-latency all-reduce kernel. The Lamport protocol lets the kernel synchronize via data-value polling instead of explicit barriers, cutting kernel time at batch size 1 from 40 µs to 8 µs (5x).
FA4 with sheared bias. Relative attention complicates the memory access pattern, significantly slowing down the attention kernel's compute pipeline. To overcome this, TML, in collaboration with Colfax Research, released a new FA4 kernel with a sheared-bias technique, which vLLM integrates directly. vLLM additionally selects FA4's num_splits factor per configuration—accounting for batch size, TP size, and KV length—to maximize performance.
Re-computing MTP KV cache. Because each MTP head takes the previous head's draft token as input, its KV cache becomes stale whenever a draft token is rejected. vLLM handles this carefully: it caches the base model's hidden states for the last few tokens and re-runs the MTP heads with the accepted tokens after rejection sampling.
Beyond these, vLLM's model implementation includes additional kernel fusion, PDL, and multi-streaming to achieve speed-of-light performance. For details, please check out our PR.
Performance
Thanks to the extensive optimizations above, vLLM achieves 380 tok/s/user with MTP8 (mean acceptance length 4.5) and 140 tok/s/user without MTP on 4× GB200 GPUs. Results were measured on prompts of 8K input tokens sampled from SPEED-Bench, with 1K output tokens generated per request.
Accuracy Evals
We verified the correctness of vLLM's implementation with comprehensive benchmarks covering every modality and capability:
- Audio: MMAU
- Vision: MMMU-Pro
- Tool calling: BFCL
- Reasoning: HLE
- Long context: NIAH
vLLM matches the reference implementation across the board. On long context, vLLM matches the reference exactly through 221K tokens and stays within ~1 pp through 513K. At the most extreme context lengths (800K+), NIAH scores show higher run-to-run variance for this benchmark, and we are working on tightening reproducibility in that regime.
Benchmark / metricvLLM NVFP4Reference NVFP4Delta vs Reference
MMAU overall76.10% (761/1,000)75.50%+0.60 pp
BFCL exact calls78.61% (1,062/1,351)78.16%+0.45 pp
BFCL All-Live macro75.86%73.54%+2.32 pp
MMMU-Pro overall micro71.12% (3,691/5,190)70.52% (3,660/5,190)+0.60 pp
MMMU-Pro Standard 10-option70.23% (1,215/1,730)70.00% (1,211/1,730)+0.23 pp
MMMU-Pro Standard 4-option76.47% (1,323/1,730)76.30% (1,320/1,730)+0.17 pp
MMMU-Pro Vision66.65% (1,153/1,730)65.26% (1,129/1,730)+1.39 pp
HLE29.33% (633/2,158)26.65%+2.68 pp
NIAH (2K-221K)99.09% (436/440)99.09% (436/440)0.00 pp
NIAH (294K-513K)95.68% (421/440)96.82% (426/440)-1.14 pp
NIAH (586K-805K)81.36% (358/440)84.09% (370/440)-2.73 pp
NIAH (878K)70.91% (78/110)80.91% (89/110)-10.00 pp
Roadmap
As described above, vLLM provides strong Day-0 support for TML Inkling. Looking ahead, we see a few potential improvements:
- FP8 for global attention: Inkling currently uses BF16 for global attention, which can become a bottleneck in both compute and KV cache capacity. We plan to explore FP8 here by modifying the new FA4 kernel.
- CUDA graphs for the image & audio encoders: The image and audio encoders currently run in eager mode. While this is usually not a major issue since they run during prefill, we plan to apply CUDA graphs to them to eliminate CPU overhead entirely.
- AMD GPU support: AMD GPUs are not yet supported for this model, since the new relative attention mechanism requires a dedicated kernel. Support is coming soon.
Acknowledgements
We thank the Thinking Machines Lab team for the collaboration. The model support is led by Inferact, a company aiming to grow vLLM into the world's AI inference engine and to accelerate AI progress by making inference cheaper and faster.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み