Boost: spike a bigger model on a laptop with the QVAC SDK

未关闭
#58 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
28/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃

调研方向

Read packages/model/src/engine.ts and apps/mobile/src/adapters/qvac-engine.ts to implement the laptop spike with the pinned QVAC SDK; use the models, laptop measurements, tool checks, and eval commands specified in the issue. Record reproducible commands and results in docs/research/boost-laptop-models.md, including licenses and limits. Done means the finding compares three model sizes on at least two laptops and recommends a first Boost profile and minimum supported laptop.

由索引模型根据 Issue 内容生成。

描述

help wanted model-path

Why

Boost exists to run a bigger model than the phone's BotPsy-0.8B (EP-18). Nobody has measured a bigger model on ordinary laptops through the QVAC SDK, the runtime the phone already uses (ADR-003). docs/research/qvac.md notes that QVAC's docs suggest qwen3.5-9b for real agent work, and packages/model/src/profile.ts already pins a Qwen3.5-4B file (QWEN35_4B_Q4). These numbers decide the desktop stack, the hardware floor and the first Boost profile.

What to do

An experiment. Answer the questions, write them down, and stop.

  1. On at least two different laptops, such as an Apple Silicon Mac and an x86 Windows or Linux machine, write a small Node script that uses @qvac/sdk 0.23.0, pinned exactly as in apps/mobile/package.json, loads a GGUF from a local file and runs completions. Implement CompletionEngine from packages/model/src/engine.ts, the way apps/mobile/src/adapters/qvac-engine.ts does on the phone.
  2. Try BotPsy-0.8B as the baseline, Qwen3.5-4B Q4_K_M (the file pinned in profile.ts), and one model of about 9B. Download each over HTTPS from a pinned revision and check its SHA-256 before loading it.
  3. For each model and laptop, record: load time, memory used, prompt reading and generation speed in tokens per second (engineStats reads QVAC's stats), time to the first token on a prompt of about 2,000 tokens, and whether the laptop throttled.
  4. Check the tool path: with tools offered and no handler, tool calls come back unexecuted, as on the phone. Try qvac serve --openai too (qvac.md, section 3.2, item 8), and note what it exposes and on which address.
  5. For accuracy, run the eval lab on the same files through llama-server (docs/evals.md, The Mac lab): packages/eval/src/mac-eval.ts with --set va and --set holdout, and one trajectory seed. Use an existing profile id, for example qwen35-4b-q4-two-stage-nothink with --format native_tools, and write down every flag. The profile sets the harness's settings, while llama-server decides which file runs, so name the file next to every number.
  6. Write the finding in docs/research/boost-laptop-models.md (new): the verdict first, then what you ran, a table per laptop and model, each model's license, and the limits.

Done when

  • The finding is merged, with numbers for at least two laptops and three model sizes, and a recommendation: which model and settings to try as the first Boost profile, and the smallest laptop worth supporting.

How to check

  • A reviewer reruns one row of the table from the finding's steps and gets numbers in the same range.
  • The guard passes on the doc: no run logs, transcripts or local paths.

Depends on

Nothing.

Keep in mind

  • Keep the spike's code out of the pnpm workspace: a scratch folder you don't commit, or a standalone folder with its own package.json and lockfile, like packages/eval/x402-facilitator. Don't add @qvac/sdk to a workspace package for this.
  • Never load from QVAC registry:// sources (AGENTS.md). Hugging Face over HTTPS, a pinned revision, the SHA-256 checked.
  • Name the machine for every number. Laptop speed isn't phone speed (VISION.md, principle 4).
  • Don't tune prompts or the router on held-out cases (AGENTS.md rule 11).
  • Only models under Apache-2.0-compatible licenses are candidates (AGENTS.md rule 13).
主要语言
TypeScript
星标
11
派生
0
平均合并
10 分钟
30 天内合并 PR
6

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DojoCodingLabs/hermit 的其他 Issue

查看 DojoCodingLabs/hermit 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。