[GH-ISSUE #3842] [Engine] engine 0.1.48 hip-rx9070 fails its update test-start with a device out-of-memory on a single RX 9070 XT (16 GB) #1632

Closed
opened 2026-11-04 01:52:46 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @mobile2machan on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3842

Problem and result

strata update on Linux selects the correct package (linux-x86_64-hip-rx9070, engine 0.1.48), unpacks it, passes every signature and file check, and test-starts it. The engine starts correctly for this card — gfx12 (RDNA4) is detected, the default speed switches load, the memory guard runs, and its PCIe probe reports 14.3 GB/s host→device — but during weight upload it stops before answering the test question:

strata generate: native dense projections: native dense upload blk.3.attn_output.weight: out of memory

strata update therefore keeps the previous state ("The new engine 0.1.48 did not start correctly on this computer"), which is the documented behaviour. A second run reached the same point and failed the same way (the log at components/.updates/logs/test-start-0.1.48.log shows it). The configuration used by the test start is the model profile saved earlier on this machine:

--serve --pack <data>/packs/iq3_xxs --native …/IQ3_XXS-00001-of-00002.gguf
  --ple-gguf …/IQ3_XXS-00002-of-00002.gguf --expert-profile … --max-context 262144
  --kv int8 --kv-resident 32768 --vision --spec 4 --mtp … --control-vector-scaled …

Hardware and software (measured on this machine)

  • One AMD Radeon RX 9070 XT, PCI ID 1002:7550, sysfs mem_info_vram_total = 17,095,983,104 bytes (16.0 GiB); amdgpu driver, /dev/kfd present. Single card.
  • Engine's own start-up lines report the host situation: memory guard "limit 121.4 GiB (source: meminfo) … available 58.5 GiB", "this CPU has no AVX-512", "opened 2 GPU queues in a fixed order", and "gfx12: --prefill auto may take chunks up to 16384".
  • Control/Terminal 0.1.48 from the release feed; engine package official (Checking the package signature and every file passed). Model pack and GGUFs on local disk (IQ3_XXS shards, native-experts pack, MTP draft, vision encoder enabled).

Passed / failed / not run (kept apart)

  • Passed: download + checksum + signature; engine process starts; gfx12 detection, speed-switch defaults, memory guard and PCIe probe all execute.
  • Failed: device-side out-of-memory while uploading blk.3.attn_output.weight → the test question was never answered; engine not installed (expected guard behaviour).
  • Not run / not tested here: STRATA_GFX12_CHUNK=0 (8192) or a smaller --max-context; a retuned profile for this card (strata launch --retune); whether the same saved configuration ever passed test-start on an earlier engine build.

Unconfirmed reading (static analysis, not measured)

The saved profile looks sized for a larger or multi-GPU machine (the log opens 2 GPU queues at 262K context with vision and --kv-resident 32768), and this is the first engine build that raises gfx12 prefill chunks to 16384 by default. Either could explain the VRAM demand; neither is confirmed on this machine yet.

Question

Is there a recommended configuration (or an automatic guard) for a single 16 GB RDNA4 card with this model? Related issues checked: #3810 (BUILD.json arch parsing — different problem), #3456 (wrong engine package chosen on Windows — fixed in v0.2.1.4). This report is about the correct package failing its own test-start with a device OOM.

Originally created by @mobile2machan on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3842 ## Problem and result `strata update` on Linux selects the correct package (`linux-x86_64-hip-rx9070`, engine 0.1.48), unpacks it, passes every signature and file check, and test-starts it. The engine starts correctly for this card — gfx12 (RDNA4) is detected, the default speed switches load, the memory guard runs, and its PCIe probe reports 14.3 GB/s host→device — but during weight upload it stops before answering the test question: ```text strata generate: native dense projections: native dense upload blk.3.attn_output.weight: out of memory ``` `strata update` therefore keeps the previous state ("The new engine 0.1.48 did not start correctly on this computer"), which is the documented behaviour. A second run reached the same point and failed the same way (the log at `components/.updates/logs/test-start-0.1.48.log` shows it). The configuration used by the test start is the model profile saved earlier on this machine: ```text --serve --pack <data>/packs/iq3_xxs --native …/IQ3_XXS-00001-of-00002.gguf --ple-gguf …/IQ3_XXS-00002-of-00002.gguf --expert-profile … --max-context 262144 --kv int8 --kv-resident 32768 --vision --spec 4 --mtp … --control-vector-scaled … ``` ## Hardware and software (measured on this machine) - One AMD Radeon RX 9070 XT, PCI ID `1002:7550`, sysfs `mem_info_vram_total = 17,095,983,104` bytes (16.0 GiB); amdgpu driver, `/dev/kfd` present. Single card. - Engine's own start-up lines report the host situation: memory guard "limit 121.4 GiB (source: meminfo) … available 58.5 GiB", "this CPU has no AVX-512", "opened 2 GPU queues in a fixed order", and "gfx12: `--prefill auto` may take chunks up to 16384". - Control/Terminal 0.1.48 from the release feed; engine package official (`Checking the package signature and every file` passed). Model pack and GGUFs on local disk (IQ3_XXS shards, native-experts pack, MTP draft, vision encoder enabled). ## Passed / failed / not run (kept apart) - **Passed:** download + checksum + signature; engine process starts; gfx12 detection, speed-switch defaults, memory guard and PCIe probe all execute. - **Failed:** device-side out-of-memory while uploading `blk.3.attn_output.weight` → the test question was never answered; engine not installed (expected guard behaviour). - **Not run / not tested here:** `STRATA_GFX12_CHUNK=0` (8192) or a smaller `--max-context`; a retuned profile for this card (`strata launch --retune`); whether the same saved configuration ever passed test-start on an earlier engine build. ## Unconfirmed reading (static analysis, not measured) The saved profile looks sized for a larger or multi-GPU machine (the log opens 2 GPU queues at 262K context with vision and `--kv-resident 32768`), and this is the first engine build that raises gfx12 prefill chunks to 16384 by default. Either could explain the VRAM demand; neither is confirmed on this machine yet. ## Question Is there a recommended configuration (or an automatic guard) for a single 16 GB RDNA4 card with this model? Related issues checked: #3810 (BUILD.json arch parsing — different problem), #3456 (wrong engine package chosen on Windows — fixed in v0.2.1.4). This report is about the correct package failing its own test-start with a device OOM.
Author
Owner

@mobile2machan commented on GitHub (Oct 23, 2026):

Cross-reference for triage: the same card family appears in the open #3297 (RX 9070 / gfx1201 16 GB stalls under host memory pressure, adaptive-tier swapping). The failure mode here is different and much earlier — device-side out-of-memory during the first weight upload (blk.3.attn_output.weight) inside strata update's test-start; no request was ever served — so I kept this separate from that thread per one-problem-per-issue.

<!-- gh-comment-id:6367369035 --> @mobile2machan commented on GitHub (Oct 23, 2026): Cross-reference for triage: the same card family appears in the open #3297 (RX 9070 / gfx1201 16 GB stalls under host memory pressure, adaptive-tier swapping). The failure mode here is different and much earlier — device-side out-of-memory during the first weight upload (`blk.3.attn_output.weight`) inside `strata update`'s test-start; no request was ever served — so I kept this separate from that thread per one-problem-per-issue.
Author
Owner

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

Thank you for the exact log. Fixed in 0.2.5: strata update now test-starts the new engine with a short context and without the picture reader, so a 16 GB card no longer runs out of memory at the first weight upload (blk.3.attn_output.weight) and the update goes through. Run strata update again.

Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.5

<!-- gh-comment-id:6491885414 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thank you for the exact log. Fixed in 0.2.5: `strata update` now test-starts the new engine with a short context and without the picture reader, so a 16 GB card no longer runs out of memory at the first weight upload (`blk.3.attn_output.weight`) and the update goes through. Run `strata update` again. Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.5
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#1632
No description provided.