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.
التثبيت
انسخ هذا المجلد إلى مشروع Claude Code (يتطلب Node.js):
npx degit sgl-project/sglang/.agents/skills/compute-mamba-ratio .claude/skills/compute-mamba-ratioأو ثبّته لكل المشاريع:
npx degit sgl-project/sglang/.agents/skills/compute-mamba-ratio ~/.claude/skills/compute-mamba-ratioمحتوى الملف
من إنشاء مؤلفيه الأصليين ومنشور بترخيص Apache-2.0. نعرضه دون تغيير، مع ذكر المصدر ورابط إليه. المصدر ↗
…