---
title: DeepSeek-V4.1-Flash-w8a8
canonical_url: "https://www.modelscope.cn/models/Eco-Tech/DeepSeek-V4.1-Flash-w8a8"
md_url: "https://www.modelscope.cn/models/Eco-Tech/DeepSeek-V4.1-Flash-w8a8.md"
repository: Eco-Tech/DeepSeek-V4.1-Flash-w8a8
last_updated: 2026-09-16
license: "MIT License"
pipeline_tag: image-text-to-text
tasks:
  - image-text-to-text
model_type:
  - deepseek_v41
architectures:
  - DeepseekV41ForCausalLM
base_model:
  - deepseek-ai/DeepSeek-V4.1-Flash
base_model_relation: quantized
parameters: 771.0B
tensor_type:
  - BF16
  - I8
  - F32
library_name:
  - safetensors
downloads: 16520
stars: 27
---

# DeepSeek-V4.1-Flash-w8a8

> DeepSeek-V4.1-Flash-w8a8 - Eco-Tech 在 ModelScope 开源的模型。DeepSeek-V4.1-Flash-w8a8

Eco-Tech/DeepSeek-V4.1-Flash-w8a8 是 ModelScope 魔搭社区上的 771.0B 参数image-text-to-text模型，采用 MIT License 许可，基于 deepseek-ai/DeepSeek-V4.1-Flash 构建。

- **Repository**: Eco-Tech/DeepSeek-V4.1-Flash-w8a8
- **License**: MIT License
- **Tasks**: image-text-to-text
- **Parameters**: 771.0B
- **Base model**: deepseek-ai/DeepSeek-V4.1-Flash
- **Downloads**: 16520
- **Stars**: 27
- **Last updated**: 2026-09-16

Source: https://www.modelscope.cn/models/Eco-Tech/DeepSeek-V4.1-Flash-w8a8

---

# DeepSeek-V4.1-Flash-w8a8

【注】：此为先行体验版，非msmodelslim官分分支量化版。

——————————————————————————————————————————————————————————————


主干与 DSpark 指定 Linear 为 W8A8 Dynamic；ViT/Aligner 和 Engram 为 BF16。

Engram 表直接由原始 FP8 E4M3 + group32 UE8M0 scale 解码为 BF16，不经过 INT8 中转；以完整张量 `layers.1.engram.embed.weight`、`layers.14.engram.embed.weight` 保存，无 embedding quant scale、`.parts.*` 或 compressed-tensors 配置。整体继续使用 `quant_method: ascend`。

`Aurora_best_practice.yaml` 记录制作方案。原生制作使用 `apiversion: modelslim_convert`、`spec.profile: aurora`，通过 `msmodelslim quant --config` 执行；历史脚本记录使用旧 schema。主干执行 norm folding 和 QuaRot；DSpark 仅 main_proj 输入适配主干旋转，embed/head 保留源值副本。

Engram 的 K 与 gate 保持原模型基底，gate 输入仍需恢复 `h_rot @ Q.T`。`wkv` 最后 5120 行 V 已折叠 `Q.T @ Wv`，直接输出旋转基底的 V；用 `h_rot + gate * v_rot` 更新 residual，禁止再次对增量乘 Q。具体约定见 `config.json` 的 `engram_rotation_config`。ViT 输出边界已旋转。`optional/quarot.safetensors` 保存 global/query 旋转矩阵。

权重转换与推理适配是独立验收项。当前尚未签核该 Aurora 的完整 vLLM/vllm-ascend 推理或整模型任务精度。转换与校验记录位于单独的制作目录，不属于权重加载依赖。

原生导出含 `aurora_export_manifest.json`，记录分片和元数据 SHA256、实际配置、源码与运行环境。复制后运行 `python -m msmodelslim.model.aurora.integrity --output /path/to/Aurora-W8A8` 全量回读检查。历史脚本产物不包含此清单；完整性 PASS 不代表数值精度验收。

Engram 源格式描述位于 `quant_model_description.json` 的
`optional.embedding_storage`（version 2）：每个 `layers.N.engram.embed` 模块记录
`format: bf16`、`weight_dtype: BF16`、`weight_shape: [rows, 256]` 和
`layout: row_major`，没有 scale。dtype 名称与 safetensors header 一致；原有
`FLOAT` tensor tag 和普通 W8A8 Linear 描述保持不变。

这些字段只描述 checkpoint 实际源格式。`engram_storage`、`engram_load_dtype`
由 vLLM 的运行时配置选择，不写入 checkpoint；BF16 源可直接加载，也可由 loader
分块转为 INT8。Engram hash、projection、gate 和 V 旋转合同保持不变。
