Hi everyone,
I wanted to share a project I am developing called NexaQuant v1. It’s a high-performance C++ inference engine written from scratch, specifically designed to bypass huge RAM bottlenecks and run Large Language Models on legacy or low-resource hardware.
Core Technical Features:
- 1.58-bit Ternary Weights: Specifically engineered to leverage ternary quantization mathematics to drastically reduce the model’s memory footprint.
- Zero-Copy & Memory Mapping (
mmap): Built with custom memory management usingmmapto stream weights directly from storage, bypassing high RAM requirements and eliminating execution copy overhead. - Pure C++ Architecture: Written close to the metal with zero unnecessary runtime bloat.
Development Stack & Environment:
- Language: Pure C++ (CMake build system)
- OS: Windows / Linux
- Target: Low-RAM environments and edge hardware
Looking for Feedback:
I am currently working on optimizing the compute kernels. I would love to get feedback or advice from the NVIDIA community on how to best align these ternary weight structures with hardware acceleration principles (like custom CUDA kernels or exploiting Tensor Cores for non-standard bit widths).
GitHub Repository: GitHub - Nexa1nc/NexaQuant · GitHub
Looking forward to hearing your thoughts and technical suggestions!