Default to 0.6B across API/CLI/demo + CLI --model picker (ADR 0051) - #5
Merged
Conversation
Make 0.6B the default everywhere Committed downloads/serves; 1.7B stays
selectable. Supersedes ADR 0048's 1.7B serving-of-record.
- engine.py: DEFAULT_MODEL_REPO/FILE -> the 0.6B GGUF; DEFAULT_TOKENIZER ->
Qwen/Qwen3-0.6B (identical vocab, v2-i1 Gate 0). Single source for the bare
download default.
- serving/api.py: registry DEFAULT_MODEL -> "0.6b" (eager at startup); 1.7b now
lazy. A no-model /generate resolves to 0.6b (intentional default flip).
- cli.py: add --model {0.6b,1.7b} (default 0.6b) mapping to the two GGUF repos;
keep --model-path and COMMITTED_MODEL_* overrides; model-aware download-size
notice; --help updated.
- Demo dropdown default follows DEFAULT_MODEL (0.6b) on the next rebuild.
- ADR 0051 + regenerated decision log/tree.
Thread fix (n_threads=2) retained on every instance.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CyxW8LpuJuQRCzdnfYp8Xo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Make 0.6B the default everywhere Committed downloads or serves; 1.7B stays fully selectable. Supersedes ADR 0048 (1.7B serving-of-record) → ADR 0051.
engine.py:DEFAULT_MODEL_REPO/FILE→ the 0.6B GGUF,DEFAULT_TOKENIZER→Qwen/Qwen3-0.6B(identical vocab, v2-i1 Gate 0). Single source for the bare-download default.serving/api.py: registryDEFAULT_MODEL→"0.6b"(eager at startup); 1.7B now lazy on firstmodel:"1.7b"request. A no-model/generatenow returns 0.6B — an intentional default flip (coordinated with the portfolio reframing).cli.py:--model {0.6b,1.7b}(default0.6b) mapping to the two GGUF repos;--model-path+COMMITTED_MODEL_*overrides retained; model-aware download-size notice;--helpupdated.DEFAULT_MODEL→ 0.6B on next rebuild.n_threads=2) retained on every instance.Facts for the model cards (observed, not guessed)
marzoukbaig14/committed-gguf-0.6b/committed-0.6b-finetuned-Q4_K_M.gguf: 396,704,512 bytes ≈ 396.7 MB (378.3 MiB), quant Q4_K_M (general.file_type=15), archqwen3. Hub-reported size matches the local build byte-for-byte.committed-gguf-0.6bandcommitted-gguf→private=False("no token needed" is true).git diff | committedgit diff | committed --model 1.7bpip install --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu committed @ git+...install line is unchanged and model-agnostic (the package pulls whichever public GGUF the default/--modelselects).git diff | committed):fix: divide by zero— valid Conventional Commit. The default-path download notice fired forcommitted-gguf-0.6b (~380 MB), confirming the CLI default resolves to 0.6B.Verification
ruff checkclean;committed --helpshows--model {0.6b,1.7b}(default 0.6b);api.DEFAULT_MODEL == "0.6b"; engine default → the 0.6B GGUF; live 0.6B generation above.After merge (Part 4 — I'll do it)
Factory-rebuild
committed-apiandcommitted-demo(merge alone doesn't pull@main), then verify live:/healthshows 0.6B default/eager, no-model→ 0.6B (~1s warm),model:"1.7b"lazy-loads, demo dropdown defaults to 0.6B. Note: once this deploys, the portfolio's no-modelrequests begin returning 0.6B (intended).Does not touch the portfolio repo; does not write the Hub cards (human does, from the facts above).
🤖 Generated with Claude Code
Generated by Claude Code