Inkling 2 Mini int8 + DSpark β€” Radiance

A Radiance-native .rad container for Inkling 2 Mini (inkling2_loop) with its DSpark block drafter. It is not a Transformers checkpoint, a GGUF or a safetensors model.

It serves text and images. For text only, vision-tower-placement: ram keeps the 0.6 GiB vision tower in host memory instead of VRAM.

File Size Contents
inkling2-mini-i8-vl-dspark.rad 19.14 GB (17.83 GiB) int8 trunk, NVFP4 experts as stored, DSpark drafter, bf16 vision tower: text and images

Weights

From data/recipes/inkling2-mini-i8.recipe, with the drafter added at convert time (rad-convert ... --draft-model) and the vision tower (rad-convert --add-vision):

  • The 20 NVFP4 expert layers (0–19) are kept exactly as the release stores them: e2m1 codes, an e4m3 scale per 16 of K, the per-expert level. They are read as nvfp4a8i8 against int8 activations.
  • The 4 MXFP8 expert layers (20–23) and the attention linears (q, k, v, r, the output gate and o) are rotated int8 (i8a8h): one bf16 scale per (row, 128 of K), each 128 of K rotated by the unnormalised Hadamard.
  • The lm_head is plain int8 with a bf16 scale per (row, 128). The embedding, the router, the loop controllers, the convolutions, the norms and the AttnRes queries keep their stored precision.
  • The DSpark drafter (mtp.safetensors) is a 3-layer block drafter that proposes 7 tokens, with a recurrent Markov head; its fuse_alpha and folded head are derived at convert time.
  • The vision tower stays bf16: 23 ViT blocks of 1024, the position table resampled bilinearly to each picture's grid, a 2 x 2 merge to the 2304-wide stream. Pictures are not resized; they are padded to whole 40-pixel cells.

Quality

Teacher-forced on the long-context KLD corpus (6,028 positions) against the bf16 container, bf16 KV cache:

Mean KL Top-1 agreement PPL Reference PPL
TP1 0.00328 96.8% 6.361 6.376
TP2 (tp-wire: exact) 0.00328 97.2% 6.363 6.376

Images (TP1, served through a router): a red 64 x 64 picture is answered "Red", and a 300 x 170 picture split red | blue is answered "Left: red; right: blue." These are smoke tests, not an image benchmark. The tower's output was checked against a float32 reference in development: relative L2 3.9e-2 on a 630 x 410 picture.

Speed

Radeon AI PRO R9700s, i8 KV cache, 4,096 generated tokens from a 32K-token prompt, drafter 7 deep on an adaptive window:

Decode, code Decode, prose Draft tokens accepted
TP1 217 tok/s 156 tok/s 84% / 64%
TP2 (tp-wire: exact) 224 tok/s 185 tok/s 59% / 49%

Without the drafter (num-speculative-tokens: 0), decode is 87 tok/s at TP1 and 112 tok/s at TP2; 32K-token prefill is about 4,980 tok/s at TP1 and 6,490 tok/s at TP2. Acceptance depends on the text, so drafted speed varies more than these single runs show.

Serving

Needs the arch/inkling2 plugin and the libr4d kernels: #584, #585 and, for the speeds below, #586 until they merge.

server:
  kernels: libr4d
models:
  inkling2-mini:
    model: inkling2-mini-i8-vl-dspark.rad
    tp: 1                      # or 2
    kv-cache-dtype: i8
    max-model-len: 131072
    num-speculative-tokens: 7  # 0 turns drafting off
    draft-window: adaptive

License

The base model is released under Apache-2.0. This container is a quantized derivative and grants no rights beyond the upstream terms.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for gostar77/inkling2-mini-i8-dspark-radiance

Finetuned
(98)
this model