﻿# Inkling 2 Mini capacity planning: 24 stored layers and 48 layer visits

Transformers adds support for a multimodal model with shared loop weights. Plan memory and generation time using different measurements.

Author: Retrivium editorial team
Updated: 2026-11-22
Canonical URL: https://retrivium.ai/journal/daily-20261122-model-inkling-mini-looped-weight-execution/
Language: en

Transformers v5.24.0, published November 21, 2026, added support for Inkling 2 Mini. According to the model card, the decoder stores weights for 24 layers. The middle 12 execute three times with shared weights, producing 48 layer visits per token. Inference must therefore account for both the checkpoint's stored parameters and the repeated execution. The model accepts text and image inputs and returns text.

## Start with the deployed checkpoint

Record the exact artifact and numeric format your runtime loads. Measure dedicated or unified memory after initialization before sending a request. Note any CPU offload and the memory attributed to the vision encoder. The count of layers in a description does not tell you how the loader packs weights or whether parts are expanded when converted to a backend format. A file size is a useful inventory value but it excludes runtime buffers.

## Vary input and output separately

Begin with text-only requests and then add image inputs with sizes representative of the application. Measure prefill time and the memory peak. Keep the generation budget fixed while varying input, then hold the input fixed and vary the output. This separates initialization, multimodal encoding, context handling and decoding. Repeated layer visits can affect token time even when the same model weights remain resident.

## Increase concurrency within the safe budget

Use a dedicated test machine with bounded request rates. Measure peak memory, first-token latency, throughput and failed admissions as concurrency increases. Test the largest context the service actually promises, along with the ordinary mix. Measure the cache behavior for the exact implementation. Layer reuse by itself does not establish cache allocation, representation or lifetime.

## Report the observed operating point

Publish the checkpoint revision, runtime version, numeric format, hardware, workload and acceptance criteria with the measurements. A model can fit into memory at startup and still miss the application's latency target. Set the operating limit at the request mix and concurrency that pass both the memory and response-time checks.

## Sources

- [Transformers release notes](https://github.com/huggingface/transformers/releases/tag/v5.24.0)
- [Thinking Machines Lab model card](https://huggingface.co/thinkingmachines/Inkling-2-Mini)

## Related reading

- [Measuring prefill and decode](/journal/daily-20261121-compute-llamacpp-gemma-multisequence-prefill/)
- [Controlling quantization in benchmarks](/journal/daily-20261120-compute-llamacpp-wasm-relaxed-simd-quantization/)
