Skip to content

Releases

0.1.3

Choose a tag to compare

@Pento95 Pento95 released this 23 Nov 16:15

Image: ghcr.io/pento95/hyperinkling:0.1.3 (the compose default). Updating is recommended for requests that share a system prompt.

Prefix cache (regression in 0.1.2 fixed)

  • Requests sharing only their first tokens (a system prompt, then different pages) found nothing in the prefix cache unless a prefill step happened to end where they diverge. They now resume there from the third request on: with a 2.2k shared prefix of a 3.3k prompt, 2,240 tokens hit, 266 ms to the first token instead of 591 ms. bench/prefix_hit.py checks it on a server.

8 requests at once by default (MAX_SEQS, was 6)

  • 525 tok/s aggregate with 8 streams against 398 when two of them had to queue (one run, short free text). Context 268k (274k at 6).

Repeatable prefill

  • Each expert's rows go to Marlin in a fixed order (HYPERINKLING_MOE_ORDER, on): the same prompt scored twice, one request at a time and without speculation, gives the same numbers bit for bit (KL of the original against itself: 0 at every position; it was 0.0003 median, 0.060 mean). 0.44% of a step at 6 requests. Generation with DSpark still varies between runs, as before.

Fixes

  • JSON output (response_format, structured_outputs, tool arguments) is compact, as disable_any_whitespace asks: vLLM ignored the flag for Inkling, whose parser wraps JSON in a structural tag (the server-wide part of vllm-project/vllm#68990, still open).
  • Stall sentinel: idle time no longer counts as a stall.
  • Warm-up uses the served name and the listening address, and reports failures.
  • Wizard: SHM_GB for a RAM tier above 36 GiB; .env.example on the current defaults.
  • Test and calibration scripts stop only the server they started, refuse a busy GPU, and stop on errors; the calibration capture checks that every token was written.

Docs: KL table, memory matrix and model card remeasured. The speed table is the 0.1.2 one.

0.1.2

Choose a tag to compare

@Pento95 Pento95 released this 22 Nov 23:15

Image: ghcr.io/pento95/hyperinkling:0.1.2 (the compose default). Re-run python3 scripts/wizard.py: its questions changed.

More context, faster prefill, by default

  • The longest request is fitted to the GPU at boot (MAX_LEN=auto): 274k with DSpark, 6 requests and the vision tower on the GPU (0.1.1: 268k with async scheduling off). A number still caps it.
  • The short-conv state cache holds only each step's tail instead of every token of the prefill chunk (+35-78k tokens), so async scheduling and a 2048-token prefill chunk now fit together: both are the new defaults (prefill +8%, decode +3-4%).
  • Images up to 1,024 tokens by default (an A4 page at ~126 ppi, two per prefill step); the wizard asks for the size, shown in megapixels.

Speed

  • Decode attention at long context: +3% at 32k, +10% at 128k for one request.
  • Attention / LM head INT8 tiles by output width and the loop controllers' GEMV up to 64 rows: -7% step time at 6 requests, -9% at 16.
  • Warm-up requests at boot cover the shapes vLLM's own warmup leaves out: no compile stalls on the first requests after an update.

Base

  • vLLM is now the head of vllm-project/vllm#69165 (Inkling 2 on SM80/86/89, on vLLM main, with its security fixes); our patch keeps only what it does not cover.

Tools

  • bench/context_bench.sh: prefill and decode at fixed 8k/32k contexts, 1 and 6 requests, with and without DSpark (the README table).
  • scripts/build-image.sh refuses to overwrite a published tag and checks the compiled ops on the GPU (scripts/verify-image.py).
  • README: a guide to quantize a checkpoint for HyperInkling (the pipeline behind the published one), and one speed table at fixed 8k/32k contexts.

HyperInkling 0.1.1

Choose a tag to compare

@Pento95 Pento95 released this 22 Nov 01:04

Image: ghcr.io/pento95/hyperinkling:0.1.1 (the compose default). Re-run python3 scripts/wizard.py to pick up the new options.

Faster speculative decoding by default

  • The verify length is chosen per step (candidates 2, 4, 7) instead of a fixed schedule, and drafts copied from the request's own context are fused with DSpark's (lossless: greedy output is unchanged). Against 0.1.0: +41-43% while the answer copies the prompt (a table from a 2-50k document), +20% with 6 requests at once, +12-25% on greedy prose for one request; the rest within noise. Costs ~5k tokens of context; 262k still fits with 6 requests and the vision tower on the GPU. Both can be turned off in the wizard.

Fixes

  • compose's prepare wrote the checkpoint into ./models as root; it now runs as your user (the wizard writes UID/GID to .env and creates ./models). If you ran 0.1.0: sudo chown -R $USER: models.
  • The image now has pyarrow (bench/quality_battery.py and bench/extract_bench.py run inside it) and no longer carries ~550 MB of local benchmark data.

New

  • A field-report issue template: share your numbers.
  • bench/copy_test.py copies a 120-line table from far in the context; bench/w4_gemv.py.

HyperInkling 0.1.0

Choose a tag to compare

@Pento95 Pento95 released this 21 Nov 23:06

First release: Inkling 2 Mini on one RTX 3090 / 3090 Ti with vLLM.

A personal project, written almost entirely with an AI coding assistant, published for other 3090 owners. One RTX 3090 or 3090 Ti only: no other GPU generation, no multi-GPU.

What you get

  • vLLM (PR #69028) ported to Ampere (sm86) with one patch, and an INT4 GPTQ checkpoint that fits 24 GB: Pentium95/Inkling-2-Mini-W4A16-g128-gptq
  • Text and images, tool calls, strict JSON, up to 268k tokens per request with 6 requests at once (KV cache FP8 E4M3)
  • The model's DSpark drafter for speculative decoding: ~214 tok/s decode for one request on long documents, ~310 on structured output
  • A setup wizard (scripts/wizard.py) and a ready image: ghcr.io/pento95/hyperinkling:0.1.0

Quick start

git clone https://github.com/Pento95/HyperInkling hyperinkling && cd hyperinkling
python3 scripts/wizard.py
docker compose up -d

Quality against the original checkpoint (same settings, 200 items each): GSM8K 0.970 vs 0.965, tool calls 0.610 vs 0.595, DocVQA as strict JSON 0.930 vs 0.926. Speed and context tables: README.

Measured on an RTX 3090 Ti undervolted to 350 W with gpu-unlock active.

Credits: HyperQwen, basalt, vLLM PR #69028, Thinking Machines Lab.