VRAM use....
What an awesome project!
Just an observation - with a BC-250 configured with 512 MB UMA, running this project with amdgpu_top running - it would appear that practically no 'VRAM' is used and everything ends up in GTT. Does this mean we're leaving 512 MiB on the table?
Whilst I type this into github I've also asked q36-agent to investigate this itself... and it's currently going through it's own source code to do so. It does appear to be using a little more of the VRAM side of the allocation now, but not very quickly.
As an aside, would you consider adding the necessary for a version of this project targeting Ternary Bonsai 27B? I think that might be a model even more suited to the BC-250!
I'll add that I'm running this BC-250 headless (& diskless! network boot over 2.5GbE), so there isn't even any frame buffer etc using the 'VRAM' carve-out.
q36-agent appears to have gotten itself in a loop when I asked it to move it's arena backed weights into only DEVICE_LOCAL memory.
I now have a patch that I believe resolves this and uses all the memory - so we can have bigger contexts; testing looks good both with the full model in RAM and ~~SSD~~ network streaming.
Had to resort to Deepseek V4 Flash (still a smaller model than I'd expected!). I'll clean it up and see whether I can understand it, hopefully this evening, and then send a PR.
Hi, first of all, thanks for the feedback and for catching this omission. While GPT-5.6 SOL reviews your pull, I have some time to respond.
Ternary Bonsai 27B: I've also thought about adding this model, but haven't had a chance to test it yet. From what I've read, it's a bit benchmaxxed. But if you or anyone else has experience with it, I'd be curious to hear. 'll branch out soon to support a second model, but I haven't decided which one yet.
I also ran into loop problems in agent mode with the standard model. I usually just need to write something to reroute it, but it's annoying. I'd like to understand if it's a parameter issue, maybe I should try temperature 0.7 or some other tuning. In any case, I already have a patch in mind, perhaps the extreme quantization creates this loop in the reasoning that the Ternary bonsai also suffers from.
Deepseek V4 Flash is a great model. We hope to soon have models under 35B with similar performance for QuarkStar.
https://github.com/Ninnix/q36/commit/a08005187f61dc99d40bc452ed52f6c564b69b91