الرئيسية / المهارات / sgl-project/sglang

kl-consistency-test

Write, calibrate, and debug the prefill-vs-decode logprob (KL) consistency tests in sglang -- the two independent conditions a zero requires (every operator batch-invariant, and the two paths computing the same function), which helper separates them, how to pick a threshold once they hold, and how to localize a divergence to a single operator. Use when adding a KL test to a model, picking or defen

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

التثبيت

انسخ هذا المجلد إلى مشروع Claude Code (يتطلب Node.js):

npx degit sgl-project/sglang/.agents/skills/kl-consistency-test .claude/skills/kl-consistency-test

أو ثبّته لكل المشاريع:

npx degit sgl-project/sglang/.agents/skills/kl-consistency-test ~/.claude/skills/kl-consistency-test

محتوى الملف

من إنشاء مؤلفيه الأصليين ومنشور بترخيص Apache-2.0. نعرضه دون تغيير، مع ذكر المصدر ورابط إليه. المصدر ↗

…