Discover and explore top open-source AI tools and projects—updated daily.
avifeneshFrom-scratch LLM inference engine for consumer GPUs
New!
Top 98.0% on SourcePulse
This project delivers a from-scratch LLM inference engine in Rust and CUDA, meticulously optimized for NVIDIA Blackwell sm_120a GPUs (like the RTX 5090 Laptop). It prioritizes bit-exact inference and high performance on consumer hardware, offering a competitive alternative to established engines and enabling large model execution on limited VRAM.
How It Works
The engine employs custom-tuned CUDA kernels, focusing on bit-exactness verified through rigorous checks. Key innovations include NVFP4 (a 4-bit floating-point format) for efficient decoding, MTP (Multi-Token Prediction) speculative decoding, and advanced Mixture of Experts (MoE) handling with VRAM/host/disk spilling. Kernels are optimized against measured hardware limits, ensuring maximum throughput and accuracy on the target architecture.
Quick Start & Requirements
cargo build --release.run-gen, run-spec, bw24-server).cudarc 0.19.ARCH.md, research/sm120-empirical-capabilities.md, research/benchmarks.md.Highlighted Details
Maintenance & Community
Contributions are welcome via Issues and PRs, requiring adherence to correctness gates and performance measurement protocols. No community channels are specified.
Licensing & Compatibility
Limitations & Caveats
The engine is specifically built and tuned for sm_120a GPUs; other architectures require a separate branch and may not be optimized. Model coverage is limited to tested formats and specific models, not a general runner. It operates on a single GPU and stream, lacking advanced parallelism features. As a research codebase, APIs and flags may change without notice.
15 hours ago
Inactive
Mega4alik