An inference engine that fits Thinking Machines' Inkling 2 Mini model entirely into one RTX 3090's 24 GB, reaching around 128 tokens per second with long context, images and tool use.
CudaCreated
What is alesha-pro/maya-inkling-mini?
maya-ik2 is an inference engine for Inkling 2 Mini, the Thinking Machines model, aimed at a single consumer GPU. The README's headline test is an RTX 3090 limited to 300 watts, running a Unsloth 4-bit build with an FP8 key-value cache and a cold prompt each time. Short-prompt plain decoding reaches about 129 tokens per second over HTTP, and the README reports prefill speed as well.
The README explains the model's structure as the engine handles it. It has 24 layers, and a loop runs layers 6 to 17 three times for each token. The whole model, with all 3,072 experts, the dense weights and an FP8 cache, is said to fit in 24 GB of video memory, with a configuration for 8 GB cards that keeps the experts in host memory at about 41 tokens per second. The engine also uses the official DSpark drafter for speculative decoding.
It suits people with a single high-end consumer GPU who want to run a large model locally, and engineers interested in how a looped model is served efficiently.
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.
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.