mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4523] [engine] The 1.52 version engine is using too much memory #2036
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#2036
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 @guohongze on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4523
This is for the Q4KXL version model. My machine has 96GB of local video memory and 128GB of RAM. The 1.52 version engine is using too much memory; my 128GB of RAM is full. I've reverted to the 1.50 version engine.
@github-actions[bot] commented on GitHub (Oct 28, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@h-narazaki commented on GitHub (Oct 29, 2026):
I can reproduce this issue on my system as well. The problem occurs with v0.1.52 but not with v0.1.50.
System specifications
Model
Memory usage comparison
Before launching the model, total system RAM usage is approximately 26 GB. The following measurements were taken after loading the model and running a simple greeting prompt.
Both quantizations work normally with v0.1.50 on the same system, whereas v0.1.52 uses significantly more RAM with IQ3_S and runs out of memory when loading UD-IQ4_XS.
This suggests a regression in RAM usage between v0.1.50 and v0.1.52. I have not yet identified the cause.
@xtremexp commented on GitHub (Oct 29, 2026):
I got the same issue with 0.1.52 RAM usage has been increased by 30GB on swift-1.5-iq3_s model with 0.1.52 (fine with 0.1.50).
System specifications
@zhujiammy commented on GitHub (Oct 29, 2026):
"STRATA_PLE_AUTO_RAM": "0" Using this will reduce the memory usage without affecting the model quality.
@Niko1221 commented on GitHub (Oct 29, 2026):
This matches the PLE residency policy that 0.2.7 (engine 0.1.52) turned on: it locks the PLE table in RAM at start, which is why the memory use is higher than with 0.1.50.
STRATA_PLE_AUTO_RAM=0(as zhujiammy found) gives the 0.1.50 behaviour; in the Terminal:strata launch --set STRATA_PLE_AUTO_RAM=0. To confirm, look in the engine log for "--ple-io ram chosen by the residency policy". Is that line there?@Gvard-Windlass commented on GitHub (Oct 31, 2026):
Had this issue, both this discussion, QFN analysis and my testing confirm that adding {...,
"--ple-io", "mmap", ...} toNative engine settings -> JSONsolves the issue.Log without it:
@guohongze commented on GitHub (Nov 1, 2026):
thanks, edit strata-unsloth-ud-q4_k_xl.json file and reboot engine it's done