Repository navigation
Kestrel 0.1.2
·
448 commits
to kestrel
since this release
Kestrel moves to Project Maya v1.1.71, with fixes from a code review of Kestrel's own changes and new docs on starting a config and reading the speed numbers.
What's new since 0.1.1
Project Maya v1.1.71
Upstream's release, merged in full. For DeepSeek on AMD it brings:
- DeepSeek no longer hangs on two AMD GPUs when the expert tables are updated (#1086). One GPU runs as before.
- After a read refused because of the destination memory (EFAULT), a file keeps its unbuffered reads instead of switching to the page cache for good (#1076).
- On PCs with two or more NUMA nodes, the CPU lane's expert copies stay on their own node (#1083).
- The AMD (HIP) build compiles for the GPUs of every installed model.
- Running the setup again keeps every server setting (#1089), and
"web_ui": falsegives an API-only server.
There is also a lot of Hy4-Flash work. The full list, with credits, is in CHANGELOG.md.
Fixes from a code review
- DeepSeek, light experts on the helper GPU (
DS4_PROMPT_LIGHT,DS4_PROMPT_LIGHT_FILES):- A buffer that failed to allocate no longer leaves a half-made setup for the next prompt to use.
- The helper's file reads are always finished before their buffers are reused, including when a prompt stops early.
- DeepSeek, busy EXL3 experts (
DS4_X3_FAT_ROWS):- A failed kernel launch stops the batch before its matrix multiplications.
- Scratch memory is freed if an allocation fails.
- DeepSeek: the engine frees these buffers when it shuts down. A data race in the profiling hooks (
DS4_PROF) is fixed. - MiniMax on AMD: the MiniMax engine and its GPU tests now build and link with HIP.
- Native experts: a Q8_0 down projection is refused up front, instead of being half-queued and then failing.
- Turbo (dashboard): Turbo now reads and writes a setting under any of its names. With a config using
KESTREL_names, it used to misreport and writeMAYA_copies that then took over. - Settings under several names: the order is now fixed, whatever order the names come in:
MAYA_first, thenKESTREL_, thenSTRATA_. ./kestrel.sh --report: the Config line now shows the values that actually count.
Docs
- README, Which model starts:
./kestrel.shstarts the most recently used config. Use./kestrel.sh --config <file>to pick another one, or one kept outside the Kestrel folder. - README, Reading the speed numbers: what the prompt speed counts (only new tokens, as llama.cpp counts them), why short and reused reads look slow while answers come quickly, and how to compare with other engines.
- docs/KESTREL_LINUX_AMD.md: keeping the tuned config outside the Kestrel folder, and running
--benchand--reportwith it.
Tested on the reference PC (R9700 + Radeon 8060S, DeepSeek-V4.1-Flash EXL3 2.25 bits):
- Quality checks: 8/8 code tasks and 12/12 reasoning questions.
- Answers: match 0.1.1's when the run is repeatable (expert cache off).
- Speed: the same as 0.1.1, within run-to-run noise.
- Live coding session: 133 requests up to a 200K-token context, decoding at 52.3 tokens/s overall (median 50.3 at 80K+ context).
Updating
Settings › About and updates in the dashboard, or git pull and then ./kestrel.sh. The model is not downloaded again.
Thanks to Peasant Smith and the Project Maya contributors, whose work all of this builds on.