[PR #312] [MERGED] DeepSeek tuned to each PC, the Windows + Strix Halo decode fix, and fixes for v1.1.18 #465

Closed
opened 2026-10-29 21:25:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mw00/project-maya/pull/312
Author: @mw00
Created: 10/20/2026
Status: ✅ Merged
Merged: 10/20/2026
Merged by: @mw00

Base: main ← Head: rel-1118


📝 Commits (1)

  • df1194e DeepSeek tuned to each PC, the Windows + Strix Halo decode fix, and fixes for v1.1.18

📊 Changes

40 files changed (+3934 additions, -239 deletions)

View changed files

📝 CMakeLists.txt (+8 -2)
📝 README.md (+6 -0)
➕ data/expert-profile-ds4.bin (+0 -0)
📝 docs/SETTINGS.md (+70 -8)
📝 docs/SETUP.md (+3 -1)
📝 include/strata/kernels/sampler.hpp (+3 -1)
➕ include/strata/platform/commit.hpp (+85 -0)
📝 maya.py (+119 -8)
📝 serve/server.py (+104 -30)
📝 serve/test_server.py (+54 -1)
➕ serve/test_stop.py (+355 -0)
📝 setup.py (+45 -0)
📝 src/core/glm_dflash.cu (+1 -1)
📝 src/core/glm_fast_path.cu (+5 -3)
📝 src/core/glm_model.cu (+2 -1)
📝 src/core/glm_mtp.cu (+2 -2)
📝 src/core/glm_multi.cu (+1 -1)
📝 src/core/glm_rows.cu (+1 -1)
📝 src/core/glm_window.cu (+2 -2)
📝 src/ds4/ds4_gguf.cu (+77 -4)

...and 20 more files

📄 Description

DeepSeek-V4.1-Flash-1017 tuned to each PC, the Windows + Strix Halo decode fix, and a round of fixes, as one commit
over the community PRs merged for v1.1.18.

  • Windows APUs: both engines count what a Windows-managed page file may still grow by in Windows' commit
    (include/strata/platform/commit.hpp), so a laptop with the default page file keeps its experts on the GPU again.
  • DeepSeek, one GPU: prompts borrow the experts' VRAM while they run (read back after), 16K / 32K chunks where the
    room allows, a short prompt's reads through the page cache, a decode warm-up after long prompts.
  • DeepSeek: the PCIe lane (a token's non-VRAM experts split between the CPU and the GPU by measured costs, turned off
    where it doesn't pay; MAYA_DS4_STREAM), low-bit experts' activations rounded on the GPU as the CPU lane rounds them.
  • DeepSeek: the CPU lane measured at load (MAYA_DS4_CPU_LANE), SMT siblings left to the readers, AMD desktop VRAM
    reserve, a shipped expert profile for new installs.
  • DeepSeek: repetition / frequency / presence penalties (drafting included); repeat_last_n as llama.cpp's.
  • DeepSeek: --no-expert-cache answers no longer depend on earlier requests; MAYA_DS4_DISK_SKIP_AUTO (experimental).
  • Fixes: #277 (--calibrate keeps the config's own values unless beaten), #278 (MSVC __cpuidex), #296 (Windows
    test build), #301 (Fedora's ROCm under /usr), the live tokens/s window, maya's argument parsing in two chains
    (MSVC's nesting limit), stopping maya.py stops the server and engine.
  • README: the models' Hugging Face downloads.

Checked: CI's Python job, Linux (sm_70) and Windows (MSVC + CUDA) builds, the HIP build on Windows (gfx1151), the
DeepSeek GGUF kernel tests, GLM tokens identical to v1.1.17 with exact settings, DeepSeek against DeepSeek's reference
logits, every pinned download against Hugging Face.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mw00/project-maya/pull/312 **Author:** [@mw00](https://github.com/mw00) **Created:** 10/20/2026 **Status:** ✅ Merged **Merged:** 10/20/2026 **Merged by:** [@mw00](https://github.com/mw00) **Base:** `main` ← **Head:** `rel-1118` --- ### 📝 Commits (1) - [`df1194e`](https://github.com/mw00/project-maya/commit/df1194eaf0871521c47b74d204b0924cfdff5bd6) DeepSeek tuned to each PC, the Windows + Strix Halo decode fix, and fixes for v1.1.18 ### 📊 Changes **40 files changed** (+3934 additions, -239 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+8 -2) 📝 `README.md` (+6 -0) ➕ `data/expert-profile-ds4.bin` (+0 -0) 📝 `docs/SETTINGS.md` (+70 -8) 📝 `docs/SETUP.md` (+3 -1) 📝 `include/strata/kernels/sampler.hpp` (+3 -1) ➕ `include/strata/platform/commit.hpp` (+85 -0) 📝 `maya.py` (+119 -8) 📝 `serve/server.py` (+104 -30) 📝 `serve/test_server.py` (+54 -1) ➕ `serve/test_stop.py` (+355 -0) 📝 `setup.py` (+45 -0) 📝 `src/core/glm_dflash.cu` (+1 -1) 📝 `src/core/glm_fast_path.cu` (+5 -3) 📝 `src/core/glm_model.cu` (+2 -1) 📝 `src/core/glm_mtp.cu` (+2 -2) 📝 `src/core/glm_multi.cu` (+1 -1) 📝 `src/core/glm_rows.cu` (+1 -1) 📝 `src/core/glm_window.cu` (+2 -2) 📝 `src/ds4/ds4_gguf.cu` (+77 -4) _...and 20 more files_ </details> ### 📄 Description DeepSeek-V4.1-Flash-1017 tuned to each PC, the Windows + Strix Halo decode fix, and a round of fixes, as one commit over the community PRs merged for v1.1.18. - Windows APUs: both engines count what a Windows-managed page file may still grow by in Windows' commit (include/strata/platform/commit.hpp), so a laptop with the default page file keeps its experts on the GPU again. - DeepSeek, one GPU: prompts borrow the experts' VRAM while they run (read back after), 16K / 32K chunks where the room allows, a short prompt's reads through the page cache, a decode warm-up after long prompts. - DeepSeek: the PCIe lane (a token's non-VRAM experts split between the CPU and the GPU by measured costs, turned off where it doesn't pay; `MAYA_DS4_STREAM`), low-bit experts' activations rounded on the GPU as the CPU lane rounds them. - DeepSeek: the CPU lane measured at load (`MAYA_DS4_CPU_LANE`), SMT siblings left to the readers, AMD desktop VRAM reserve, a shipped expert profile for new installs. - DeepSeek: repetition / frequency / presence penalties (drafting included); `repeat_last_n` as llama.cpp's. - DeepSeek: `--no-expert-cache` answers no longer depend on earlier requests; `MAYA_DS4_DISK_SKIP_AUTO` (experimental). - Fixes: #277 (`--calibrate` keeps the config's own values unless beaten), #278 (MSVC `__cpuidex`), #296 (Windows test build), #301 (Fedora's ROCm under /usr), the live tokens/s window, maya's argument parsing in two chains (MSVC's nesting limit), stopping maya.py stops the server and engine. - README: the models' Hugging Face downloads. Checked: CI's Python job, Linux (sm_70) and Windows (MSVC + CUDA) builds, the HIP build on Windows (gfx1151), the DeepSeek GGUF kernel tests, GLM tokens identical to v1.1.17 with exact settings, DeepSeek against DeepSeek's reference logits, every pinned download against Hugging Face. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 21:25:43 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mw00/project-maya#465
No description provided.