The release of an open inference engine for large language models TinyCoder 1.0.9 has taken place, written from scratch in C++20 and CUDA without the use of third-party ML frameworks (llama.cpp, ggml, PyTorch, Candle or ExLlamaV3). The engine is designed as an embedded C++ library (tinycoder_core) for NVIDIA GPU architectures from Turing to Blackwell (sm_75-sm_120) and also includes a CPU backend with dynamic selection of SIMD instructions (AMX, AVX-512, AVX2). All cores (dequantization, int8 mma.s8 stream-K GEMM, warp flash attention, gated-delta-net and samplers) are implemented in the project itself; of the external dependencies, only cuBLAS is used for the base GEMM. The project code distributed under the MIT license.
Key features:
- Native support for GGUF v3 (K-quanta, IQ, NVFP4, Prism) and EXL3 scale formats with auto-detection when loading (Model::load).
- Ability to run large MoE models (level 35B), which do not fit entirely into the video card memory, on a GPU with 11 GB VRAM, thanks to the hybrid mode of streaming experts through the arena layer.
- The assembly script itself detects the GPU, and CUDA 13.2 generates native cubin modules for RTX 4090 (sm_89) and RTX 5090 video cards (sm_120) without PTX JIT compilation.
- Self-testing of kernels before loading weights with immediate stop in case of launch failures.
- Connecting via CMake (FetchContent). A separate HTTP gateway in Go with support OpenAI and Anthropic APIs. Extension for VS Code (via N-API).
- Performance (Qwen3.8-27B EXL3):
- RTX 2080 Ti(11 GB): 725.8 current/s (prefill) and 29.83 current/s (generation). For comparison, the result of exllamav3 1.6.6: 716.8 current/s (prefill) and 23.67 current/s (generation).
- RTX 3090 (24 GB): 933 current/s and 37 current/s (preliminary measurements). Exllamav3 1.6.6 result: 1215 current/s (prefill) and 60 current/s (generation).
- RTX 5090 (32 GB): 2039 current/s and 81.8 current/s (preliminary measurements).