compute-mamba-ratio
Compute the optimal --mamba-full-memory-ratio (or --max-mamba-cache-size pin) for a hybrid attention + linear-attention (Mamba / GDN / KDA) model's two serving memory pools, from the workload and serving config. Use when a user asks what ratio to set, why concurrency is clamped, or how to size the state vs KV pools for a hybrid model.
Instalar
Copia esta carpeta en tu proyecto de Claude Code (requiere Node.js):
npx degit sgl-project/sglang/.agents/skills/compute-mamba-ratio .claude/skills/compute-mamba-ratioO instálalo para todos tus proyectos:
npx degit sgl-project/sglang/.agents/skills/compute-mamba-ratio ~/.claude/skills/compute-mamba-ratioContenido del archivo
Creado por sus autores originales y compartido bajo la licencia Apache-2.0. Lo mostramos sin cambios, con crédito y enlace a la fuente. Fuente ↗
…