Start / Skills / 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

skillLizenz: Apache-2.0 Quelle: sgl-project/sglang

Installieren

Kopiere diesen Ordner in dein Claude-Code-Projekt (Node.js nötig):

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

Oder für alle Projekte installieren:

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

Dateiinhalt

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 ↗

…