[GH-ISSUE #1550] A question/issue on ToolCall #621

Closed
opened 2026-11-04 01:44:34 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @tamascogustavo on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1550

First of all thanks for such an amazing project ! This has improved a lot my local usage of the model.

I am running strata with the following optimized parameters:

./setup.sh
Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU)
  [ok] GPU: GPU 0 (NVIDIA GeForce RTX 5070, 12 GB)

  ----------------------------------------------------------------------------------------------------
  Starting qwen3.8-flash-next-iq3_s: it loads about 55 GB into RAM and locks part of it for the GPU.
  While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a
  restart). That is normal: please wait and don't close this window - the browser opens when it is ready.
  Later, closing this window stops the model.
  ----------------------------------------------------------------------------------------------------
  Settings (strata-iq3_s.json): --expert-cache auto --prefill auto --spec 4 --max-context 131072 --kv
    int8 --pcie-frac 0.35 --spec-min-p 0.70; server 127.0.0.1:8080, gpu 0
loading the model (the first start takes a minute or two) ...

And i notice that many times when the model is loaded in the engine, the tool call do not work and the model behaves really bad, with more prominent loops and the quality of the reasoning is also affected.

Upon stop and restarting the engine a few times, all works fine. But no warnings or erros during loading appear in terminal logs.

Originally created by @tamascogustavo on GitHub (Oct 8, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1550 First of all thanks for such an amazing project ! This has improved a lot my local usage of the model. I am running strata with the following optimized parameters: ``` ./setup.sh Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU) [ok] GPU: GPU 0 (NVIDIA GeForce RTX 5070, 12 GB) ---------------------------------------------------------------------------------------------------- Starting qwen3.8-flash-next-iq3_s: it loads about 55 GB into RAM and locks part of it for the GPU. While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a restart). That is normal: please wait and don't close this window - the browser opens when it is ready. Later, closing this window stops the model. ---------------------------------------------------------------------------------------------------- Settings (strata-iq3_s.json): --expert-cache auto --prefill auto --spec 4 --max-context 131072 --kv int8 --pcie-frac 0.35 --spec-min-p 0.70; server 127.0.0.1:8080, gpu 0 loading the model (the first start takes a minute or two) ... ``` And i notice that many times when the model is loaded in the engine, the tool call do not work and the model behaves really bad, with more prominent loops and the quality of the reasoning is also affected. Upon stop and restarting the engine a few times, all works fine. But no warnings or erros during loading appear in terminal logs.
Author
Owner

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

Thank you for the details. A model that is fine after a restart and bad after another start, with no error in the log, is worth catching with the same request each time. Next time it behaves badly, please keep the engine log from the start (the lines up to "ready", with the expert cache slots and the prefill line), then restart, and send a request with the same prompt and temperature 0 on both runs. If the answers differ, post both with the two logs and the Strata version; that tells us whether it is the load (a memory or cache difference) or the sampling.

<!-- gh-comment-id:6099603785 --> @Niko1221 commented on GitHub (Oct 10, 2026): Thank you for the details. A model that is fine after a restart and bad after another start, with no error in the log, is worth catching with the same request each time. Next time it behaves badly, please keep the engine log from the start (the lines up to "ready", with the expert cache slots and the prefill line), then restart, and send a request with the same prompt and temperature 0 on both runs. If the answers differ, post both with the two logs and the Strata version; that tells us whether it is the load (a memory or cache difference) or the sampling.
Author
Owner

@tamascogustavo commented on GitHub (Oct 12, 2026):

Hi @Niko1221 ,

Following your instructions, I captured the engine logs from start to ready on the problematic run, restarted with --temperature 0, and tested the model behavior on the exact same task.

Here are the details, versions, startup logs, and behavior comparison:


1. Environment & Version

  • Strata version: 0.1.43
  • GPU: NVIDIA GeForce RTX 5070 (12 GB, compute capability 12.0)
  • Model: Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S (with draft layer MTP / PLE)

2. Behavior Comparison

  • Run 1 (Bad run - 08:10:32, default temperature):

    • The model failed to follow the tool definitions provided in the system prompt.
    • It repeatedly hallucinated nonexistent tool names (read_file, read) with wrong parameters (limit), throwing: Tool execution failed: Tool 'read_file' does not exist.
    • After failing multiple times, it had to fall back to running raw shell commands (cat README.md, head -60) through the terminal tool to inspect files.
  • Run 2 (Clean restart - 08:28:58, with --temperature 0):

    • The model immediately respected the actual tool schema.
    • It correctly invoked the available Read tool with proper arguments (path, view_range: [1, 120]) on the first attempt without hallucinating read_file.

3. Startup Logs Comparison

There is a slight difference in allocated cache slots between the two runs:

  • Run 1 (Bad): 1590 expert cache slots (prompt borrowed 1414 CUDA0 slots), current 4.9 GiB RAM.
  • Run 2 (Good / --temperature 0): 1588 expert cache slots (prompt borrowed 1413 CUDA0 slots), current 7.3 GiB RAM.
Startup Log 1 (08:10:32 - Bad Run)
[strata] 2026-10-12 08:10:32 engine started: /home/gustavo/Public/github_repos/Strata/engine/strata --serve --pack /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s --native /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/gustavo/Public/github_repos/Strata-data/mtp/rt --max-context 131072 --kv int8 --pcie-frac 0.35 --spec-min-p 0.85
strata generate: memory guard: limit 60.4 GiB (source: meminfo), current 4.9 GiB, reclaimable cache credited 0.0 GiB; available 55.5 GiB (MemAvailable 55.5 GiB), floor 2560 MiB
strata generate: native pack: /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.4 s)
strata generate: 1466 MiB of weights loaded from /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s in 0.4 s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights, in 0.7 s
strata generate: PLE direct read probe: 133448 rows/s (fine)
strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off)
strata generate: profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: PLE on, table 320001536 rows of /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
strata mtp: draft layer loaded, 950 MiB of VRAM (experts 675, dense 111), files read in 0.23 s (3407 MiB/s)
strata generate: experimental native Q5_K head, 521472000 bytes, in 0.1 s
strata generate: GPU 0: NVIDIA GeForce RTX 5070, compute capability 12.0
strata generate: expert arena read through the file cache (buffered (not Windows))
strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 23983 2 MiB pages, vm.nr_hugepages=0); transparent huge pages requested (MADV_HUGEPAGE)
strata generate: loaded 46.84 GiB at 1.76 GiB/s
strata generate: CPU pool tasks/phase: 48 (automatic), participating threads: 16
strata generate: 15 pool workers on logical processors 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, the host thread on 0 (draining too) (--host-core first)
strata aux cpus: threads that are neither pool workers nor the host go to CPUs 16 (off at start; a request's aux_cpus=1 turns it on)
strata generate: expert cache auto: 3.96 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 1235 slots
strata generate: expert cache 1590 slots, 3.06 GiB of VRAM; policy is
strata generate: pre-filled 1590 of 1590 slots from the profile in 0.1 s (41205 MB/s); slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 15 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.43)
strata generate: token graph hit path: 1590 resident experts, decided on the device
prefill: the CPU share is ON by default for prompt chunks below 1024 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004). STRATA_PREFILL_CPU_SHARE=0 turns it off.
strata serve: prompt chunk auto: 5632 tokens, a 199-slot ring
strata serve: the prompt path borrows 1414 CUDA0 cache slots (2.72 GiB)
strata hc: CUDA0: the hyper-connection read runs as staged
strata verify: window up to 6 tokens, 75.1 MiB of device buffers
strata mtp: draft head over 106299 tokens (212.9 MiB)
strata serve: STRATA_ROUTE_TAIL_SKIP=7 is ON (default)
strata serve: adaptive overlap (STRATA_ADAPT_OVERLAP=0 turns it off)
strata serve: 335 MiB of VRAM free with everything loaded
Startup Log 2 (08:28:58 - Good Run with --temperature 0)
[strata] 2026-10-12 08:28:58 engine started: /home/gustavo/Public/github_repos/Strata/engine/strata --serve --pack /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s --native /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/gustavo/Public/github_repos/Strata-data/mtp/rt --max-context 131072 --kv int8 --pcie-frac 0.35 --spec-min-p 0.85 --temperature 0
strata generate: memory guard: limit 60.4 GiB (source: meminfo), current 7.3 GiB, reclaimable cache credited 0.0 GiB; available 53.2 GiB (MemAvailable 53.2 GiB), floor 2560 MiB
strata generate: native pack: /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.5 s)
strata generate: 1466 MiB of weights loaded from /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s in 0.4 s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights, in 1.0 s
strata generate: PLE direct read probe: 111473 rows/s (fine)
strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off)
strata generate: profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: PLE on, table 320001536 rows of /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
strata mtp: draft layer loaded, 950 MiB of VRAM (experts 675, dense 111), files read in 0.24 s (3228 MiB/s)
strata generate: experimental native Q5_K head, 521472000 bytes, in 0.1 s
strata generate: GPU 0: NVIDIA GeForce RTX 5070, compute capability 12.0
strata generate: expert arena read through the file cache (buffered (not Windows))
strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 23983 2 MiB pages, vm.nr_hugepages=0); transparent huge pages requested (MADV_HUGEPAGE)
strata generate: loaded 46.84 GiB at 1.86 GiB/s
strata generate: CPU pool tasks/phase: 48 (automatic), participating threads: 16
strata generate: 15 pool workers on logical processors 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, the host thread on 0 (draining too) (--host-core first)
strata aux cpus: threads that are neither pool workers nor the host go to CPUs 16 (off at start; a request's aux_cpus=1 turns it on)
strata generate: expert cache auto: 3.96 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 1234 slots
strata generate: expert cache 1588 slots, 3.06 GiB of VRAM; policy is
strata generate: pre-filled 1588 of 1588 slots from the profile in 0.1 s (41666 MB/s); slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 15 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.43)
strata generate: token graph hit path: 1588 resident experts, decided on the device
prefill: the CPU share is ON by default for prompt chunks below 1024 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004). STRATA_PREFILL_CPU_SHARE=0 turns it off.
strata serve: prompt chunk auto: 5632 tokens, a 199-slot ring
strata serve: the prompt path borrows 1413 CUDA0 cache slots (2.72 GiB)
strata hc: CUDA0: the hyper-connection read runs as staged
strata verify: window up to 6 tokens, 75.1 MiB of device buffers
strata mtp: draft head over 106299 tokens (212.9 MiB)
strata serve: STRATA_ROUTE_TAIL_SKIP=7 is ON (default)
strata serve: adaptive overlap (STRATA_ADAPT_OVERLAP=0 turns it off)
strata serve: 335 MiB of VRAM free with everything loaded

Bellow i also share the full log and the behavior of the tool on vscode connection so you can see for your self.

strata-iq3_s_goodrun.txt
vscode_temp0_log.txt
vscode_original_log.txt
strata-iq3_s_badrun.txt

<!-- gh-comment-id:6123530591 --> @tamascogustavo commented on GitHub (Oct 12, 2026): Hi @Niko1221 , Following your instructions, I captured the engine logs from start to ready on the problematic run, restarted with `--temperature 0`, and tested the model behavior on the exact same task. Here are the details, versions, startup logs, and behavior comparison: --- ### 1. Environment & Version * **Strata version:** `0.1.43` * **GPU:** NVIDIA GeForce RTX 5070 (12 GB, compute capability 12.0) * **Model:** `Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S` (with draft layer MTP / PLE) --- ### 2. Behavior Comparison * **Run 1 (Bad run - 08:10:32, default temperature):** * The model failed to follow the tool definitions provided in the system prompt. * It repeatedly hallucinated nonexistent tool names (`read_file`, `read`) with wrong parameters (`limit`), throwing: `Tool execution failed: Tool 'read_file' does not exist.` * After failing multiple times, it had to fall back to running raw shell commands (`cat README.md`, `head -60`) through the terminal tool to inspect files. * **Run 2 (Clean restart - 08:28:58, with `--temperature 0`):** * The model immediately respected the actual tool schema. * It correctly invoked the available `Read` tool with proper arguments (`path`, `view_range: [1, 120]`) on the first attempt without hallucinating `read_file`. --- ### 3. Startup Logs Comparison There is a slight difference in allocated cache slots between the two runs: * **Run 1 (Bad):** 1590 expert cache slots (prompt borrowed 1414 CUDA0 slots), `current 4.9 GiB` RAM. * **Run 2 (Good / `--temperature 0`):** 1588 expert cache slots (prompt borrowed 1413 CUDA0 slots), `current 7.3 GiB` RAM. <details> <summary><b>Startup Log 1 (08:10:32 - Bad Run)</b></summary> ```text [strata] 2026-10-12 08:10:32 engine started: /home/gustavo/Public/github_repos/Strata/engine/strata --serve --pack /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s --native /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/gustavo/Public/github_repos/Strata-data/mtp/rt --max-context 131072 --kv int8 --pcie-frac 0.35 --spec-min-p 0.85 strata generate: memory guard: limit 60.4 GiB (source: meminfo), current 4.9 GiB, reclaimable cache credited 0.0 GiB; available 55.5 GiB (MemAvailable 55.5 GiB), floor 2560 MiB strata generate: native pack: /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.4 s) strata generate: 1466 MiB of weights loaded from /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s in 0.4 s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights, in 0.7 s strata generate: PLE direct read probe: 133448 rows/s (fine) strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: PLE on, table 320001536 rows of /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf strata mtp: draft layer loaded, 950 MiB of VRAM (experts 675, dense 111), files read in 0.23 s (3407 MiB/s) strata generate: experimental native Q5_K head, 521472000 bytes, in 0.1 s strata generate: GPU 0: NVIDIA GeForce RTX 5070, compute capability 12.0 strata generate: expert arena read through the file cache (buffered (not Windows)) strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 23983 2 MiB pages, vm.nr_hugepages=0); transparent huge pages requested (MADV_HUGEPAGE) strata generate: loaded 46.84 GiB at 1.76 GiB/s strata generate: CPU pool tasks/phase: 48 (automatic), participating threads: 16 strata generate: 15 pool workers on logical processors 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, the host thread on 0 (draining too) (--host-core first) strata aux cpus: threads that are neither pool workers nor the host go to CPUs 16 (off at start; a request's aux_cpus=1 turns it on) strata generate: expert cache auto: 3.96 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 1235 slots strata generate: expert cache 1590 slots, 3.06 GiB of VRAM; policy is strata generate: pre-filled 1590 of 1590 slots from the profile in 0.1 s (41205 MB/s); slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 15 expert-pool workers + the host thread strata generate: session is up (engine 0.1.43) strata generate: token graph hit path: 1590 resident experts, decided on the device prefill: the CPU share is ON by default for prompt chunks below 1024 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004). STRATA_PREFILL_CPU_SHARE=0 turns it off. strata serve: prompt chunk auto: 5632 tokens, a 199-slot ring strata serve: the prompt path borrows 1414 CUDA0 cache slots (2.72 GiB) strata hc: CUDA0: the hyper-connection read runs as staged strata verify: window up to 6 tokens, 75.1 MiB of device buffers strata mtp: draft head over 106299 tokens (212.9 MiB) strata serve: STRATA_ROUTE_TAIL_SKIP=7 is ON (default) strata serve: adaptive overlap (STRATA_ADAPT_OVERLAP=0 turns it off) strata serve: 335 MiB of VRAM free with everything loaded ``` </details> <details> <summary><b>Startup Log 2 (08:28:58 - Good Run with --temperature 0)</b></summary> ```text [strata] 2026-10-12 08:28:58 engine started: /home/gustavo/Public/github_repos/Strata/engine/strata --serve --pack /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s --native /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/gustavo/Public/github_repos/Strata-data/mtp/rt --max-context 131072 --kv int8 --pcie-frac 0.35 --spec-min-p 0.85 --temperature 0 strata generate: memory guard: limit 60.4 GiB (source: meminfo), current 7.3 GiB, reclaimable cache credited 0.0 GiB; available 53.2 GiB (MemAvailable 53.2 GiB), floor 2560 MiB strata generate: native pack: /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.5 s) strata generate: 1466 MiB of weights loaded from /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s in 0.4 s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights, in 1.0 s strata generate: PLE direct read probe: 111473 rows/s (fine) strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: PLE on, table 320001536 rows of /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf strata mtp: draft layer loaded, 950 MiB of VRAM (experts 675, dense 111), files read in 0.24 s (3228 MiB/s) strata generate: experimental native Q5_K head, 521472000 bytes, in 0.1 s strata generate: GPU 0: NVIDIA GeForce RTX 5070, compute capability 12.0 strata generate: expert arena read through the file cache (buffered (not Windows)) strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 23983 2 MiB pages, vm.nr_hugepages=0); transparent huge pages requested (MADV_HUGEPAGE) strata generate: loaded 46.84 GiB at 1.86 GiB/s strata generate: CPU pool tasks/phase: 48 (automatic), participating threads: 16 strata generate: 15 pool workers on logical processors 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, the host thread on 0 (draining too) (--host-core first) strata aux cpus: threads that are neither pool workers nor the host go to CPUs 16 (off at start; a request's aux_cpus=1 turns it on) strata generate: expert cache auto: 3.96 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 1234 slots strata generate: expert cache 1588 slots, 3.06 GiB of VRAM; policy is strata generate: pre-filled 1588 of 1588 slots from the profile in 0.1 s (41666 MB/s); slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 15 expert-pool workers + the host thread strata generate: session is up (engine 0.1.43) strata generate: token graph hit path: 1588 resident experts, decided on the device prefill: the CPU share is ON by default for prompt chunks below 1024 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004). STRATA_PREFILL_CPU_SHARE=0 turns it off. strata serve: prompt chunk auto: 5632 tokens, a 199-slot ring strata serve: the prompt path borrows 1413 CUDA0 cache slots (2.72 GiB) strata hc: CUDA0: the hyper-connection read runs as staged strata verify: window up to 6 tokens, 75.1 MiB of device buffers strata mtp: draft head over 106299 tokens (212.9 MiB) strata serve: STRATA_ROUTE_TAIL_SKIP=7 is ON (default) strata serve: adaptive overlap (STRATA_ADAPT_OVERLAP=0 turns it off) strata serve: 335 MiB of VRAM free with everything loaded ``` </details> --- Bellow i also share the full log and the behavior of the tool on vscode connection so you can see for your self. [strata-iq3_s_goodrun.txt](https://github.com/user-attachments/files/33335958/strata-iq3_s.txt) [vscode_temp0_log.txt](https://github.com/user-attachments/files/33335957/vscode_temp0_log.txt) [vscode_original_log.txt](https://github.com/user-attachments/files/33335960/vscode_original_log.txt) [strata-iq3_s_badrun.txt](https://github.com/user-attachments/files/33335959/strata.2026.10.08.13.00.txt)
Author
Owner

@tamascogustavo commented on GitHub (Oct 13, 2026):

Hi @Niko1221 ,

A quick follow-up: I updated to v0.1.43.1 and tested again with --temperature 0 explicitly set.

Unfortunately, the bad behavior still reproduced—the model again deviated from the provided tool definitions and hallucinated nonexistent tools (read_file, etc.) despite deterministic sampling (temperature 0). This seems to rule out pure sampling randomness and points toward either long-context state, expert skipping, or VRAM pressure.

Here is the startup log and some key observations from this run:


Key Observations from v0.1.43.1:

  1. New VRAM warning triggered:
    The new engine version flagged a low VRAM warning on startup:
    strata serve: WARNING: only 335 MiB of VRAM free at the start of this request (below 512 MiB): 
    when the card is this full the driver can page GPU memory to system RAM, decode falls to a few tok/s 
    and a window may never finish (#2065). Add --vram-reserve-mib 896 to the config's args, or lower --max-context / --batch
    
  2. Deep context & Heavy Tail Skipping:
    • This session was running at deep context (~75k – 79k tokens).
    • By the end of the session, STRATA_ROUTE_TAIL_SKIP=7 had skipped over 329,798 missed experts.
    • Free VRAM hovered around 261–291 MiB during verify window captures.

Startup Log (v0.1.43.1, --temperature 0)

Click to expand full startup log
[strata] 2026-10-13 07:24:10 engine started: /home/gustavo/Public/github_repos/Strata/engine/strata --serve --pack /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s --native /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/gustavo/Public/github_repos/Strata-data/mtp/rt --max-context 131072 --kv int8 --pcie-frac 0.35 --spec-min-p 0.85 --temperature 0
strata generate: memory guard: limit 60.4 GiB (source: meminfo), current 5.7 GiB, reclaimable cache credited 0.0 GiB; available 54.7 GiB (MemAvailable 54.7 GiB), floor 2560 MiB
strata generate: native pack: /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.4 s)
strata generate: 1466 MiB of weights loaded from /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s in 0.4 s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights, in 0.6 s
strata generate: PLE direct read probe: 133575 rows/s (fine)
strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off)
strata generate: profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: PLE on, table 320001536 rows of /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
strata mtp: draft layer loaded, 950 MiB of VRAM (experts 675, dense 111), files read in 0.22 s (3568 MiB/s)
strata generate: experimental native Q5_K head, 521472000 bytes, in 0.1 s
strata generate: GPU 0: NVIDIA GeForce RTX 5070, compute capability 12.0
strata generate: expert arena read through the file cache (buffered (not Windows))
strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 23983 2 MiB pages, vm.nr_hugepages=0); transparent huge pages requested (MADV_HUGEPAGE)
strata generate: loaded 46.84 GiB at 2.64 GiB/s
strata generate: GPU host-callback thread started before host-core pinning
strata generate: CPU pool tasks/phase: 48 (automatic), participating threads: 16
strata generate: 15 pool workers on logical processors 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, the host thread on 0 (draining too) (--host-core first)
strata aux cpus: threads that are neither pool workers nor the host go to CPUs 16 (off at start; a request's aux_cpus=1 turns it on)
strata generate: expert cache auto: 3.96 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 1234 slots
strata generate: expert cache 1588 slots, 3.06 GiB of VRAM; policy is
strata generate: pre-filled 1588 of 1588 slots from the profile in 0.1 s (40404 MB/s); slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 15 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.43.1)
strata generate: token graph hit path: 1588 resident experts, decided on the device
prefill: the CPU share is ON by default for prompt chunks below 1024 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004). STRATA_PREFILL_CPU_SHARE=0 turns it off.
strata serve: prompt chunk auto: 5632 tokens, a 199-slot ring
strata serve: the prompt path borrows 1413 CUDA0 cache slots (2.72 GiB)
strata hc: CUDA0: the hyper-connection read runs as staged
strata verify: window up to 6 tokens, 75.1 MiB of device buffers
strata mtp: draft head over 106299 tokens (212.9 MiB)
strata serve: STRATA_ROUTE_TAIL_SKIP=7 is ON (default)
strata serve: adaptive overlap: off (STRATA_ADAPT_OVERLAP=1 turns it on)
strata serve: 335 MiB of VRAM free with everything loaded
strata serve: WARNING: only 335 MiB of VRAM free at the start of this request (below 512 MiB)...

Questions / Next steps:

Since --temperature 0 did not eliminate the issue, which variable should I isolate next?
I was having the same issue in the previous version as well after my last message.

The agent behavior

I'll start by locating the repo and the audit findings so I can apply the fixes precisely.

Tool Call: Bash
Status: Failed

Assistant

There's no Bash tool. Available tools: AskUserQuestion, Calc, Edit, Glob, Grep, ListDirectory, Read, ReadCudgelMatch, Write. No shell/terminal tool! In other words, I can't run tests or execute commands. I can only read and edit files.

So "test whether it's been resolved" — I can't run tests. I can only do static verification. I should communicate that to the user.

Let me explore with ListDirectory and Glob.

Tool Call: ListDirectory
Status: Failed

Assistant

ListDirectory doesn't exist either. The tool names in the function list are: AskUserQuestion, Calc, Edit, Glob, Grep, Read, ReadCudgelMatch, Write. Let's use Glob and Grep.

Tool Call: Glob
Status: Failed

Assistant

Hmm. The only tools that actually exist are: AskUserQuestion, Calc, Edit, Grep, Read, ReadCudgelMatch, Write. Let me try Grep.

Tool Call: Grep
Status: Failed

Assistant

Grep doesn't exist either?? The error message says "No tool named Grep exists". Strange. The declared tools are: AskUserQuestion, Calc, Edit, Glob, Grep, Read, ReadCudgelMatch, Write. But the runtime is rejecting Glob, Grep, ListDirectory, Bash.

Let me try Read.

Tool Call: Read
Status: Failed

Assistant

Read doesn't exist either?! Let me try ReadCudgelMatch — that's the weird one.

Tool Call: ReadCudgelMatch
Status: Failed

Assistant

All the tools are being rejected. Let me try Edit and Write to see if they work.

Tool Call: Edit
Status: Failed

Assistant

All tools are being rejected with "No tool named X exists". This environment seems to have no working tools at all — every tool call fails. The only remaining option is AskUserQuestion, but that's probably going to fail too. Let me try it just once to confirm.

Actually, wait — maybe I shouldn't waste any more calls. Let me try AskUserQuestion once. If it fails, I'll respond with plain text.

Tool Call: AskUserQuestion
Status: Failed

Assistant

All tools are broken. Nothing works. Therefore, I have no choice but to respond with plain text only.
<!-- gh-comment-id:6143673653 --> @tamascogustavo commented on GitHub (Oct 13, 2026): Hi @Niko1221 , A quick follow-up: I updated to **`v0.1.43.1`** and tested again with **`--temperature 0`** explicitly set. Unfortunately, the bad behavior still reproduced—the model again deviated from the provided tool definitions and hallucinated nonexistent tools (`read_file`, etc.) despite deterministic sampling (`temperature 0`). This seems to rule out pure sampling randomness and points toward either long-context state, expert skipping, or VRAM pressure. Here is the startup log and some key observations from this run: --- ### Key Observations from `v0.1.43.1`: 1. **New VRAM warning triggered:** The new engine version flagged a low VRAM warning on startup: ```text strata serve: WARNING: only 335 MiB of VRAM free at the start of this request (below 512 MiB): when the card is this full the driver can page GPU memory to system RAM, decode falls to a few tok/s and a window may never finish (#2065). Add --vram-reserve-mib 896 to the config's args, or lower --max-context / --batch ``` 2. **Deep context & Heavy Tail Skipping:** * This session was running at deep context (**~75k – 79k tokens**). * By the end of the session, `STRATA_ROUTE_TAIL_SKIP=7` had skipped over **329,798 missed experts**. * Free VRAM hovered around **261–291 MiB** during verify window captures. --- ### Startup Log (`v0.1.43.1`, `--temperature 0`) <details> <summary><b>Click to expand full startup log</b></summary> ```text [strata] 2026-10-13 07:24:10 engine started: /home/gustavo/Public/github_repos/Strata/engine/strata --serve --pack /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s --native /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/gustavo/Public/github_repos/Strata-data/mtp/rt --max-context 131072 --kv int8 --pcie-frac 0.35 --spec-min-p 0.85 --temperature 0 strata generate: memory guard: limit 60.4 GiB (source: meminfo), current 5.7 GiB, reclaimable cache credited 0.0 GiB; available 54.7 GiB (MemAvailable 54.7 GiB), floor 2560 MiB strata generate: native pack: /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.4 s) strata generate: 1466 MiB of weights loaded from /home/gustavo/Public/github_repos/Strata-data/packs/iq3_s in 0.4 s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights, in 0.6 s strata generate: PLE direct read probe: 133575 rows/s (fine) strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile /home/gustavo/Public/github_repos/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: PLE on, table 320001536 rows of /home/gustavo/Public/github_repos/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf strata mtp: draft layer loaded, 950 MiB of VRAM (experts 675, dense 111), files read in 0.22 s (3568 MiB/s) strata generate: experimental native Q5_K head, 521472000 bytes, in 0.1 s strata generate: GPU 0: NVIDIA GeForce RTX 5070, compute capability 12.0 strata generate: expert arena read through the file cache (buffered (not Windows)) strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 23983 2 MiB pages, vm.nr_hugepages=0); transparent huge pages requested (MADV_HUGEPAGE) strata generate: loaded 46.84 GiB at 2.64 GiB/s strata generate: GPU host-callback thread started before host-core pinning strata generate: CPU pool tasks/phase: 48 (automatic), participating threads: 16 strata generate: 15 pool workers on logical processors 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, the host thread on 0 (draining too) (--host-core first) strata aux cpus: threads that are neither pool workers nor the host go to CPUs 16 (off at start; a request's aux_cpus=1 turns it on) strata generate: expert cache auto: 3.96 GiB free, 700 MiB reserved (+218 MiB for the draft head) -> 1234 slots strata generate: expert cache 1588 slots, 3.06 GiB of VRAM; policy is strata generate: pre-filled 1588 of 1588 slots from the profile in 0.1 s (40404 MB/s); slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 15 expert-pool workers + the host thread strata generate: session is up (engine 0.1.43.1) strata generate: token graph hit path: 1588 resident experts, decided on the device prefill: the CPU share is ON by default for prompt chunks below 1024 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004). STRATA_PREFILL_CPU_SHARE=0 turns it off. strata serve: prompt chunk auto: 5632 tokens, a 199-slot ring strata serve: the prompt path borrows 1413 CUDA0 cache slots (2.72 GiB) strata hc: CUDA0: the hyper-connection read runs as staged strata verify: window up to 6 tokens, 75.1 MiB of device buffers strata mtp: draft head over 106299 tokens (212.9 MiB) strata serve: STRATA_ROUTE_TAIL_SKIP=7 is ON (default) strata serve: adaptive overlap: off (STRATA_ADAPT_OVERLAP=1 turns it on) strata serve: 335 MiB of VRAM free with everything loaded strata serve: WARNING: only 335 MiB of VRAM free at the start of this request (below 512 MiB)... ``` </details> --- ### Questions / Next steps: Since `--temperature 0` did not eliminate the issue, which variable should I isolate next? I was having the same issue in the previous version as well after my last message. ### The agent behavior <details> I'll start by locating the repo and the audit findings so I can apply the fixes precisely. **Tool Call: Bash** Status: Failed ## Assistant <thinking> There's no Bash tool. Available tools: AskUserQuestion, Calc, Edit, Glob, Grep, ListDirectory, Read, ReadCudgelMatch, Write. No shell/terminal tool! In other words, I can't run tests or execute commands. I can only read and edit files. So "test whether it's been resolved" — I can't run tests. I can only do static verification. I should communicate that to the user. Let me explore with ListDirectory and Glob. </thinking> **Tool Call: ListDirectory** Status: Failed ## Assistant <thinking> ListDirectory doesn't exist either. The tool names in the function list are: AskUserQuestion, Calc, Edit, Glob, Grep, Read, ReadCudgelMatch, Write. Let's use Glob and Grep. </thinking> **Tool Call: Glob** Status: Failed ## Assistant <thinking> Hmm. The only tools that actually exist are: AskUserQuestion, Calc, Edit, Grep, Read, ReadCudgelMatch, Write. Let me try Grep. </thinking> **Tool Call: Grep** Status: Failed ## Assistant <thinking> Grep doesn't exist either?? The error message says "No tool named Grep exists". Strange. The declared tools are: AskUserQuestion, Calc, Edit, Glob, Grep, Read, ReadCudgelMatch, Write. But the runtime is rejecting Glob, Grep, ListDirectory, Bash. Let me try Read. </thinking> **Tool Call: Read** Status: Failed ## Assistant <thinking> Read doesn't exist either?! Let me try ReadCudgelMatch — that's the weird one. </thinking> **Tool Call: ReadCudgelMatch** Status: Failed ## Assistant <thinking> All the tools are being rejected. Let me try Edit and Write to see if they work. </thinking> **Tool Call: Edit** Status: Failed ## Assistant <thinking> All tools are being rejected with "No tool named X exists". This environment seems to have no working tools at all — every tool call fails. The only remaining option is AskUserQuestion, but that's probably going to fail too. Let me try it just once to confirm. Actually, wait — maybe I shouldn't waste any more calls. Let me try AskUserQuestion once. If it fails, I'll respond with plain text. </thinking> **Tool Call: AskUserQuestion** Status: Failed ## Assistant <thinking> All tools are broken. Nothing works. Therefore, I have no choice but to respond with plain text only. </details>
Author
Owner

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

Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.

If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.

<!-- gh-comment-id:6156130769 --> @Niko1221 commented on GitHub (Oct 13, 2026): Thanks for the report. To keep the tracker current we are closing issues older than three days: [0.1.44](https://github.com/Niko1221/Strata/releases/tag/v0.1.44) is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1. If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.
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#621
No description provided.