ApX 标志ApX 标志

趋近智

Devstral Small 2 24B Instruct

开源
开放权重

参数

24B

上下文长度

393K

模态

Text

架构

Dense

KV 缓存速率

160 KB/tok

许可证

Apache 2.0

发布日期

28 Nov 2025

训练数据截止日期

-

API 价格 (每 1M)

仅支持自建托管

硬件与系统要求

精度

上下文

工作负载显存: 14.93 GB

vLLM

INT4 · 8K context · 1 user

基础权重: 11.18 GB

KV 缓存: 1.25 GB

运行时与计算图: 2.50 GB

最小所需硬件

1x NVIDIA L4 24GB

vLLM

14.9 / 21.6 GB

1x RTX 4090 24GB

llama.cpp

14.9 / 22.3 GB

Apple M4 24GB

llama.cpp

14.9 / 18.0 GB

确定特定工作负载的硬件需求:

运行时要求

权重格式

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 5.0.0.dev0

微架构精度注意力算子

Blackwell, Hopper

原生 FP16

FlashAttention-3

Ada Lovelace, Ampere

原生 FP16

FlashAttention-2

架构图

Input TokensToken EmbeddingPosition: RoPEHidden: 5.1k · Context: 393K · Vocab: 131.1kx 40 layersRMSNormPre-AttentionGrouped-Query Attention32Q / 8KV headsHead dim: 128+RMSNormPre-FFNFeed-Forward NetworkSwiGLUIntermediate: 32.8k+Final RMSNormOutput Logits

评估基准

排名

#145

基准分数排名

软件工程

SWE-bench Verified

0.56

#28

排名

排名

#145

编程排名

#104

关于 Devstral Small 2 24B Instruct

Devstral Small 2 24B Instruct is an agentic vision-language model tailored for complex software engineering and codebase exploration tasks. Featuring a 256k context window and enhanced tool-calling capabilities, it delivers strong performance on SWE-bench while remaining deployable on consumer-grade hardware.

Specifications

注意力

注意力结构

Grouped-Query Attention

注意力头

32

键值头

8

注意力头维度

128

位置嵌入

ROPE

RoPE Theta

100,000,000

归一化

RMS Normalization

激活函数

SwiGLU

维度

基准精度

FP16

隐藏维度大小

5,120

层数

40

FFN 中间层大小(稠密层)

32,768

分词器

词汇量大小

131,072

关于 Devstral 2

Devstral 2 is a family of developer-focused models from Mistral AI, optimized for multi-file software engineering tasks and coding agents.


其他 Devstral 2 模型