Skip to content

Launcher presets use the small trainable models; fix CUDA llama.cpp detection - #24

Merged
FMXExpress merged 1 commit into
mainfrom
claude/optimistic-allen-i3bd3d
Nov 11, 2026
Merged

FMXExpress merged 1 commit into
mainfrom
claude/optimistic-allen-i3bd3d

Conversation

@FMXExpress

Copy link
Copy Markdown
Owner

The one-command launcher (scripts/run.sh, scripts/run.ps1) now picks the small models that learn in-process (#23).

Presets

preset before now
cpu-lite SmolLM2-135M (a demo) Qwen3-0.6B: 0.88 of 30 facts from the weights. SmolLM2-135M under 4 GB RAM.
cpu Qwen2.5-1.5B, background training off LFM3-1.7B (0.85), or LFM2-1.2B under 16 GB RAM (0.80). Both train in the background.
gpu8 Qwen2.5-1.5B through Python, training off Gemma 4 E2B (0.90), answering and training in-process, when llama.cpp has CUDA. Otherwise Qwen2.5-1.5B through Python, as before.

gpu12, gpu40 and 2gpu are unchanged.

Fix

cuda_llama in run.sh ran ls on two globs. ls fails when either is missing, so a CUDA llama.cpp was never detected and GPU presets always fell back to the Python engine. It now accepts either location.

Not measured (in bench/README.md)

  • These models in the 96-question agent run. Their numbers come from the memory benchmark.
  • The cpu presets train on a quarter of the cores. On a 4-core machine that is 1 thread, so a deep sleep can take up to 4× the measured 17–32 min.
  • Gemma 4 E2B's peak memory on an 8 GB card.

Test plan

  • run.sh --list, --dry-run, cpu-lite --dry-run, and gpu12 --dry-run (still engine=python and profile=medium without CUDA)
  • run.sh gpu8 --dry-run, with and without a libggml-cuda.so present
  • run.ps1 dry runs on the Windows runner (this PR's release workflow)

Generated by Claude Code

…etection

- cpu-lite: Qwen3-0.6B (0.88 of 30 facts from the weights), SmolLM2-135M under 4 GB RAM.
- cpu: LFM3-1.7B (0.85), LFM2-1.2B under 16 GB RAM (0.80). Both train in the background.
- gpu8: Gemma 4 E2B (0.90), answering and training in-process, when llama.cpp has CUDA;
  otherwise Qwen2.5-1.5B through Python as before.
- run.sh: cuda_llama ran ls on two globs and failed when either was missing, so a CUDA
  llama.cpp was never detected. It now accepts either location.
- run.ps1 mirrors the presets; README and bench/README say what is and is not measured.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
@FMXExpress
FMXExpress merged commit 554f242 into main Nov 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants