mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5181] [Engine] DeepSeek V4.1 on Windows Strix Halo (gfx1151): crashes on load (cudaMemcpy(x.vram_tab): unspecified launch failure) unless --vram-experts is 0.35 or less #3083
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#3083
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?
Originally created by @pdmaclennan-art on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5181
Area
Engine
Desktop app, Terminal or source?
Terminal (release 0.2.10 through
install.ps1; DeepSeek enginestrata-dsv41.exe0.1.56, build06698c674,windows-x86_64-hip-rdna3, BUILD.json archsgfx1151).What happened
DeepSeek-V4.1-Flash IST-DAS-2.00bpw on a Strix Halo laptop (gfx1151, 96 GB BIOS carve-out, Windows) crashes while loading with setup's settings, before the first token. Setup's test question fails, and so does every start where more than about 30 GiB of routed experts go to the GPU:
Exit code 0xC0000409. Each row is a fresh start of setup's test command (
--ids <the test prompt> --n 16 --max-context 1024 --dspark auto --window 16 --verbose), nothing else using the GPU:DS4_COMMIT_CAP_GB=50DS4_UMA_GPU_RESERVE_GB=24/--reserve-mib 16384--vision off --dspark none/DS4_DEFAULTS=0DS4_LAUNCH_CHECK=1 DS4_TRACE=1--vram-experts0.9, 0.8, 0.7, 0.6, 0.5, 0.45, 0.4--vram-experts 0.35--vram-experts 0.3So the line falls between about 30 and 35 GiB of experts on the GPU, and the page file / commit limit is not what decides it. A 32 GiB limit on one allocation would fit, but I have not traced it.
With
--vram-experts 0.35added to setup's config,strata serve(131K context, vision on) puts 24.33 GB of experts on the GPU and runs: both needles at 24K and 80K pass and prompts are reused, but decode is 3-4 tok/s (engine 3.1-4.5) with ~115 GB of experts read from the SSD, against the 10-16 the docs give for this chip. Prompt reading: 137-143 tok/s at 4K, 303 at 16K, 451 at 32K, 506 at 64K.Question: is there a known limit on the size of the experts' VRAM block on Windows HIP, and could the block be split so a 96 GB carve-out can hold ~90 GB of experts?
Smallest steps or command that reproduce it
strata install --family deepseek41 --model IST-DAS-2.00bpw --yes --no-start(withHIP_VISIBLE_DEVICES=0: a user-level-1here otherwise hides the GPU and the test fails with "no CUDA device").strata-dsv41.exe --pack <pack> --ids @<ids> --n 16 --max-context 1024 --dspark auto --window 16 --vram-experts 0.4crashes;--vram-experts 0.35answers.Reproduction status
Reproduced locally: setup's settings three times (setup's test, the test script alone, the engine with
--verbose), every other row once.Strata version
0.2.10 (Terminal 0.1.56, commit
c5ab5d40; DeepSeek engine build06698c674, ROCm 10.2.0a20260930)Graphics card, memory and system
Radeon 8060S (Strix Halo, gfx1151), ASUS ProArt PX13, Ryzen AI Max+ 395, 128 GB with a 96 GB BIOS carve-out (Windows sees 31.6 GiB; HIP lists 107.9 GiB), page file 128 GB, Windows 11 build 26300, AMD driver 32.0.22032.6002 (older than the 32.0.32015.7029 the docs were measured on).
Model, size and settings
DeepSeek-V4.1-Flash IST-DAS-2.00bpw (four
DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXSshards, Engram IQ4_NL, DSpark Q8_0, mmproj BF16), setup's config:--pack <pack> --max-context 131072 --eos 1 --vision on --dspark auto --dspark-conf 0.65 --prefill-chunk 16384, envDS4_ASYNC_T=4.Full report: https://github.com/Niko1221/Strata/pull/5182.