Inkling-2-Mini AWQ INT4 for long-session agents on a 24 GB RTX 4090

#2
by Twu31 - opened

This recipe serves our published Inkling-2-Mini AWQ INT4 checkpoint on one RTX 4090 through the OpenAI-compatible chat API of a pinned, patched vLLM build. It targets multi-turn tool sessions that resend long histories. Agent setup · Download the recipe

Across eight simulated Python repair sessions with four concurrent clients, switching from BF16 to FP8 KV brought session p50 from 74.3 s to 23.7 s. Both replays used the same checkpoint and 5 GiB KV budget with prefix caching enabled. The FP8 run peaked at 22.22 GiB of device memory.

KV cache Completed within 90 s Session p50 Slowest session Later-turn prompt tokens served from cache Peak VRAM
BF16 8/8 74.3 s 84.6 s 4.2% 22.21 GiB
FP8 8/8 23.7 s 42.7 s 95.3% 22.22 GiB

Each row is one replay using four fixtures in English and Chinese, 30,720 history tokens per session, a 32,768-token context limit and the bundled DSpark K7 drafter. Session p50 uses the nearest-rank method. Most of the gain came in later turns, where cached prompt tokens rose from 4.2% to 95.3%. First valid tool call p95 was 23.7 s with BF16 and 23.2 s with FP8. Community AWQ reached 24.6 s session p50 and a 43.0 s slowest session under the same FP8 settings. Pinned community checkpoint

The archive includes setup, launch, verification and replay scripts. After extracting it to a fresh directory on the RTX 4090, the recipe passed all five functional checks and all eight repair sessions.

Sign up or log in to comment