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.
Installieren
Kopiere diesen Ordner in dein Claude-Code-Projekt (Node.js nötig):
npx degit sgl-project/sglang/.agents/skills/compute-mamba-ratio .claude/skills/compute-mamba-ratioOder für alle Projekte installieren:
npx degit sgl-project/sglang/.agents/skills/compute-mamba-ratio ~/.claude/skills/compute-mamba-ratioDateiinhalt
Erstellt von den ursprünglichen Autoren und geteilt unter der Lizenz Apache-2.0. Wir zeigen es unverändert, mit Nennung und Link zur Quelle. Quelle ↗
…