mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #5216] [Engine] Refuse unsupported Qwen3.6 flags under --serve instead of ignoring them #5347
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#5347
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/5216
Author: @zapabob
Created: 11/4/2026
Status: 🔄 Open
Base:
main← Head:pr/q36-refuse-unsupported-serve-flags📝 Commits (1)
3b7241f[Engine] Refuse unsupported Qwen3.6 flags under --serve instead of ignoring them📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
src/qwen35/q36_engine.cu(+6 -1)📄 Description
Summary
--serve,strata-q36logsignoring <flag> (not an option of this engine)for options it does not implement and continues. An explicit--cache-type-k/--cache-type-vor a hand-written--vram-reserve-mibtherefore looks applied when it is not.Approach
In
src/qwen35/q36_engine.cu, refuse the named flags under--serveinstead of skipping them. Other unknown serve flags still ignore-and-continue, as before. No change to the legacy expert arena, defaults, or placement. Mapped expert-pack work is intentionally absent (see #5022).Validation
Passed: mirrored argv harness of the patched serve-mode branch (MSVC
cl, Windows 11, RTX 5060 Ti 16 GB host). Cases:--serve --cache-type-k q8_0→ exit 2 and… is not an option of this engine. It was not applied.; same for--cache-type-vand--vram-reserve-mib; unrelated unknown--serveflag still ignored; without--serve, unknown flag still hits usage exit 2. Source revision:3b7241f4onpr/q36-refuse-unsupported-serve-flags(based onupstream/mainffa80d73). Diff is onlysrc/qwen35/q36_engine.cu(+6 / −1).Failed: none for the harness cases above.
Not run: full CUDA rebuild of
strata_qwen35(argv-only change; nostrata-q36binary rebuilt for a live--servedry run). HIP and SYCL builds (nohipcc/icpxon this Windows host). Full GGUF load (not required to refuse before model open).Limits
This change does not admit or refuse the host expert arena by free RAM (#5021). It does not redefine
STOP. It does not alter packaging digests or host private-cache policy. It does not make every unknown--serveflag fatal — only the three named ones that motivated #5023.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.