计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
optax【效率与协作】Route Optax tasks across optimizer construction, loss and schedule workflows, and advanced utilities or contrib topics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when the user asks about Optax, the JAX-based gradient processing and optimization library. This root skill is a router: use it to decide whether the request is about optimizer composition, losses and schedules, or advanced utilities and contrib-style algorithms.
jax and optax before assuming any runtime behavior.scripts/optax_skill_doctor.py --smoke in an isolated environment.references/repo-provenance.md to check whether this skill matches the current checkout snapshot.references/troubleshooting.md for missing-JAX, shape, backend, and API-misuse triage before diving into a sub-skill.| User asks for | Open |
|---|---|
Choose, build, chain, wrap, or debug optimizers and gradient transformations; apply updates; inject schedules into hyperparameters; use adam, adamw, sgd, chain, named_chain, partition, lookahead, or MultiSteps | sub-skills/core-optimization/SKILL.md |
| Select or combine losses, schedules, microbatching helpers, or perturbation wrappers; compare classification/regression/ranking/self-supervised losses; tune warmup/cosine/piecewise schedules | sub-skills/losses-and-schedules/SKILL.md |
Work with projections, assignment, tree utilities, linear algebra, second-order helpers, or contrib/experimental algorithms such as sam, schedule_free, dpsgd, muon, galore, or reduce_on_plateau | sub-skills/advanced-topics/SKILL.md |
references/core-workflows.md for optimizer composition patterns, update flow, and schedule injection.references/losses-and-schedules.md for loss families, schedule families, microbatching, and perturbation helpers.references/advanced-topics.md for projections, assignment, tree math, linear algebra, second order, contrib, and experimental features.references/examples-index.md for notebook and example routes that demonstrate the main workflows.references/troubleshooting.md whenever the request involves installation, missing JAX, backend confusion, shape mismatches, or unstable contrib features.scripts/optax_skill_doctor.py when you need a quick import, backend, or tiny smoke check.core-optimization and use references/core-workflows.md to compare the common families before narrowing further.losses-and-schedules; when they ask for anything projection-like, tree-like, assignment-like, or contrib-like, start with advanced-topics.If you need a one-line import check rather than the full doctor script, use:
python -c "import optax; print(optax.__version__)"
That only proves the package imports in the current environment. Use the doctor script when you also need selected API signatures, JAX backend facts, or a tiny end-to-end optimizer smoke test.