Add Ministral-3-14B-Instruct-2512 (Leanstral) contrib model#134
Open
jimburtoft wants to merge 1 commit intoaws-neuron:mainfrom
Open
Add Ministral-3-14B-Instruct-2512 (Leanstral) contrib model#134jimburtoft wants to merge 1 commit intoaws-neuron:mainfrom
jimburtoft wants to merge 1 commit intoaws-neuron:mainfrom
Conversation
553d114 to
5f2f28e
Compare
14B dense GQA text decoder on trn2.3xlarge (TP=4, LNC=2, SDK 2.29). Includes FP8-to-BF16 text extraction, multi-KV-head TKG NKI kernel with virtual-batch approach, and full vLLM 0.16 benchmark suite. At BS=4: 252 tok/s aggregate (1.8x H100 FP8). TKG kernel matches baseline TPOT at BS=4, adds 5-9% overhead at BS=8.
5f2f28e to
bc8f36c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NxDI contrib for Ministral-3-14B-Instruct-2512 (Leanstral) — a 14B dense GQA text decoder running on trn2.3xlarge (TP=4, LNC=2) with SDK 2.29.
Key results:
What's included
src/extract_text_model.py— FP8→BF16 text extraction, strips vision keyssrc/setup_patches.py— 6 runtime patches for SDK 2.29 compatibilitysrc/attention_block_tkg_multi_kv.py— Multi-KV-head TKG kernel (NKI 0.3.0)src/multi_kv_adapter.py— Adapter for attention_base.pysrc/fix_nki030.py— NKI 0.3.0 compatibilitybench.py— Async streaming benchmark (TTFT, TPOT, tok/s)Architecture
--hf-overrides(vLLM 0.16 auto-promotes Mistral to Pixtral)Performance (trn2.3xlarge, TP=4, LNC=2, SDK 2.29)
BS=4 — TKG kernel matches baseline
BS=8 — TKG kernel with modest overhead
NxDI gaps identified
convert_state_dict_to_fused_qkvassumes standard Llama head ratios