mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #300] Image encoder keeps failing on 8GB GPU #147
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#147
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 @sinand99 on GitHub (Sep 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/300
Reopening #261
I tried the options you mentioned with the engine version 0.1.130: (All GPU programs closed)
--vram-reserve-mib 700: error
--vram-reserve-mib 1200: error
--prefill auto: error
--prefill 512: works (cpu)
Log:
strata-vision: warmed up at 289 image tokens
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: G:\AI\Text\Apps\Strata-data\packs\iq3_s experts (largest blob 2.66 MB), token embedding type 23 in mapped host memory (322 MiB)
strata generate: 1466 MiB of weights loaded from G:\AI\Text\Apps\Strata-data\packs\iq3_s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights
strata generate: profile G:\AI\Text\Apps\Strata\data\expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: KV streaming: 32768 of 65536 cells per QSA layer in VRAM, the K/V in 0.77 GiB of pinned RAM
strata generate: PLE on, table 320001536 rows of G:\AI\Text\Apps\Strata-data\models\IQ3_S\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.39 s (2008 MiB/s)
strata generate: expert arena: locked 1302 MiB via working-set minimum + VirtualLock; cudaHostRegister of the whole arena FAILED (out of memory); 47 slices pinned (45 GiB); large pages refused for 50295996416 B (GetLargePageMinimum=2097152, VirtualAlloc error 1314); using 4 KB pages
strata generate: loaded 46.84 GiB at 2.13 GiB/s
strata generate: experimental native Q5_K head, 521472000 bytes
strata generate: expert cache auto: 0.06 GiB free, 700 MiB reserved (+86 MiB for the draft head) -> 0 slots
strata generate: no VRAM is left for the expert cache: lower --max-context, use --kv k8v4, run images on the CPU, or close other programs that use the GPU
strata generate: pre-filled 0 of 0 slots from the profile; slot 0 verified
strata generate: 11 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.30)
strata serve: the prompt path allocates its own buffers (too few cache slots to borrow)
strata serve: prefill: device buffers for a chunk of 1024 tokens do not fit
strata serve: the GPU has too little free VRAM for the prompt path: turn images off (setup: --vision no), close other programs using the GPU, use a shorter context, or read prompts in smaller chunks (--prefill 512)
@Niko1221 commented on GitHub (Oct 1, 2026):
0.1.31 lets the prompt chunk step down to 512 when VRAM is short, which should cover this. Please retest on 0.1.31;
--vision cpuand a fixed--expert-cache Nboth work. Reopen with the log if it still fails.