by CSUNX233
RTX 5070 Ti Laptop 12GB 跑 Qwen3.8-27B:NInfer + KVMem、256K 逻辑上下文、RAM KV、MTP、快速缓存续接与 dsh 本地 Agent / 搜索 / 浏览器。含源码、Windows 部署及实测。
# Add to your Claude Code skills
git clone https://github.com/CSUNX233/qwen3.8-27b-ninfer-5070tilaptop-kvmem-local-agentGuides for using ai agents skills like qwen3.8-27b-ninfer-5070tilaptop-kvmem-local-agent.
Last scanned: 10/25/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-25T08:59:36.367Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how qwen3.8-27b-ninfer-5070tilaptop-kvmem-local-agent compares with popular alternatives.
qwen3.8-27b-ninfer-5070tilaptop-kvmem-local-agent is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by CSUNX233. RTX 5070 Ti Laptop 12GB 跑 Qwen3.8-27B:NInfer + KVMem、256K 逻辑上下文、RAM KV、MTP、快速缓存续接与 dsh 本地 Agent / 搜索 / 浏览器。含源码、Windows 部署及实测。. It has 85 GitHub stars.
Yes. qwen3.8-27b-ninfer-5070tilaptop-kvmem-local-agent passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/CSUNX233/qwen3.8-27b-ninfer-5070tilaptop-kvmem-local-agent" and add it to your Claude Code skills directory (see the Installation section above).
qwen3.8-27b-ninfer-5070tilaptop-kvmem-local-agent is primarily written in C++. It is open-source under CSUNX233 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh qwen3.8-27b-ninfer-5070tilaptop-kvmem-local-agent against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
在消费级显卡上运行 Qwen3.8-27B 本地 Agent,支持代码、文件与网页工具任务。NInfer 负责模型推理,KVMem 把历史 KV 保存在 RAM、按需调入 GPU,配合 MTP 推测解码、缓存守卫和可选 dsh 网页界面,减少长任务续接时的重复计算。逻辑上下文配置为 256K;不代表每步读取全部历史,也不代表已完成满 256K 验收。English
本项目现已提供 Pmod 桌面级一体化管理平台与图形化工作台(源码位于 desktop/,基于 Tauri 2.0 + Vue 3.5 构建):
scripts/build-inno-installer.ps1),可一键编译生成独立分发的 Windows 安装包;.ninfer 单文件容器,内置 OpenAI Compatible API 代理网关(默认 :1236 端口),可无缝对接 VS Code、Cursor 与 Claude Code 等生态。
实测机器:RTX 5070 Ti Laptop 12GB / i7-14650HX / 32GB RAM / Windows;模型为 Qwen3.8-27B GSQ-RCO IQ3_XXS + MTP3。下表保留旧版 RK4V4 条件下的记录,不是 v0.1.5 / NVFP4 重新测得的速度。
| 任务 | 实测速度 | 测量条件 |
|---|---|---|
| 短写作解码 | 71.81 tokens/s | 小矩阵调度开启,两轮算术均值 |
| 短代码解码 | 84.49 tokens/s | 同组短任务,两轮算术均值 |
| 缓存重复代码解码 | 85.00 tokens/s | 同组缓存请求,两轮算术均值 |
| 110,019-token 冷预填充 | 620.48 tokens/s,约 177.31 秒 | 更早阶段单次记录,随后解码 69.28 tokens/s |
短任务测速显式使用 temperature=0、seed=1234、reasoning=none,日常预设为 xhigh;功耗、任务、KV 格式和缓存命中都会影响速度。不同阶段记录不能拼成一次统一测试。完整条件与历史实测 · 作品展示
在 v0.1.5 的模型、NVFP4、39168/6144 页池、MTP3、xhigh、采样和回答惩罚设置不变的前提下,发布查询层与 agent 执行层升级。
related-tool-head 选择最后用户之后与用户末段词法最相关的最新工具头;suffix refresh=tail 在 KV 映射前刷新;QUERY_ASSEMBLE=1 跨块收集完整查询(上限 512 token)并在同一历史域重评分。真实 116,907-token 故障历史完整目标路径/合法 read-edit 由 1/4 → 4/4(latest-tool-head 系列),同历史留出 8 seeds 由 4/8 → 8/8;因果四类 8/8;旧延迟压力首轮仍 2/4;六类短续接路径/严格 10/12、7/12 持平。edit-guard 在单文件精确替换时执行前校验目标/动作/old-new,错误动作不执行、不静默改路径;task-ledger 在多动作任务想停时提醒剩余动作。结构化反馈后一次恢复 10/10(generic 0/10);两个复杂任务由 1/2 → 2/2(三动作 move+edit+write 完成,0 额外改动)。max_tokens 下 1..N 连续、无缺行/重复/坏行;500 行/12288 的失败是 xhigh reasoning 占用预算,不是序列 bug。71259a21f7b525ca7477193a292e4d3623cc58b9efd785005ee934cc29673507;v0.1.5 原引擎 38bc4d8c6be07afd6c74b902cc33403bf2ee139a2c50129d363d68d74a7609d6 作为回退。源码标签 v1.0.0;引擎附件:下载 ninfer-5070ti-win-x64-sm120a-v1.0.0.exe(SHA-256 71259a21f7b525ca7477193a292e4d3623cc58b9efd785005ee934cc29673507)。详细说明见 Release Notes。在 v0.1.4 上移植 C2.1,改善长任务的缓存恢复和 KV 回迁。 保留工具解析、采样、NVFP4、FP16 GDN 和回答独立惩罚计数修复,默认仍为纯文字 + MTP、xhigh,不启用视觉。下载 v0.1.5 · 更新说明
经多位使用者实测反馈,RTX 30 系及以后、12GB 及以上显卡可以稳定运行本项目;16GB 卡可选更大的 IQ3_S 模型,通常能获得更高质量。 这是社区使用反馈,需选择匹配显卡架构的引擎,并给系统、后台和 KV 留足余量,不是对每种设备/任务的逐卡保证。
| 硬件 | 引擎与模型建议 |
|---|---|
| RTX 30 / 40 系,12GB+ | 使用对应架构的兼容构建;参考编译说明,不能直接运行本次 sm120a 附件 |
| RTX 50 系,12GB+ | 本次 Windows x64 / sm120a 附件;直接实测设备为 5070 Ti Laptop 12GB |
| 16GB 及以上 | 可以选择更大的 IQ3_S 文字模型,另行准备含 MTP 的 .ninfer 并验证预算;本次完整版两份制品的文字权重仍是 IQ3_XXS |
推荐 32GB 系统内存、SSD,以及兼容 CUDA 13 的 NVIDIA 驱动。不同架构还需适配内核与依赖,不能只改 exe 文件名。
.ninfer;完整版只含 GSQ-RCO 文字+MTP 和 Huihui 文字+视觉+MTP 两份制品,均自带引擎和用户态运行依赖。| 本轮检查 | 结果与边界 |
|---|---|
| 12 项定向回归 | 通过,覆盖锚点、解析器、回迁、Host 压力、缓存恢复与隔离 |
| 约 68K 藏针,7 次请求 | 压缩前后均 7/7;最后一次压缩后请求复用 58,330 tokens、耗时 1.93 秒 |
| 约 68K 小游戏状态/代码续接,7 次请求 | 压缩前后均 6/6 字段、6/6 Node 运行检查;最后一次请求复用 58,459 tokens、耗时 2.77 秒 |
| 日常 API 合成冒烟 | 7 项通过,含短 xhigh、工具续接及 CPU 读图 |
两个长夹具各总耗时约 153/156 秒,thinking-off、greedy;上表的 1.93/2.77 秒仅为最后一次请求。14 个输出 token 序列与旧 C2.1 同夹具一致。整卡显存每 5 秒采样峰值约 11,176/11,174 MiB;没有原版 v0.1.4 同条件峰值对照,不能声称显存零增量或普遍提速。 锚点会使用有界 Host 内存,压力下可被回收。完整记录与限制 · 脱敏证据
v1.0.0 引擎附件:下载 ninfer-5070ti-win-x64-sm120a-v1.0.0.exe,SHA-256 71259a21f7b525ca7477193a292e4d3623cc58b9efd785005ee934cc29673507。源码标签 v1.0.0;旧版 v0.1.5 附件继续保留。
| 网盘包 | 内容与入口 |
|---|---|
NInfer-v0.1.5-Windows-sm120a-no-models.zip |
不含模型;运行 01-setup-your-model.cmd 选择自己的文字+MTP v3 .ninfer |
NInfer-v0.1.5-Windows-sm120a-full.zip |
GSQ-RCO IQ3_XXS 文字+MTP,以及完整 Huihui 文字+视觉+MTP 制品;先运行 01-setup-gsq.cmd,不再附带 Huihui 纯文字副本 |
完整版默认 GSQ 纯文字,关闭视觉,一次只加载一个模型。需要读图时,停止服务后显式运行 09-enable-cpu-vision.cmd;切换至 Huihui,视觉塔和前处理全部使用 CPU,文字/MTP 仍使用 GPU。首次读图会增加等待与 RAM 占用。09-disable-vision-gsq.cmd 切回 GSQ 并关闭视觉。整合包说明 · 安装提示词 · 纠错文档
两包根目录均有中文安装说明、安装提示词、纠错文档、更新说明及独立的 显存不足处理顺序.txt。安装完整性与 04-verify.cmd 不强制要求模型,没有某个未选用模型也能通过;部署/启动只检查当前选择的模型。需要额外核对已保留模型时可用 -CheckModels。具体用法
使用网盘包按上表入口安装后运行 02-start.cmd,关闭用 03-stop.cmd。系统仍需驱动、VC++ 运行库与 Microsoft Edge;包内提供 VC++ 安装器,不捆绑显卡驱动。
使用 GitHub 源码安装(Node.js 24+,自行准备模型):
git clone https://github.com/CSUNX233/qwen3.8-27b-ninfer-5070tilaptop-kvmem-local-agent.git
cd qwen3.8-27b-ninfer-5070tilaptop-kvmem-local-agent
powershell -NoProfile -ExecutionPolicy Bypass -File .\setup.ps1 -ModelPath "D:\Models\qwen3.8-27b-gsq-rco-iq3-xxs.ninfer"
.\start.cmd
新部署默认 NVFP4、xhigh、MTP3、DeviceKV 36864 / Retrieve 3840 / HostKV 7168 MiB,sink 12288、recent 19456。不要直接套用维护者的 39168/6144 进阶档。升级已有安装见安装说明,只 git pull 不会替换旧 exe。
显存不足依次处理:优先混合显卡模式 → 对实际引擎关闭 CUDA 系统内存回退 → 关闭后台应用 → 优先换 RK4V4 → 再配套缩小页池与检索窗口。 保留 KVMem 的 7GiB Host KV,它与驱动溢出不同。缩检索窗口可能影响历史召回;NVFP4 与 RK4V4 也不保证相同输出。操作步骤
默认接口:引擎 http://127.0.0.1:1234/v1,缓存守卫 http://127.0.0.1:1236/v1,dsh 网页 http://127.0.0.1:3080。登录凭据只保存在本机日志,不要公开。
维护者使用本地模型制作了鹈鹕骑自行车动画,也用近期候选制作了象棋游戏。作品展示不是受控性能或质量评测;旧版测速保留在历史实测,不当作本轮复测。

特别感谢 Bilibili 0xFFFF7:维护者使用的基础架构来自他分享的版本,此前死循环问题也由他解决。基础引擎、KVMem 及其他作者归属见上下游与许可与 NOTICE。
代码以 Apache-2.0 开源,第三方组件遵守各自许可。模型另行授权,Huihui Swift 衍生部分适用 Swift Open License v1.0,含商业收入门槛;不能将整个模型当作纯 Apache-2.0。模型与许可
本版是增量构建:从明确 v0.1.4 基线重编 71 个 Host 单元,复用 11 个已验证 CUDA 对象及原静态库,尚非干净全量构建。未重跑全量 CTest、全 256K、所有架构或长期 xhigh 真实项目评测。长历史中段通过检索选页,缓存保存不等于每次全量读取;搜索访问互联网仍需网络。默认单并发、回环地址,不自动修改驱动或启用人物技能。
部署维护手册 · 源码编译 · 修改范围 · 集成组件 · v0.1.4 历史更新