[GH-ISSUE #4388] [Engine] Loading model forever, unknown why stuck (UD Q4 K XL on 3090 + 96GB) #1946

Closed
opened 2026-11-04 01:55:30 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @sebastian-burlacu on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4388

Mem-Info:
active_anon:115553 inactive_anon:16020481 isolated_anon:0
active_file:0 inactive_file:401 isolated_file:25
unevictable:7038421 dirty:0 writeback:0
slab_reclaimable:58964 slab_unreclaimable:176915
mapped:8578353 shmem:1517573 pagetables:63613 bounce:0
kernel_misc_reclaimable:0
free:113427 free_pcp:242 free_cma:0
...
oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=user.slice,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-147.scope,task=strata,pid=1041205,uid=0
Out of memory: Killed process 1041205 (strata) total-vm:145318920kB, anon-rss:50162488kB, file-rss:28190912kB, shmem-rss:5673252kB, UID:0 pgtables:165624kB oom_score_adj:0
Cannot map memory with base addr 0x7f7b9d200000 and size of 0x11eedcf pages

Launch:

STRATA_ARENA_THP=1 strata launch --preset "UD-Q4_K_XL-128K"

System:

5900x, 96GB RAM, 3090 24GB

Originally created by @sebastian-burlacu on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4388 ``` Mem-Info: active_anon:115553 inactive_anon:16020481 isolated_anon:0 active_file:0 inactive_file:401 isolated_file:25 unevictable:7038421 dirty:0 writeback:0 slab_reclaimable:58964 slab_unreclaimable:176915 mapped:8578353 shmem:1517573 pagetables:63613 bounce:0 kernel_misc_reclaimable:0 free:113427 free_pcp:242 free_cma:0 ... oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=user.slice,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-147.scope,task=strata,pid=1041205,uid=0 Out of memory: Killed process 1041205 (strata) total-vm:145318920kB, anon-rss:50162488kB, file-rss:28190912kB, shmem-rss:5673252kB, UID:0 pgtables:165624kB oom_score_adj:0 Cannot map memory with base addr 0x7f7b9d200000 and size of 0x11eedcf pages ``` Launch: STRATA_ARENA_THP=1 strata launch --preset "UD-Q4_K_XL-128K" System: 5900x, 96GB RAM, 3090 24GB
Author
Owner

@github-actions[bot] commented on GitHub (Oct 28, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6458190064 --> @github-actions[bot] commented on GitHub (Oct 28, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 28, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6458456756 --> @github-actions[bot] commented on GitHub (Oct 28, 2026): Thanks, this follows the format now.
Author
Owner

@sebastian-burlacu commented on GitHub (Oct 28, 2026):

Not getting OOM kill anymore but it seems to be stuck on loading forever. Nothing happens after this message, with the TUI showing "Loading the model... 300 s" etc

strata-vision: model files loaded in 0.8 s
strata-vision: warmed up at 1024 image tokens in 0.5 s
[strata] 2026-10-28 12:10:58 engine started: /root/.local/share/strata/components/engine/0.1.48-linux-x86_64-cuda-cuda13/strata --serve --pack /nvme/Strata-data/packs/unsloth-ud-q4_k_xl --native /nvme/Strata-data/models/unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf --expert-profile /root/.local/share/strata/terminal/0.1.49/data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp /nvme/Strata-data/mtp/rt --max-context 131072 --kv int8 --ple-io ram --kv-resident 32768 --vision --vram-reserve-mib 700 --batch 2
strata: sm_86 (Ampere): 9 exact speed switches on by default (STRATA_SM86_PERF=0 turns them off; a switch you set is kept): ADAPT_NOWAIT ADAPT_LAG CPU_IQ_ALL_EXACT1 SIDE_MIXER ATTN_DAILY GR_UP75 GU_SWIGLU QSA_ROWS B6_MMVQ_ROWS
strata generate: memory guard: limit 94.2 GiB (source: meminfo), current 12.0 GiB, reclaimable cache credited 0.0 GiB; available 82.2 GiB (MemAvailable 82.2 GiB), floor 2560 MiB
strata generate: PCIe probe: 25.0 GB/s host->device (best of 24.6 25.0 24.9 24.9) -> pcie_frac 0.55 (default 0.55)
strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows)
strata generate: native pack: /nvme/Strata-data/packs/unsloth-ud-q4_k_xl experts (largest blob 3.99 MB), token embedding Q8_0 in mapped host memory (644 MiB, 0.4 s)
strata generate: 216 MiB of weights loaded from /nvme/Strata-data/packs/unsloth-ud-q4_k_xl in 0.1 s (495 canonical tensors skipped: served natively)
strata: STRATA_HC_Q8=1: 0.63 GiB of Q8_0 hyper-connection projections for the verify read
strata generate: 499 native projection matrices, 3619.14 MiB of weights, in 0.8 s
strata generate: PLE table locked in RAM (--ple-io ram) in 2.5 s
strata generate: profile /root/.local/share/strata/terminal/0.1.49/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: KV streaming: 32768 of 131072 cells per QSA layer in VRAM, the K/V in 1.55 GiB of pinned RAM
strata generate: PLE on, table 320001536 rows of /nvme/Strata-data/models/unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00002-of-00004.gguf
strata generate: --batch: 2 slot sessions on CUDA0 (0.73 GiB each); 15.68 GiB free
strata generate: --batch 2: the slot sessions take 1.46 GiB of VRAM on CUDA0 that the expert cache would otherwise hold
strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.46 s (1701 MiB/s)
strata generate: experimental native Q5_K head, 675430400 bytes, in 0.1 s
strata generate: GPU 0: NVIDIA GeForce RTX 3090, compute capability 8.6
root@nasir:~/.local/state/strata/launch# cat ud-q4_k_xl-128k.json
{
 "exe": "component:strata-engine",
 "args": [
  "--pack",
  "/nvme/Strata-data/packs/unsloth-ud-q4_k_xl",
  "--native",
  "/nvme/Strata-data/models/unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf",
  "--expert-profile",
  "/root/.local/share/strata/terminal/0.1.49/data/expert-profile.bin",
  "--expert-cache",
  "auto",
  "--prefill",
  "auto",
  "--spec",
  "4",
  "--spec-min-p",
  "0.5",
  "--mtp",
  "/nvme/Strata-data/mtp/rt",
  "--max-context",
  "131072",
  "--kv",
  "int8",
  "--ple-io",
  "ram",
  "--kv-resident",
  "32768",
  "--vision",
  "--vram-reserve-mib",
  "700"
 ],
 "cwd": "/root/.local/share/strata/terminal/0.1.49",
 "tokenizer": "/nvme/Strata-data/packs/unsloth-ud-q4_k_xl/tokenizer",
 "model_name": "qwen3.8-flash-next-unsloth-ud-q4_k_xl",
 "log": "/root/.local/state/strata/launch/ud-q4_k_xl-128k.engine.log",
 "lib_dirs": [],
 "port": 8087,
 "env": {
  "STRATA_HC_Q8": "1",
  "STRATA_ROUTE_TAIL_SKIP": "0"
 },
 "gpu": 0,
 "gpus_asked": true,
 "vision": {
  "exe": "/root/.local/share/strata/components/engine/0.1.48-linux-x86_64-cuda-cuda13/strata-vision",
  "mmproj": "/nvme/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf",
  "model": "/nvme/Strata-data/models/unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf",
  "gpu": true,
  "max_tokens": 1024
 },
 "args_written": [
  "--pack",
  "/nvme/Strata-data/packs/unsloth-ud-q4_k_xl",
  "--native",
  "/nvme/Strata-data/models/unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf",
  "--expert-profile",
  "/root/.local/share/strata/terminal/0.1.49/data/expert-profile.bin",
  "--expert-cache",
  "auto",
  "--prefill",
  "auto",
  "--spec",
  "4",
  "--spec-min-p",
  "0.5",
  "--mtp",
  "/nvme/Strata-data/mtp/rt",
  "--max-context",
  "131072",
  "--kv",
  "int8",
  "--ple-io",
  "ram",
  "--kv-resident",
  "32768",
  "--vision",
  "--vram-reserve-mib",
  "700"
 ],
 "host": "127.0.0.1",
 "open_browser": false
}
<!-- gh-comment-id:6474269111 --> @sebastian-burlacu commented on GitHub (Oct 28, 2026): Not getting OOM kill anymore but it seems to be stuck on loading forever. Nothing happens after this message, with the TUI showing "Loading the model... 300 s" etc ``` strata-vision: model files loaded in 0.8 s strata-vision: warmed up at 1024 image tokens in 0.5 s [strata] 2026-10-28 12:10:58 engine started: /root/.local/share/strata/components/engine/0.1.48-linux-x86_64-cuda-cuda13/strata --serve --pack /nvme/Strata-data/packs/unsloth-ud-q4_k_xl --native /nvme/Strata-data/models/unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf --expert-profile /root/.local/share/strata/terminal/0.1.49/data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp /nvme/Strata-data/mtp/rt --max-context 131072 --kv int8 --ple-io ram --kv-resident 32768 --vision --vram-reserve-mib 700 --batch 2 strata: sm_86 (Ampere): 9 exact speed switches on by default (STRATA_SM86_PERF=0 turns them off; a switch you set is kept): ADAPT_NOWAIT ADAPT_LAG CPU_IQ_ALL_EXACT1 SIDE_MIXER ATTN_DAILY GR_UP75 GU_SWIGLU QSA_ROWS B6_MMVQ_ROWS strata generate: memory guard: limit 94.2 GiB (source: meminfo), current 12.0 GiB, reclaimable cache credited 0.0 GiB; available 82.2 GiB (MemAvailable 82.2 GiB), floor 2560 MiB strata generate: PCIe probe: 25.0 GB/s host->device (best of 24.6 25.0 24.9 24.9) -> pcie_frac 0.55 (default 0.55) strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) strata generate: native pack: /nvme/Strata-data/packs/unsloth-ud-q4_k_xl experts (largest blob 3.99 MB), token embedding Q8_0 in mapped host memory (644 MiB, 0.4 s) strata generate: 216 MiB of weights loaded from /nvme/Strata-data/packs/unsloth-ud-q4_k_xl in 0.1 s (495 canonical tensors skipped: served natively) strata: STRATA_HC_Q8=1: 0.63 GiB of Q8_0 hyper-connection projections for the verify read strata generate: 499 native projection matrices, 3619.14 MiB of weights, in 0.8 s strata generate: PLE table locked in RAM (--ple-io ram) in 2.5 s strata generate: profile /root/.local/share/strata/terminal/0.1.49/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: KV streaming: 32768 of 131072 cells per QSA layer in VRAM, the K/V in 1.55 GiB of pinned RAM strata generate: PLE on, table 320001536 rows of /nvme/Strata-data/models/unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00002-of-00004.gguf strata generate: --batch: 2 slot sessions on CUDA0 (0.73 GiB each); 15.68 GiB free strata generate: --batch 2: the slot sessions take 1.46 GiB of VRAM on CUDA0 that the expert cache would otherwise hold strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.46 s (1701 MiB/s) strata generate: experimental native Q5_K head, 675430400 bytes, in 0.1 s strata generate: GPU 0: NVIDIA GeForce RTX 3090, compute capability 8.6 ``` ``` root@nasir:~/.local/state/strata/launch# cat ud-q4_k_xl-128k.json { "exe": "component:strata-engine", "args": [ "--pack", "/nvme/Strata-data/packs/unsloth-ud-q4_k_xl", "--native", "/nvme/Strata-data/models/unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf", "--expert-profile", "/root/.local/share/strata/terminal/0.1.49/data/expert-profile.bin", "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--spec-min-p", "0.5", "--mtp", "/nvme/Strata-data/mtp/rt", "--max-context", "131072", "--kv", "int8", "--ple-io", "ram", "--kv-resident", "32768", "--vision", "--vram-reserve-mib", "700" ], "cwd": "/root/.local/share/strata/terminal/0.1.49", "tokenizer": "/nvme/Strata-data/packs/unsloth-ud-q4_k_xl/tokenizer", "model_name": "qwen3.8-flash-next-unsloth-ud-q4_k_xl", "log": "/root/.local/state/strata/launch/ud-q4_k_xl-128k.engine.log", "lib_dirs": [], "port": 8087, "env": { "STRATA_HC_Q8": "1", "STRATA_ROUTE_TAIL_SKIP": "0" }, "gpu": 0, "gpus_asked": true, "vision": { "exe": "/root/.local/share/strata/components/engine/0.1.48-linux-x86_64-cuda-cuda13/strata-vision", "mmproj": "/nvme/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", "model": "/nvme/Strata-data/models/unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf", "gpu": true, "max_tokens": 1024 }, "args_written": [ "--pack", "/nvme/Strata-data/packs/unsloth-ud-q4_k_xl", "--native", "/nvme/Strata-data/models/unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf", "--expert-profile", "/root/.local/share/strata/terminal/0.1.49/data/expert-profile.bin", "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--spec-min-p", "0.5", "--mtp", "/nvme/Strata-data/mtp/rt", "--max-context", "131072", "--kv", "int8", "--ple-io", "ram", "--kv-resident", "32768", "--vision", "--vram-reserve-mib", "700" ], "host": "127.0.0.1", "open_browser": false } ```
Author
Owner

@sebastian-burlacu commented on GitHub (Oct 28, 2026):

Fixed this by adding --resident-budget-gib 40 to my advanced config. Finally got it loaded, though it is using up a whole bunch of RAM.

<!-- gh-comment-id:6476289599 --> @sebastian-burlacu commented on GitHub (Oct 28, 2026): Fixed this by adding --resident-budget-gib 40 to my advanced config. Finally got it loaded, though it is using up a whole bunch of RAM.
Author
Owner

@Niko1221 commented on GitHub (Oct 29, 2026):

Good that it loads. --resident-budget-gib 40 caps the experts held in RAM at 40 GiB (https://github.com/Niko1221/Strata/blob/main/docs/DETAILS.md). Your log shows engine 0.1.48 with Terminal 0.1.49; strata update installs the current engine (0.1.52). After updating, please try once without STRATA_ARENA_THP=1 and without the manual budget, and send the engine log if it still sits at "Loading the model".

<!-- gh-comment-id:6491970951 --> @Niko1221 commented on GitHub (Oct 29, 2026): Good that it loads. `--resident-budget-gib 40` caps the experts held in RAM at 40 GiB (https://github.com/Niko1221/Strata/blob/main/docs/DETAILS.md). Your log shows engine 0.1.48 with Terminal 0.1.49; `strata update` installs the current engine (0.1.52). After updating, please try once without `STRATA_ARENA_THP=1` and without the manual budget, and send the engine log if it still sits at "Loading the model".
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6660364776 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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#1946
No description provided.