Performance Optimizations for Inkling-2 Mini

Developments in the optimization and fine-tuning of the Inkling-2 Mini model have emerged over the last 48 hours, specifically regarding inference speed and specialized task performance.

According to reports shared on Reddit, the Betelgeuse engine has released version 0.8.0, which introduces a “learned oracle” to improve inference efficiency. This update utilizes a separate, small neural network—trained on approximately 250,000 decode tokens—to predict which experts the model will require before they are called.

The oracle, which occupies 8.94 MiB of memory, runs on the CPU using INT8 AVX-VNNI. This allows the system to begin transferring expert weights into VRAM while the GPU executes recurrent layers. In testing conducted on an Intel i5-12400 and an NVIDIA RTX 3060 12GB, the implementation of the oracle increased decode speeds from 45.27 tokens per second (tok/s) in version 0.7.0 to 50.31 tok/s in version 0.8.0. Prefill speeds also saw a marginal increase from 1,232.8 tok/s to 1,242.6 tok/s.

The developer noted that the oracle does not control the routing—which remains handled by the original model—meaning incorrect predictions only impact caching and performance rather than output accuracy. The developer intends to release the trained oracle weights, training code, and trajectory collection tools on Hugging Face.

Specialized Fine-Tuning for 3D Scene Generation

In a separate development, a new fine-tuned version of the model, titled “Inkling-2-Mini-3D-Coder,” has been introduced. This version utilizes a LoRA (Low-Rank Adaptation) fine-tuning method applied to a dataset of 7,100 ThreeJS-3D-Scenes examples.

Unverified performance metrics provided by the creator suggest that the fine-tuned model significantly reduces “reasoning bloat” when generating 3D scenes. In tests involving 19 scenes at a 64K context window, the model achieved an average of 34.7% fewer tokens compared to the base model. In specific instances, such as a “family home cutaway” scene, the model reportedly required up to 86.8% fewer tokens to achieve the same geometric results.

The creator noted that the LoRA approach was effective because the base Inkling-2 Mini model already demonstrated a foundational ability to write Three.js code, requiring the fine-tuning to refine rather than teach the geometry from scratch. The merged Safetensors and LoRA adapter is scheduled for release on November 29.