Release of TinyCoder 1.0.9, an open-source LLM inference engine built from scratch in C++20 and CUDA

The open-source TinyCoder 1.0.9 inference engine for large language models has been released. Written from scratch in C++20 and CUDA, it does not rely on third-party ML frameworks such as llama.cpp, ggml, PyTorch, Candle or ExLlamaV3. The engine is available as an embeddable C++ library (tinycoder_core) for NVIDIA GPUs from the Turing to Blackwell architectures (sm_75–sm_120). It also includes a CPU backend that dynamically selects SIMD instructions (AMX, AVX-512, AVX2). All kernels—including dequantization, int8 mma.s8 stream-K GEMM, warp flash attention, gated-delta-net and samplers—are implemented in the project itself. The only external dependency is cuBLAS, used for baseline GEMM. The project is distributed under the MIT License.

Key features:

  • Native support for GGUF v3 weight formats (K-quants, IQ, NVFP4, Prism) and EXL3, with automatic detection when loading a model via Model::load.
  • Run large MoE models (up to 35B) that exceed GPU memory capacity on GPUs with 11 GB of VRAM, using a hybrid mode that streams experts through a layer arena.
  • The build script automatically detects the GPU, while CUDA 13.2 generates native cubin modules for the RTX 4090 (sm_89) and RTX 5090 (sm_120), with no PTX JIT compilation required.
  • Kernels are self-tested before weights are loaded, and execution halts immediately if startup checks fail.
  • Integrate via CMake (FetchContent). A standalone HTTP gateway written in Go supports the OpenAI and Anthropic APIs. A VS Code extension is available via N-API.
  • Performance (Qwen3.8-27B EXL3):
    • RTX 2080 Ti (11 GB): 725.8 tokens/s (prefill) and 29.83 tokens/s (generation). For comparison, exllamav3 1.6.6 scored 716.8 tokens/s (prefill) and 23.67 tokens/s (generation).
    • RTX 3090 (24 GB): 933 tokens/s and 37 tokens/s (preliminary results). exllamav3 1.6.6 scored 1,215 tokens/s (prefill) and 60 tokens/s (generation).
    • RTX 5090 (32 GB): 2,039 tokens/s and 81.8 tokens/s (preliminary results).

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster