Accueil / 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.

skillLicence: Apache-2.0 Source: sgl-project/sglang

Installer

Copiez ce dossier dans votre projet Claude Code (Node.js requis) :

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

Ou installez-le pour tous vos projets :

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

Contenu du fichier

Créé par ses auteurs d'origine et partagé sous licence Apache-2.0. Nous l'affichons sans modification, avec crédit et lien vers la source. Source ↗

…