Skip to content

[Bug]: Too much ram used #74

Description

Commit or version

d7ffdc4

Environment

WSL2 Ubuntu-26.04, Ryzen 9950x3D, 192GB RAM, 2x RTX 5090, 8TB samsung 9100 pro NVME ssd, gcc 15.2.0

Reproduction steps

git clone https://github.com/JustVugg/colibri
cd colibri/c
./setup.sh
COLI_MODEL=/home/me/docs/model/GLM-5.2-colibri-int4-with-int8-mtp ./coli chat --ram 96

Expected behavior

I should use 96GB of RAM, but instead it eats up my whole 192GB and it even writes on the disk (D:) as a swap file, as you can see in the screenshot.

Actual behavior and logs

Image ```shell ▄▀▀▀▄ ▄ colibrì v1.0 ▄▄▄▄▀▀▀▀▄▀▀ piccolo motore, modello immenso ▀▀▀▀▀▀▀ GLM-5.2 · 744B MoE · int4 · streaming CPU ▀▀▀▀ chat · hf · ram 96GB · topp off ▀ ────────────────────────────────────────────────────────── [MTP] attiva: decodifica speculativa nativa (draft=3) [RAM_GB=96.0] cap ALZATO 8->54: il budget lo consente (proiezione picco 95.2 GB; CAP_RAISE=0 per disattivare) [KV] context slots: 1 x 4096 token, projected pool 0.75 GB scrivi e premi invio · :piu continua risposta · :reset memoria · :q esci

╭────────────────────────────────────────────────────────────────────────────────────────────────╮
│ › hi │
╰────────────────────────────────────────────────────────────────────────────────────────────────╯

◆ colibrì
He^C
interrotto
ciao — il colibrì torna al nido 🐦

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions