Image-Text-to-Text
NInfer
qwen3.8
nvfp4
fp8
w4a4
blackwell
multimodal
conversational
cuda
rtx-5090
Eval Results (legacy)
Instructions to use stosc/qwen3_8_27b_nvfp4_v100.ninfer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NInfer
How to use stosc/qwen3_8_27b_nvfp4_v100.ninfer with NInfer:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,301 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: ninfer
|
| 3 |
+
pipeline_tag: image-text-to-text
|
| 4 |
+
inference: false
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
base_model:
|
| 7 |
+
- Qwen/Qwen3.8-27B
|
| 8 |
+
- unsloth/Qwen3.8-27B-NVFP4
|
| 9 |
+
base_model_relation: quantized
|
| 10 |
+
tags:
|
| 11 |
+
- ninfer
|
| 12 |
+
- qwen3.8
|
| 13 |
+
- nvfp4
|
| 14 |
+
- fp8
|
| 15 |
+
- w4a4
|
| 16 |
+
- blackwell
|
| 17 |
+
- multimodal
|
| 18 |
+
- conversational
|
| 19 |
+
- cuda
|
| 20 |
+
- rtx-5090
|
| 21 |
+
model-index:
|
| 22 |
+
- name: Qwen3.8-27B-nvfp4-NInfer
|
| 23 |
+
results:
|
| 24 |
+
- task:
|
| 25 |
+
type: text-generation
|
| 26 |
+
name: Text Generation
|
| 27 |
+
dataset:
|
| 28 |
+
name: IFBench
|
| 29 |
+
type: ifbench
|
| 30 |
+
metrics:
|
| 31 |
+
- type: accuracy
|
| 32 |
+
value: 77.00
|
| 33 |
+
name: Prompt-level strict (0-shot, rule)
|
| 34 |
+
source:
|
| 35 |
+
url: https://github.com/Neroued/ninfer/tree/master/eval
|
| 36 |
+
name: NInfer EvalScope 1.9.0
|
| 37 |
+
- task:
|
| 38 |
+
type: text-generation
|
| 39 |
+
name: Text Generation
|
| 40 |
+
dataset:
|
| 41 |
+
name: AIME 2025
|
| 42 |
+
type: aime25
|
| 43 |
+
metrics:
|
| 44 |
+
- type: accuracy
|
| 45 |
+
value: 96.67
|
| 46 |
+
name: Accuracy (0-shot, rule)
|
| 47 |
+
source:
|
| 48 |
+
url: https://github.com/Neroued/ninfer/tree/master/eval
|
| 49 |
+
name: NInfer EvalScope 1.9.0
|
| 50 |
+
- task:
|
| 51 |
+
type: text-generation
|
| 52 |
+
name: Text Generation
|
| 53 |
+
dataset:
|
| 54 |
+
name: AIME 2026
|
| 55 |
+
type: aime26
|
| 56 |
+
metrics:
|
| 57 |
+
- type: accuracy
|
| 58 |
+
value: 96.67
|
| 59 |
+
name: Accuracy (0-shot, rule)
|
| 60 |
+
source:
|
| 61 |
+
url: https://github.com/Neroued/ninfer/tree/master/eval
|
| 62 |
+
name: NInfer EvalScope 1.9.0
|
| 63 |
+
- task:
|
| 64 |
+
type: text-generation
|
| 65 |
+
name: Text Generation
|
| 66 |
+
dataset:
|
| 67 |
+
name: GPQA-Diamond
|
| 68 |
+
type: gpqa_diamond
|
| 69 |
+
metrics:
|
| 70 |
+
- type: accuracy
|
| 71 |
+
value: 90.40
|
| 72 |
+
name: Accuracy (0-shot, rule)
|
| 73 |
+
source:
|
| 74 |
+
url: https://github.com/Neroued/ninfer/tree/master/eval
|
| 75 |
+
name: NInfer EvalScope 1.9.0
|
| 76 |
+
- task:
|
| 77 |
+
type: image-text-to-text
|
| 78 |
+
name: Image Text to Text
|
| 79 |
+
dataset:
|
| 80 |
+
name: ERQA
|
| 81 |
+
type: erqa
|
| 82 |
+
metrics:
|
| 83 |
+
- type: accuracy
|
| 84 |
+
value: 66.25
|
| 85 |
+
name: Accuracy (0-shot, rule)
|
| 86 |
+
source:
|
| 87 |
+
url: https://github.com/Neroued/ninfer/tree/master/eval
|
| 88 |
+
name: NInfer EvalScope 1.9.0
|
| 89 |
+
- task:
|
| 90 |
+
type: image-text-to-text
|
| 91 |
+
name: Image Text to Text
|
| 92 |
+
dataset:
|
| 93 |
+
name: RealWorldQA
|
| 94 |
+
type: real_world_qa
|
| 95 |
+
metrics:
|
| 96 |
+
- type: accuracy
|
| 97 |
+
value: 83.53
|
| 98 |
+
name: Accuracy (0-shot, rule)
|
| 99 |
+
source:
|
| 100 |
+
url: https://github.com/Neroued/ninfer/tree/master/eval
|
| 101 |
+
name: NInfer EvalScope 1.9.0
|
| 102 |
+
---
|
| 103 |
+
|
| 104 |
+
# 专为 NInfer 构建的 Qwen3.8-27B NVFP4 模型
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
> **本仓库的模型文件是从[neroued/Qwen3.8-27B-nvfp4-NInfer](https://huggingface.co/neroued/Qwen3.8-27B-nvfp4-NInfer)克隆而来,该模型配合[stosc/ninfer-v100-sm70](https://github.com/stosc/ninfer-v100-sm70)在Tesla V100 32G PCIE接口的显卡先运行稳定。为方部署,故将模型单独存一份。以下是原本模型仓库配套的文档。文档中的推理引擎运行参数仅供参考,是无法直接使用的。**
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
该仓库包含 [Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B) 的一种 NVFP4 / FP8 混合表示。它将官方 BF16 检查点与 [unsloth/Qwen3.8-27B-NVFP4](https://huggingface.co/unsloth/Qwen3.8-27B-NVFP4) 提供的、已打包定长的文本(Text)权重,以 NInfer 原生的 `.ninfer` 构件格式合并而成。该构件**仅适用于 NInfer**;它不是一个 Transformers 检查点、Safetensors 发行包,也不是 GGUF 文件。
|
| 112 |
+
该构件采用 Qwen3.5 Dense(稠密)架构。文本层 0–55 使用 NVFP4 的 MLP 权重;而词元嵌入(token embedding)、注意力输入/输出投影、GDN 的 Q/K/V/Z 及输出投影、完整输出头(output head),以及文本层 56–63 的 MLP 权重,则使用行缩放(row-scaled)FP8。控制权重(control weights)使用 BF16,并单独保存了 MTP、Vision(视觉)与 DFlash2 权重。
|
| 113 |
+
|
| 114 |
+
## 构件(Artifact)
|
| 115 |
+
|
| 116 |
+
| 字段 | 值 |
|
| 117 |
+
|---|---|
|
| 118 |
+
| 文件名 | `qwen3_8_27b_nvfp4.ninfer` |
|
| 119 |
+
| 大小 | 23,719,715,844 字节(22.09 GiB) |
|
| 120 |
+
| SHA-256 | `74d2c57145e6ff11d1d2faa79594477f9bc903a611af1fb20218189fbbb77d82` |
|
| 121 |
+
| 容器版本 | 3 |
|
| 122 |
+
| 架构 | `Qwen3_5ForCausalLM` |
|
| 123 |
+
| 公开模型名 | `qwen3.8-27b` |
|
| 124 |
+
| 对话模板 | [qwen3_8.jinja](https://github.com/Neroued/ninfer/blob/98dada0e03cb073fd07f905400b5904bc6e82759/tools/chat_templates/qwen3_8.jinja);可用 `--chat-template FILE` 覆盖 |
|
| 125 |
+
| 模板默认值 | 思维(thinking)开启;努力程度 `xhigh`;保留闭环(closed-turn)推理 |
|
| 126 |
+
| 存储对象数 | 1,246(1,240 个张量 + 6 个资源) |
|
| 127 |
+
| NVFP4 张量数 | 112 |
|
| 128 |
+
| 行缩放 FP8 张量数 | 146 |
|
| 129 |
+
|
| 130 |
+
该文件包含 Text、Vision、MTP、DFlash2、优化后的候选头(proposal head,即投机解码头)以及前端资源。视觉与投机权重仅在启动时显式选择后才会加载。来源派生的 NVFP4 与 FP8 权重被原样保留,未作解码与重新量化;仅官方 BF16 词元嵌入被本地编码为行缩放 FP8。
|
| 131 |
+
|
| 132 |
+
可用以下命令校验已下载文件:
|
| 133 |
+
|
| 134 |
+
```bash
|
| 135 |
+
printf '%s %s\n' \
|
| 136 |
+
'74d2c57145e6ff11d1d2faa79594477f9bc903a611af1fb20218189fbbb77d82' \
|
| 137 |
+
'qwen3_8_27b_nvfp4.ninfer' | sha256sum --check
|
| 138 |
+
```
|
| 139 |
+
|
| 140 |
+
本次发布包含来自 `z-lab/Qwen3.8-27B-DFlash2`、修订号 `50307d4c4cde6860d4eee73e2547cd786fe8e8a4` 的完整 DFlash2 配套权重。使用 `--spec dflash2 --draft-tokens 7 --lm-head-draft` 进行选择;支持 draft 数量 1..15。DFlash2 需要下文所列的运行时修订版本。已有的性能与评测表格仍保留其所声明的 MTP 配置与修订版本。
|
| 141 |
+
|
| 142 |
+
## 运行要求
|
| 143 |
+
|
| 144 |
+
- [NInfer](https://github.com/Neroued/ninfer) 修订 [`04350ba9`](https://github.com/Neroued/ninfer/commit/98dada0e03cb073fd07f905400b5904bc6e82759) 或更高版本,须从源码编译;
|
| 145 |
+
- 64 位 Linux;
|
| 146 |
+
- NVIDIA GeForce RTX 5090(`sm_120a`);
|
| 147 |
+
- CUDA Toolkit 13.1 或更新版本。
|
| 148 |
+
|
| 149 |
+
已拥有官方 v2 文件?可在[本地直接升级](https://github.com/Neroued/ninfer/blob/master/docs/weight-conversion.md#upgrade-an-existing-v2-artifact),无需重新下载权重。
|
| 150 |
+
|
| 151 |
+
NInfer 不提供安装目标(install target)或打包二进制文件。源码编译所需的依赖请参见[仓库 README](https://github.com/Neroued/ninfer#quick-start)。
|
| 152 |
+
|
| 153 |
+
## 下载并运行 CLI 示例
|
| 154 |
+
|
| 155 |
+
```bash
|
| 156 |
+
hf download neroued/Qwen3.8-27B-nvfp4-NInfer \
|
| 157 |
+
qwen3_8_27b_nvfp4.ninfer \
|
| 158 |
+
--local-dir models
|
| 159 |
+
|
| 160 |
+
./build/apps/ninfer models/qwen3_8_27b_nvfp4.ninfer \
|
| 161 |
+
--prompt "用三句话解释预填充(prefill)与解码(decode)。" \
|
| 162 |
+
--max-context 32768 \
|
| 163 |
+
--max-new 8192 \
|
| 164 |
+
--kv-dtype fp8 \
|
| 165 |
+
--spec mtp --draft-tokens 3 \
|
| 166 |
+
--lm-head-draft
|
| 167 |
+
```
|
| 168 |
+
|
| 169 |
+
关于图像、视频与结构化对话历史,请参阅 [CLI 指南](https://github.com/Neroued/ninfer/blob/master/docs/cli.md)。
|
| 170 |
+
|
| 171 |
+
## 启动本地服务器
|
| 172 |
+
|
| 173 |
+
```bash
|
| 174 |
+
./build/apps/ninfer-serve models/qwen3_8_27b_nvfp4.ninfer \
|
| 175 |
+
--host 127.0.0.1 \
|
| 176 |
+
--port 8080 \
|
| 177 |
+
--max-context 240000 \
|
| 178 |
+
--kv-capacity 240000 \
|
| 179 |
+
--max-concurrency 2 \
|
| 180 |
+
--kv-dtype fp8 \
|
| 181 |
+
--device-state-slots 2 \
|
| 182 |
+
--host-state-slots 8 \
|
| 183 |
+
--host-kv-mib 8192 \
|
| 184 |
+
--spec mtp --draft-tokens 3 \
|
| 185 |
+
--lm-head-draft \
|
| 186 |
+
--preserve-thinking
|
| 187 |
+
```
|
| 188 |
+
|
| 189 |
+
每个请求的逻轓上限为 240,000 个词元。共享的 240,000 词元 Device KV 池在"两个请求的完成预留量之和能容纳"时可接纳两个并发活动请求;任一请求在独占运行时均可使用整个池。两个额外的 Device 检查点槽(checkpoint slots)、八个固定的 Host State 槽,以及 8 GiB 固定的 Host KV,可在资源压力下保留可复用的续接状态。
|
| 190 |
+
|
| 191 |
+
API 接口请参阅 [HTTP 服务指南](https://github.com/Neroued/ninfer/blob/master/docs/serving.md),缓存与准入(admission)语义请参阅[资源调度参考](https://github.com/Neroued/ninfer/blob/master/docs/maintainer/resource-scheduling-and-context-cache.md)。
|
| 192 |
+
|
| 193 |
+
## 支持的功能
|
| 194 |
+
|
| 195 |
+
该构件支持:
|
| 196 |
+
|
| 197 |
+
- 思维(thinking)与非思维(non-thinking)两种模式下的文本生成;
|
| 198 |
+
- 图像、多图像、视频及混合多模态消息;
|
| 199 |
+
- MTP(多令牌预测)投机解码,draft 窗口 1 至 5;
|
| 200 |
+
- DFlash2,draft 窗口 1 至 15,使用内置的 DFlash2 配套权重(`--spec dflash2 --draft-tokens 7`,可选 `--lm-head-draft`);
|
| 201 |
+
- BF16、INT8、FP8、NVFP4 以及 K8V4 的 KV 缓存;
|
| 202 |
+
- CUDA Graph 解码与兼容前缀(compatible-prefix)复用;
|
| 203 |
+
- 受启动容量约束的小规模并发服务,具备真正的批处理解码(batched decode);
|
| 204 |
+
- NInfer 命令行(CLI);
|
| 205 |
+
- OpenAI Responses Core、OpenAI Chat Completions 与 Anthropic Messages 三种服务接口。
|
| 206 |
+
|
| 207 |
+
## 性能
|
| 208 |
+
|
| 209 |
+
下列 MTP0 测量数据在 NInfer 修订 [`f08597d`](https://github.com/Neroued/ninfer/commit/f08597d6eaafce5b875934aaa85854fcd5426df8) 下采集,MTP3 测量数据在修订 [`32c9881`](https://github.com/Neroued/ninfer/commit/32c9881b6783949df4999422a764b3dcaa111b13) 下采集。两轮实验均使用一张 NVIDIA GeForce RTX 5090、CUDA 13.1 编译/运行时、CUDA 驱动 API 13.3、随机采样(stochastic sampling)、INT8 group-64 KV、CUDA Graphs、1,024 词元的预填充分块(prefill chunk),并关闭前缀复用。MTP0 未使用投机后端,上下文上限 262,144 词元;MTP3 每个请求的上下文上限为 131,072 词元,draft token 数为 3。
|
| 210 |
+
|
| 211 |
+
### 并发 MTP=3 语料总耗时(makespan)
|
| 212 |
+
|
| 213 |
+
固定语料包含 3 个长推理(long-reasoning)与 12 个跨场景(cross-scenario)样例,每个样例 5 个随机种子,共 75 个请求。每个并发点都启动全新服务器,使用相同的打乱种子(shuffle seed)与有序 HTTP 发送序列。C=1 为串行单请求语料。总耗时包含预填充、解码、负载切换(workload transitions)与最终排空(drain)。
|
| 214 |
+
|
| 215 |
+
| 并发数 C | 请求数 | 解码词元数 | 总耗时(秒) | 请求/秒 | 语料解码(词元/秒) | 平均批大小 | MTP 接受率 | 加速比 |
|
| 216 |
+
|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 217 |
+
| 1 | 75 | 752,160 | 4,670.27 | 0.0161 | 161.1 | 1.00 | 60.8% | 1.00× |
|
| 218 |
+
| 2 | 75 | 739,951 | 2,510.78 | 0.0299 | 294.7 | 1.98 | 59.2% | 1.86× |
|
| 219 |
+
| 4 | 75 | 713,384 | 1,647.74 | 0.0455 | 432.9 | 3.29 | 58.0% | 2.83× |
|
| 220 |
+
| 8 | 75 | 723,602 | 2,164.90 | 0.0346 | 334.2 | 2.36 | 57.6% | 2.16× |
|
| 221 |
+
|
| 222 |
+
全部 300 个请求均完成,未出现请求失败、CUDA 错误或显存溢出(OOM)。C=4 给出最短的完整语料总耗时。C=8 受显存压力限制,其完整语料结果比 C=4 更慢。采样是随机的,因此固定提示词与种子并不保证跨并发数值路线产生词元完全相同的续接;上表给出了确切的解码词元总数。
|
| 223 |
+
|
| 224 |
+
### 长上下文基线(关闭 MTP)
|
| 225 |
+
|
| 226 |
+
每个数值为服务器预热后,5 个固定种子下算术平均 ± 样本标准差。
|
| 227 |
+
|
| 228 |
+
| 提示词词元数 | 预填充阶段(词元/秒) | 服务端 TTFT(毫秒) | 解码阶段(词元/秒) |
|
| 229 |
+
|---:|---:|---:|---:|
|
| 230 |
+
| 7,680 | 8,340.4 ± 13.0 | 931.6 ± 1.6 | 71.2 ± 0.1 |
|
| 231 |
+
| 64,512 | 5,297.9 ± 259.2 | 12,281.1 ± 561.5 | 65.7 ± 0.8 |
|
| 232 |
+
| 130,048 | 3,544.7 ± 25.3 | 36,853.5 ± 259.4 | 59.6 ± 0.9 |
|
| 233 |
+
| 260,096 | 2,203.1 ± 13.4 | 118,354.8 ± 717.2 | 52.9 ± 2.3 |
|
| 234 |
+
|
| 235 |
+
### MTP=3 单请求长推理解码
|
| 236 |
+
|
| 237 |
+
C=1 点为每个样例提供 5 个样本。数值来自服务器阶段计时与投机计数器,为算术平均 ± 样本标准差。
|
| 238 |
+
|
| 239 |
+
| AIME 2026 样例 | 完成词元数 | 解码阶段(词元/秒) | MTP 接受率 | MTP 每轮词元数 |
|
| 240 |
+
|---|---:|---:|---:|---:|
|
| 241 |
+
| 第 1 题 | 1,465.4 ± 417.3 | 195.2 ± 4.6 | 76.0% ± 2.4% | 3.28 ± 0.07 |
|
| 242 |
+
| 第 15 题 | 65,414.4 ± 271.9 | 151.4 ± 2.0 | 56.2% ± 1.1% | 2.69 ± 0.03 |
|
| 243 |
+
| 第 30 题 | 50,023.4 ± 14,839.1 | 167.5 ± 23.7 | 64.6% ± 14.9% | 2.94 ± 0.45 |
|
| 244 |
+
|
| 245 |
+
### MTP=3 单请求跨场景解码
|
| 246 |
+
|
| 247 |
+
每个类别含 3 个样例,每个样例 5 个种子,共 15 个样本。
|
| 248 |
+
|
| 249 |
+
| 类别 | 解码阶段(词元/秒) | MTP 接受率 | MTP 每轮词元数 |
|
| 250 |
+
|---|---:|---:|---:|
|
| 251 |
+
| 代码(Code) | 194.3 ± 6.1 | 76.4% ± 3.9% | 3.29 ± 0.12 |
|
| 252 |
+
| 故事(Story) | 126.1 ± 10.9 | 37.4% ± 5.8% | 2.12 ± 0.17 |
|
| 253 |
+
| 翻译(Translation) | 192.3 ± 11.9 | 75.0% ± 6.5% | 3.25 ± 0.19 |
|
| 254 |
+
| 结构化输出(Structured output) | 219.8 ± 8.6 | 90.8% ± 5.1% | 3.72 ± 0.15 |
|
| 255 |
+
|
| 256 |
+
指标定义与精确复现命令,请参阅[完整方法与结果](https://github.com/Neroued/ninfer/blob/master/docs/performance/qwen3.8-27b.md)。
|
| 257 |
+
|
| 258 |
+
## 评测
|
| 259 |
+
|
| 260 |
+
该构件通过 NInfer 的 OpenAI 兼容服务路由进行评测,开启思维、MTP=3、INT8 group-64 KV。EvalScope 1.9.0 使用 0-shot 提示词、基于规则的评分(rule-based scoring),每题 1 个样本,采样参数为:温度 1.0、top-p 0.95、top-k 20、presence penalty 0.0、种子 42。文本套件在 252,928 词元上下文上限下运行;多模态套件以 `--vision` 在 81,920 词元上限下运行。
|
| 261 |
+
|
| 262 |
+
| 基准测试 | NInfer NVFP4 | 正确 / 总数 | 官方 Qwen3.8-27B BF16 |
|
| 263 |
+
|---|---:|---:|---:|
|
| 264 |
+
| IFBench(提示词级严格) | 77.00% | 231 / 300 | 79.5 |
|
| 265 |
+
| AIME 2025 | 96.67% | 29 / 30 | — |
|
| 266 |
+
| AIME 2026 | 96.67% | 29 / 30 | — |
|
| 267 |
+
| GPQA-Diamond | 90.40% | 179 / 198 | 89.2 |
|
| 268 |
+
| ERQA | 66.25% | 265 / 400 | 65.5 |
|
| 269 |
+
| RealWorldQA | 83.53% | 639 / 765 | 85.9 |
|
| 270 |
+
|
| 271 |
+
全部 1,723 个已配置样本均完成并评分。IFBench 另报告:指令级严格 80.50%、提示词级宽松 80.33%、指令级宽松 83.50%。以上均为单样本结果,并非 pass@k。
|
| 272 |
+
|
| 273 |
+
官方 Qwen3.8-27B BF16 数据来自[上游模型卡](https://huggingface.co/Qwen/Qwen3.8-27B);其采样设置与 IFBench 指标层级未在上游声明,故最后一列并非同协议对比。NVFP4 在四个重叠基准上的差值均落在 ±2.5 分以内,且上游模型卡未报告任何 AIME 结果。
|
| 274 |
+
|
| 275 |
+
## 限制
|
| 276 |
+
|
| 277 |
+
- NInfer 在单张 RTX 5090 与单个 CUDA 设备上执行,每个引擎(Engine)启动时可固定配置 1–8 个活动请求的容量。
|
| 278 |
+
- 它不提供大规模或抢占式连续批处理(continuous batching)、优先级/QoS 调度、多 GPU 执行、CPU/GPU 卸载或分布式服务。
|
| 279 |
+
- 上下文分配受 GPU 显存与所选 KV 缓存类型约束。
|
| 280 |
+
- NInfer 不执行生成的工具调用(tool calls)。
|
| 281 |
+
|
| 282 |
+
## 来源(Provenance)
|
| 283 |
+
|
| 284 |
+
| 字段 | 值 |
|
| 285 |
+
|---|---|
|
| 286 |
+
| 基础仓库 | `Qwen/Qwen3.8-27B` |
|
| 287 |
+
| 基础修订号 | `1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0` |
|
| 288 |
+
| 基础下载源 | `modelscope.cn/models/Qwen/Qwen3.8-27B` |
|
| 289 |
+
| 量化来源仓库 | `unsloth/Qwen3.8-27B-NVFP4` |
|
| 290 |
+
| 量化来源修订号 | `60e813d4dbbdc5d64cf3f5a8caf2897bedf03679` |
|
| 291 |
+
| 转换配方(recipe) | `qwen3_8_27b_nvfp4` |
|
| 292 |
+
| 嵌入编码器 | `fp8_row_maxabs` |
|
| 293 |
+
| 转换工具仓库 | `https://github.com/Neroued/ninfer` |
|
| 294 |
+
| 最低运行时修订号 | `98dada0e03cb073fd07f905400b5904bc6e82759` |
|
| 295 |
+
| 排序输入 SHA-256 | `c692dc76388132c910547589b4fb4a0503fbd6ad50aaac6a509bbcb192a8afa5` |
|
| 296 |
+
|
| 297 |
+
构件标识、汇总的对象清单与转换来源发布于 [`artifact-manifest.json`](https://huggingface.co/neroued/Qwen3.8-27B-nvfp4-NInfer/blob/main/artifact-manifest.json)。精确的存储契约维护于 [v3 容器参考](https://github.com/Neroued/ninfer/blob/master/docs/maintainer/artifact-container.md)。
|
| 298 |
+
|
| 299 |
+
## 许可证
|
| 300 |
+
|
| 301 |
+
本 NInfer 构件以 Apache License 2.0 分发。[Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B) 基础仓库与[量化来源仓库](https://huggingface.co/unsloth/Qwen3.8-27B-NVFP4)同样以 Apache-2.0 许可。用户仍须负责遵守许可证及适用法律法规。
|