Phi-3-mini-128k-instruct
Support summary
Phi-3-mini-128k-instruct is a checkpoint published by Microsoft, built on the Phi3ForCausalLM architecture. vLLM 0.28.0, the newest indexed vLLM release, documents support. TensorRT-LLM lists its architecture, but not this exact checkpoint.
vLLM documents support in 20 of 20 indexed releases, from 0.17.0 to 0.28.0.
- Configured context
- 131,072 tokens
- License
- mit
Hugging Face model card
- Publisher
- Microsoft
- Task
- text generation
- License
- mit
- Library
- transformers
- Architecture
- Phi3ForCausalLM
- Weight tensor elements
- 3.8B
- Tensor types
- BF16
- Configured context
- 131,072 tokens
- Languages
- en
- Weight access
- Public
- Repository created
- 2024-04-22
Model notes and sources
Engine support
3 engines
| Engine | Release | Checkpoint support | Evidence scope | Last known supported |
|---|---|---|---|---|
| vLLM | 0.28.0Newest indexed | Checkpoint evidenceSource: vLLM v0.28.0 · docs/models/supported_models.mdReviewed | 0.28.0This release | |
Features, dependencies and evidence for vLLM 0.28.0 | ||||
| SGLang | 0.5.19Newest indexed | No matching evidence curated | No supported release indexed | |
Features, dependencies and evidence for SGLang 0.5.19 | ||||
| TensorRT-LLM | 1.2.1Newest indexed | Architecture listed; exact checkpoint unknown | No supported release indexed | |
Features, dependencies and evidence for TensorRT-LLM 1.2.1 | ||||
Plan a deployment of Phi-3-mini-128k-instruct
Pin checkpoint microsoft/Phi-3-mini-128k-instruct at revision f3c06aed622e14ca0abf5115094e4fc9a9948f36 on a documented release (vLLM). Verify quantized kernels, chat templates, and parser flags on your target GPU before production rollout.
- Indexed weights store BF16 tensors; confirm your GPU architecture and engine build support this format natively.
- Configured maximum context is 131,072 tokens; cap
--max-model-len(or SGLang’s--context-length) to the longest prompt your workload actually serves so KV blocks stay available for concurrency. - Estimate weight and KV-cache memory for Phi-3-mini-128k-instruct, leaving headroom for runtime activations and CUDA graphs, then benchmark TTFT, TPOT, and throughput on representative traffic.
No standalone engine cookbook is indexed for microsoft/Phi-3-mini-128k-instruct; check the publisher’s model card and release table above for launch arguments.