الرئيسية / المهارات / 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.

skillالترخيص: Apache-2.0 المصدر: sgl-project/sglang

التثبيت

انسخ هذا المجلد إلى مشروع 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. نعرضه دون تغيير، مع ذكر المصدر ورابط إليه. المصدر ↗

…