mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 23:38:47 +00:00
With STRATA_VERIFY_NO_HOST on and no --stream-experts, the experts the VRAM cache does not hold sit in a
pageable RAM arena (PinnedArena::register_slices registers nothing on SYCL). The device plan cannot read
it and no host answers for those experts, so a reply came out as '!' x 256 on an Arc Pro B70 (or the
window hung). The engine now prints REFUSED, names the setting and the two ways out (--stream-experts, or
STRATA_VERIFY_NO_HOST=0 for the arena's own mode on an i915 card) and exits 2 before the fill reads
anything. A cache that holds every expert never reads the arena and is not refused.
The reporter's own guard (314fff599 on PR #3607) depends on copy_ready() and prepare_for_device_copy of the
Windows port, which main does not have; this is the same refusal in main's terms: a pure helper
(arena_refuses_no_host, seven cases in verify_env_test) and one call after the expert cache opens.
Checked on p1006 (A750, i915, Q2_0 arena, 630 of 24576 slots): NO_HOST=1 prints REFUSED and exits 2 with no
new GPU hang in dmesg; NO_HOST=0 loads and generates 16 tokens at 12.1 tok/s as before.