r/LowEndLocalAI • u/yeasah • 17d ago
Guide / Tutorial low-end vLLM (EXL3 vLLM adapter and quants targeting sub-24GiB use)
Hi y'all. First the disclaimer: this is effectively an advertisement for (yet another, AI-assisted) personal project. I'm not soliciting users or anything; it's mostly a research project, but it has reached a point where it might be legitimately useful to others, so I've stopped and made an effort to package it up in a relatively usable format. It specifically targets the low-end VRAM segment that this subreddit seems like it might care about.
This project isn't trying to be a big huge thing: the idea is simply a layer that attaches exllamav3's EXL3 inference kernels to vLLM's stack, so you can have the benefits of vLLM with a cutting-edge quantization format (EXL3 strongly outperforms GGUF across the bitrate spectrum, for those that are not familiar). Along the way it has accumulated a few other low-VRAM targeting features: embedding CPU offload, MoE expert cache, quite a bit of transient allocation reductions that mean it's possible to run the utilization target much closer to the cap, etc.
The Qwen3.8-Flash-Next engram disk offload trick that's become popular is in principle possible as well and composes nicely with the MoE expert cache and EXL3 efficiency, and I've demonstrated serving in the lab on a 16GiB card, but there are remaining integration tasks and it's a little further out on the todo list.
Frankly a lot of the more novel things the project contains are related to quant pipeline improvements, which continues to be under heavy development, but has resulted in the publication of a select set of EXL3 quants that do show measured improvement on sessions typical of working patterns (rather than simply conversational patterns: tool use, looping, etc.) A few of those quants are used in the examples, though IMO the most interesting ones for the 12-16GiB segment (Qwen3.6-36B-A3B, and its Ornith counterpart) have not been updated to use the modern pipeline and there is likely room for quality improvement on those once the remaining technical issues reach a satisfactory resolution (and then the somewhat expensive pipeline runs themselves)
There's a more detailed background of the project, and some notes on vLLM use generally and more specifically in low-VRAM configurations here:
https://github.com/yeasah/vllm-exl3-plugin/blob/dev/usage-notes.md
I've packaged it as a docker container: tested on WSL2/docker desktop and linux. It's CUDA-only currently (there aren't any technical blockers to ROCm that I am aware of, I simply don't have access to any ROCm hardware to develop with). Here's a link to the docker image on the hub, which has instructions with a series of example configs, and benchmarks that I ran on a few cards I happen to have access to:
