Skip to content

Memory reduction - #35

Merged
monatis merged 3 commits into
monatis:mainfrom
thomas-0816:memory_reduction
Sep 24, 2026
Merged

monatis merged 3 commits into
monatis:mainfrom
thomas-0816:memory_reduction

Conversation

@thomas-0816

@thomas-0816 thomas-0816 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor
laya serve kev_4b_q8_0.gguf --device cpu
laya serve kev_4b_q8_0.gguf --device vulkan

have RSS peak at 8.5GB while the model is 4.2GB.

With this change it's goes down to 4.7GB.
Please note that this code is AI generated, only tested manually on Linux with cpu and vulkan.

@monatis

monatis commented Sep 24, 2026

Copy link
Copy Markdown
Owner

Oh my bad. Thanks @thomas-0816 for the fix.

@monatis
monatis merged commit af13f35 into monatis:main Sep 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants