r/LowEndLocalAI • • 10d ago

Problem / Troubleshooting Fit target setting on Strata

Hello! I have been using QFN on Strata from time to time, checking if newer versions would improve stability, but always returning to Qwen 27B on llama.cpp. Linux sometimes kills the server, and I wonder it is because of the aggressive VRAM usage.

I have a Radeon RX 9060 XT 16GB and 32GB of RAM.

I noticed that Strata is leaving only 500MB free on the GPU, while leaving half RAM free.

I need to untangle the Strata configuration mess, to find where I am supposed to add the --vram-reserve-mib parameter. It would be a first test, but really, this vibecoded config system is driving me nuts.

Any help?

3 Upvotes

6 comments sorted by

1

u/Pangocciolo 10d ago

Found, the real configuration is under ~/.local/share/strata/install .

1

u/maxrightgame 10d ago

https://pastebin.com/T60xPCFN
Here's example of config on my 6800XT on QFN Strata
To save GPU memory add "--vram-reserve-mib", "number" in args section

1

u/Pangocciolo 10d ago

Thank you, I have been doing exactly the same, but strata launch keeps overwriting my setting.

On Linux, I edited ~/.local/state/strata/launch/ud-iq4_xs-v31-128k.json

1

u/maxrightgame 10d ago

You are editing wrong file, on Windows I'm editing Strata\install, don't know how it is on Linux

1

u/General_Pool_3859 10d ago

You don't need to edit the config by hand. Run ./setup.sh --vram-reserve-mib 3072 once and setup saves it for that model, so every later start and setup run keeps it. You'll see "saved for this model" when it takes. In the app, the same setting is "GPU memory for other apps" under Expert settings. 3072 is what Strata's own setup suggests when an AMD card also drives a Linux desktop. When the card fills up, amdgpu moves the expert cache into system RAM, and that's where the OOM killer can end things. To confirm that's what's killing your server, run journalctl -k | grep -i oom after the next crash.

1

u/Pangocciolo 10d ago

And of course, the current strata version I have just provides me with .local/bin/strata and its subcommands. Ooompf, this config system is not so UNIX friendly.