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
Installer
Copiez ce dossier dans votre projet Claude Code (Node.js requis) :
npx degit sgl-project/sglang/.agents/skills/kl-consistency-test .claude/skills/kl-consistency-testOu installez-le pour tous vos projets :
npx degit sgl-project/sglang/.agents/skills/kl-consistency-test ~/.claude/skills/kl-consistency-testContenu 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 ↗
…