Skip to content

0.1.2

Choose a tag to compare

@Pento95 Pento95 released this 22 Nov 23:15
· 9 commits to main since this release

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.