AI development/GitHub/Tool

TokenBatch-Lab

by Thorlan04·Last observed 2026-10-26
★ 0 stars⑂ 0 forks

TokenBatch-Lab provides a continuous batching and paged KV-cache GPU scheduling policy for LLM inference. The policy accounts for shared prefixes, service time, approaching SLA deadlines, and KV-cache pressure when scheduling requests.

Useful for

  • It can be plugged into the scheduling policy loop of vLLM, TGI, or custom FastAPI inference orchestrators.

Key features

  • The policy scores requests using prompt and estimated decode lengths, wait time, SLA target, free KV blocks, active batch tokens, and prefix sharing ratio.

Project information

CategoryAI development
TypeTool
Author / organizationThorlan04
LicenseNOASSERTION
Last observed2026-10-26

Discussion

No comments yet.

Sign in with Google to comment. Browsing is open to everyone.

Community vote