A single-binary inference engine and OpenAI-compatible server written in Zig and CUDA, tuned to run the Inkling 2 Mini model as fast as possible on one NVIDIA RTX 5090 with no Python involved.
CudaCreated
What is tensorfish/squid5090?
squid5090 is a single-binary inference engine for the Inkling-2-Mini model from Thinking Machines, written in Zig with CUDA kernels for NVIDIA Blackwell GPUs. It has no Python at runtime, and it serves an OpenAI-compatible HTTP and streaming API. The README targets a single RTX 5090.
The README reports benchmarks measured on one RTX 5090 for each precision mode. These cover KL divergence against the unmodified checkpoint, perplexity, top-one match and decode throughput, with long-context results. It also includes deeper guides on GPU roofline optimisation, speculative decoding and the kernels. The README opens with attribution for several core kernel designs and features, so readers should look at that section alongside the project's own claims.
It suits engineers running large language models locally on consumer NVIDIA hardware, and people studying CUDA kernel design.
A step-by-step guide to enabling GPU-to-GPU peer-to-peer data transfer over PCIe on consumer NVIDIA GeForce cards under Ubuntu, tested on pairs of RTX 3090 and 3080 cards, useful for multi-GPU model work.
TensorFold's native quantization format for running language models on Apple Silicon and NVIDIA GPUs, supporting 3, 4 and 5 bit weights, including mixed precision per tensor, to fit larger models into less memory.