Skip to content

0.1.3

Latest

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.