Repository navigation
MobiInfer-Android 0.4.8
Qwen4-35B-A3B 上线,从下载到 NPU 推理都在 App 里完成。
- 新增 Qwen4-35B-A3B(文本)档位:hexagon-tiled 专家 40 层,配套外置
DFlash2 Q8_0 草稿模型,整套约 32 GB,模型管理里一键下载。 - 草稿文件改为按独立校验和核对:
supplementalDraftSha256单独校验草稿,
不再只看 bundle 清单,缺文件会直接报错而不是静默退回自回归。 - 引擎新增
qwen4exp架构(超连接HC_*张量)与混合索引 KV 缓存
(llama-memory-hybrid-idx),Qwen4 的长上下文不再整段重算。 - 新增 DFlash2 投机解码支持:草稿带
selector_top_k时走独立的
logits 选取路径,须配speculative_type: "dflash"(与 dspark 互斥,配错会报错)。 - 附带
models/templates/Qwen4-35B-A3B.jinja对话模板,以及
tools/moe/QWEN4.md转换步骤和tools/moe/validate_qwen4.py校验脚本。 - 许可证从 MIT 改为 Apache License 2.0 + 商用附加条款:商业使用须与版权方
另行签订商业合作协议(fengerhu1@sjtu.edu.cn)。第三方组件仍按其原有许可证,
见THIRD_PARTY_NOTICES.md。
Qwen4-35B-A3B is now available end to end inside the app.
- New Qwen4-35B-A3B (text) tier: 40 hexagon-tiled expert layers plus an external
DFlash2 Q8_0 draft, ~32 GB in total, one-tap download in the model manager. - The draft is now verified by its own checksum:
supplementalDraftSha256is checked
separately from the bundle manifest, so a missing draft fails loudly instead of
silently falling back to autoregressive decoding. - New
qwen4exparchitecture (HC_*hyper-connection tensors) and a hybrid indexed
KV cache (llama-memory-hybrid-idx), so Qwen4 no longer recomputes long contexts. - New DFlash2 speculative decoding: a draft carrying
selector_top_ktakes a
separate logits-selection path and requiresspeculative_type: "dflash"
(mutually exclusive with dspark; a mismatch throws). - Ships
models/templates/Qwen4-35B-A3B.jinja, the conversion steps in
tools/moe/QWEN4.md, andtools/moe/validate_qwen4.pyfor validating an export. - The license changed from MIT to the Apache License 2.0 with additional terms for
commercial use: commercial use requires a separate commercial cooperation
agreement with the copyright holder (fengerhu1@sjtu.edu.cn). Third-party components
keep their own licenses; seeTHIRD_PARTY_NOTICES.md.