Discover and explore top open-source AI tools and projects—updated daily.
zengxiao-heLLM distillation and high-performance serving engine
Top 58.5% on SourcePulse
From teacher to tiles — a from-scratch LLM distillation & serving engine: custom Triton/CUDA kernels, FSDP distillation, paged-KV continuous batching, speculative decoding, a Rust gateway, a JAX oracle, and interpretability tooling. This project addresses the challenge of distilling large language models into smaller, efficient student models and serving them effectively. It targets researchers and engineers needing a performant, end-to-end LLM stack, offering custom GPU kernels and optimized serving components for faster inference.
How It Works
Tessera employs a from-scratch approach to distill large teacher LLMs into smaller student models using FSDP/ZeRO-3 sharded training and knowledge distillation losses. The distilled student is then served via an inference engine featuring custom Triton and CUDA kernels for optimized operations like FlashAttention, fused RMSNorm, and int8 matmul. The engine further enhances performance with paged KV caching, continuous batching, and speculative decoding, all managed by a Rust gateway for efficient request handling.
Quick Start & Requirements
pip install -e ".[dev]" for CPU, pip install -e ".[dev,gpu]" for Triton/GPU).examples/serve.py, examples/train_distill.py, examples/interp_demo.py, benchmarks/, docs/architecture.md.Highlighted Details
Maintenance & Community
The project appears to be a personal effort by Zengxiao He. No specific community links (Discord, Slack) or explicit maintenance team details are provided in the README.
Licensing & Compatibility
Limitations & Caveats
The project is actively under development. Missing features include a fused attention backward kernel, a fused paged-attention decode kernel, FP8 tensor-core GEMM for Hopper GPUs, and JAX pjit/shard_map training support. Some benchmarks are based on the PyTorch reference path on Apple M2 Pro, serving as a performance floor.
1 month ago
Inactive
HazyResearch
facebookresearch
meta-pytorch