Glyd

Lossless compression that keeps bf16 weights and KV cache smaller on the GPU

Image 1 of 2: nvidia-smi output: Qwen3-32B across two 48 GB GPUs in bf16, and on one 48 GB GPU with Glyd

Keeps a bf16 model's weights and KV cache in fewer bits in GPU memory and rebuilds the exact values as the model runs, as a vLLM quantization method, a Python package and a CLI. Underneath is a lossless Rust codec with a C ABI built on homogeneous streams and interleaved entropy coding.

  • −28.2%Weights, Qwen3.5-9B 4090
  • 189,440Context on 24 GB 4090
  • −22.8%Weights, 27B on H100

Trade-offs

  • Lossless means every weight and KV entry reads back as the exact bf16 value, though outputs can differ in the last bits because kernels sum in another order. exact=True matches bf16's logits.
  • Blocks split into token, offset, length and literal streams instead of one byte stream, so the decoder pre-decodes 32 tokens per SIMD pass and runs a copy-only loop.
  • Business Source License 1.1 from v0.29: free for personal, non-commercial and evaluation use, while commercial use needs a license.

Q&A4

KV cache. Qwen3.5-9B in bf16 runs out of memory at start on a 24 GB RTX 4090 even at 4,096 tokens, and with Glyd it holds 189,440 tokens of context.

Reviews

Loading reviews

    More in GPU

    See all 23 →
    • jobdGPU-aware job broker for a few personal machines, with an MCP server
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs
    • gnss_gpuGPU GNSS positioning for urban canyons with particle filters and ray-traced NLOS
    • impLLM inference server built only for NVIDIA Blackwell GPUs
    • AlzeoOne-command installer that turns a DGX Spark or GB10 box into an AI server
    • GeothermalWells.jlGPU-accelerated 3D simulation of deep borehole heat exchangers and well arrays

    More in Local inference

    See all 43 →
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AnubisNative macOS app for benchmarking local LLMs on Apple Silicon
    • CarWatchA car as a chat agent: Raspberry Pi 5 running a local 35B model in the car
    • NightRunLocal LLM runtime that boots from USB with no conventional operating system
    • CorridorKey-RuntimeNative AI keying runtime and OFX plugin for Resolve and Nuke

    More in Performance

    See all 47 →
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • EntrolyLocal context layer that picks what coding agents send to the model
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • XDPerfXDP traffic generator with WASM packet plugins