[GH-ISSUE #5021] [Engine] Qwen3.6 UD-Q4_K_XL: refuse the full host expert arena before the process starts #2323

Open
opened 2026-11-04 01:58:26 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @zapabob on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5021

Area

[Engine] (speed, kernels, models, the server and API)

Desktop app, Terminal or source?

Source (START-HERE.bat, setup.sh or a build)

What happened

Problem: at upstream c62d5e3a, src/qwen35/q36_engine.cu still allocates the full host expert arena inside the running process. The hybrid path sums every routed expert into host, calls cudaHostAlloc, then malloc. If both fail, the engine sets no host memory for the experts (<MiB>) and returns. The model does not start. That decision is after the process has already started.

On this PC the engine log contained this line:

strata-q36: no host memory for the experts (19195 MiB)

The file was Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf (Qwen3.6-35B-A3B UD-Q4_K_XL). The routed experts did not fit in the 16 GB card, so the legacy path asked for the host arena. One PC. This line is not a measurement that the same file cannot run through another path.

A separate before-start check on the same PC, at 2026-11-02T16:02:45Z:

  • physical RAM: 34224861184 bytes
  • free physical RAM: 17738047488 bytes
  • reserve: 6844972236 bytes
  • need: 26972388556 bytes
  • decision: rejected / physical_reserve

The model was not started. One PC, one run. Not a qualification.

Question: should that refusal happen before the process starts? I read apps/host/server/native-control.mjs at c62d5e3a. It can put --vram-reserve-mib on the native argument list. I did not find a physical-RAM refusal for this expert arena in that file. I am not asking for a patch there. strata launch may start the engine by another path, and I have not treated that path as the same code. Where the refusal belongs is open.

I searched open and closed issues and pull requests for qwen36, qwen3.6, expert arena, host memory, and "no host memory". The nearest threads are other engines or other failures (#4116, #4051, #3508).

The before-start numbers above are from zapabob/Strata d83f93f9, not from an upstream release.

Smallest steps or command that reproduce it

Read the hybrid host-arena block in src/qwen35/q36_engine.cu at c62d5e3a (cudaHostAlloc, then malloc, then no host memory for the experts).

On this PC, starting Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf on the legacy path logged strata-q36: no host memory for the experts (19195 MiB) and the model did not stay up. The 2026-11-02T16:02:45Z row is one before-start check on the fork. I am not attaching a command that I did not run against upstream c62d5e3a itself.

Reproduction status

Reproduced locally

The allocation and the error string are also in the source at c62d5e3a (read).

Strata version

upstream c62d5e3a15b40ea51c96aae9e8d36928965f53ab. Before-start numbers: zapabob/Strata d83f93f9, this PC, 2026-11-02T16:02:45Z.

Graphics card, memory and system

RTX 5060 Ti 16 GB · physical RAM 34224861184 bytes · Windows 11

Model, size and settings

Qwen3.6-35B-A3B UD-Q4_K_XL (Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf). Legacy host expert arena. The saved context for this model on this PC was 65536. Pictures were not part of this check.

Logs

strata-q36: no host memory for the experts (19195 MiB)

2026-11-02T16:02:45Z before-start decision: rejected / physical_reserve. Free physical 17738047488 bytes, reserve 6844972236 bytes, need 26972388556 bytes. The model was not started.

Originally created by @zapabob on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5021 ### Area [Engine] (speed, kernels, models, the server and API) ### Desktop app, Terminal or source? Source (START-HERE.bat, setup.sh or a build) ### What happened Problem: at upstream `c62d5e3a`, `src/qwen35/q36_engine.cu` still allocates the full host expert arena inside the running process. The hybrid path sums every routed expert into `host`, calls `cudaHostAlloc`, then `malloc`. If both fail, the engine sets `no host memory for the experts (<MiB>)` and returns. The model does not start. That decision is after the process has already started. On this PC the engine log contained this line: ```text strata-q36: no host memory for the experts (19195 MiB) ``` The file was `Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf` (Qwen3.6-35B-A3B UD-Q4_K_XL). The routed experts did not fit in the 16 GB card, so the legacy path asked for the host arena. One PC. This line is not a measurement that the same file cannot run through another path. A separate before-start check on the same PC, at 2026-11-02T16:02:45Z: - physical RAM: 34224861184 bytes - free physical RAM: 17738047488 bytes - reserve: 6844972236 bytes - need: 26972388556 bytes - decision: rejected / physical_reserve The model was not started. One PC, one run. Not a qualification. Question: should that refusal happen before the process starts? I read `apps/host/server/native-control.mjs` at `c62d5e3a`. It can put `--vram-reserve-mib` on the native argument list. I did not find a physical-RAM refusal for this expert arena in that file. I am not asking for a patch there. `strata launch` may start the engine by another path, and I have not treated that path as the same code. Where the refusal belongs is open. I searched open and closed issues and pull requests for qwen36, qwen3.6, expert arena, host memory, and "no host memory". The nearest threads are other engines or other failures (#4116, #4051, #3508). The before-start numbers above are from zapabob/Strata `d83f93f9`, not from an upstream release. ### Smallest steps or command that reproduce it Read the hybrid host-arena block in `src/qwen35/q36_engine.cu` at `c62d5e3a` (`cudaHostAlloc`, then `malloc`, then `no host memory for the experts`). On this PC, starting `Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf` on the legacy path logged `strata-q36: no host memory for the experts (19195 MiB)` and the model did not stay up. The 2026-11-02T16:02:45Z row is one before-start check on the fork. I am not attaching a command that I did not run against upstream `c62d5e3a` itself. ### Reproduction status Reproduced locally The allocation and the error string are also in the source at `c62d5e3a` (read). ### Strata version upstream `c62d5e3a15b40ea51c96aae9e8d36928965f53ab`. Before-start numbers: zapabob/Strata `d83f93f9`, this PC, 2026-11-02T16:02:45Z. ### Graphics card, memory and system RTX 5060 Ti 16 GB · physical RAM 34224861184 bytes · Windows 11 ### Model, size and settings Qwen3.6-35B-A3B UD-Q4_K_XL (`Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf`). Legacy host expert arena. The saved context for this model on this PC was 65536. Pictures were not part of this check. ### Logs `strata-q36: no host memory for the experts (19195 MiB)` 2026-11-02T16:02:45Z before-start decision: rejected / physical_reserve. Free physical 17738047488 bytes, reserve 6844972236 bytes, need 26972388556 bytes. The model was not started.
Sign in to join this conversation.
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
Niko1221/Strata#2323
No description provided.