Inicio / Skills / sgl-project/sglang

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.

skillLicencia: Apache-2.0 Fuente: sgl-project/sglang

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-ratio

O instálalo para todos tus proyectos:

npx degit sgl-project/sglang/.agents/skills/compute-mamba-ratio ~/.claude/skills/compute-mamba-ratio

Contenido 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 ↗

…