Leleka: Model Compression and Session Multiplexing for Long-Context Coding Agents on One GPU

Leleka serves long-context coding agents on one RTX 5090. It integrates Koference’s nested bit-plane encoding with a verified sparse archive view that preserves the serving path’s offsets. Level-2 KAR reduces the per-layer embedding representation from 28.8 GB to 16.0 GB relative to GGUF. Sparse materialization separately reclaims 36.6 GiB versus a full copy of the same KAR archive, with bitwise agreement on recorded output traces. The KAR–GGUF comparison changes 4.27% of teacher-forced argmaxes, against 1.50–1.87% across same-encoding runs. Leleka multiplexes sessions at request boundaries with reference-counted attention blocks and checkpoints of recurrent, embedding-history and speculative draft state. On 96 synthetic requests from four interleaved sessions, p95 time to first token falls from 27.6 s to 5.5 s relative to a single-active-history Leleka baseline. Returning sessions at about 180,000 tokens see 2.72–4.76 s versus 53.1–53.7 s. A live Codex run measured a 29 ms median state import on session switches and a 51 s maximum queue wait.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-25
DOI
https://doi.org/10.5281/zenodo.24519079
Primary Topic
Advanced Neural Network Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Leleka: Model Compression and Session Multiplexing for Long-Context Coding Agents on One GPU

Pavlo Ratushnyi
Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
preprint

Leleka: Model Compression and Session Multiplexing for Long-Context Coding Agents on One GPU

Pavlo Ratushnyi
preprint en

Abstract

Leleka serves long-context coding agents on one RTX 5090. It integrates Koference’s nested bit-plane encoding with a verified sparse archive view that preserves the serving path’s offsets. Level-2 KAR reduces the per-layer embedding representation from 28.8 GB to 16.0 GB relative to GGUF. Sparse materialization separately reclaims 36.6 GiB versus a full copy of the same KAR archive, with bitwise agreement on recorded output traces. The KAR–GGUF comparison changes 4.27% of teacher-forced argmaxes, against 1.50–1.87% across same-encoding runs. Leleka multiplexes sessions at request boundaries with reference-counted attention blocks and checkpoints of recurrent, embedding-history and speculative draft state. On 96 synthetic requests from four interleaved sessions, p95 time to first token falls from 27.6 s to 5.5 s relative to a single-active-history Leleka baseline. Returning sessions at about 180,000 tokens see 2.72–4.76 s versus 53.1–53.7 s. A live Codex run measured a 29 ms median state import on session switches and a 51 s maximum queue wait.

Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon