Files
584811d86d Local models: ygg-models.sh, ygg-gpu.sh, and local roles in the proof and smoke scripts (#89)
* ygg-gpu.sh setup|check: the toolkit and the CDI spec in the Podman machine, repeatable (local-models LM-T15)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ygg-models.sh start|stop|status|load, and the qwen scripts find the server through it (local-models LM-T12)

qwen-local.sh and its test are removed; qwen-lib.sh reads ygg-models.sh status.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ygg-models.sh: --folder, exact names, reserved networks, load retry; qwen scripts tell engine errors from not running (local-models LM-T12)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H5rHSQVuXrzFdTaNXZdSde

* The proof and smoke scripts take opencode:local/<name> roles and --models FILE (local-models LM-T13)

A local role writes models.file into the config and, for the reviewer, no reasoning line. The OpenRouter
key and the usd caps are asked for only when a role is on OpenRouter. A local role without --models is
refused before anything is made. The default roles give the same config as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H5rHSQVuXrzFdTaNXZdSde

* ygg-models.sh uses engine-side mount paths, a template step, and a hardened container (local-models review)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H5rHSQVuXrzFdTaNXZdSde

* ygg-gpu.sh checks the engine before any wsl.exe -d and reads the state with one probe (local-models review)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H5rHSQVuXrzFdTaNXZdSde

* Proof and smoke refuse two local models; the how-to uses the template step and the image (local-models review)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H5rHSQVuXrzFdTaNXZdSde

* ygg-gpu.sh sends root scripts on stdin to sh -s, and the template step knows a fixed template (local-models review)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H5rHSQVuXrzFdTaNXZdSde

* The example model list takes temp, top-k and top-p from the model file, and sets only min-p (local-models review)

The Qwen GGUF carries general.sampling.temp, top_k and top_p, which llama-server uses unless a
preset key overrides them. The founder uses the model's own values in most cases.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H5rHSQVuXrzFdTaNXZdSde

---------

Co-authored-by: Bruno Guilhermo de Barros Valério <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-10-26 02:13:33 +01:00
..