界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

tuning-optimization

tuning-optimization

【效率与协作】Build and validate Optuna hyperparameter optimization commands, study reuse, and report artifacts for RL Zoo.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: tuning-optimization description: "Build and validate Optuna hyperparameter optimization commands, study reuse, and report artifacts for RL Zoo." disable-model-invocation: true metadata: disco-role: operating license: MIT

tuning-optimization

Use this sub-skill when a task is specifically about RL Zoo Optuna hyperparameter optimization (HPO): starting -optimize / --optimize-hyperparameters, choosing sampler/pruner/budget flags, coordinating shared studies, loading a stored trial, or interpreting HPO report artifacts.

Route first

Runtime entry points

Prefer installed-package commands:

  • python -m rl_zoo3.train ... --optimize-hyperparameters is the safest base command for HPO because it targets the train module directly.
  • rl_zoo3 train ... --optimize-hyperparameters is equivalent when the console entry point and optional plot-import path are available.

Use the bundled non-executing helper to build and validate command strings:

python scripts/tuning_command_builder.py --help

The helper does not start training or optimization. It validates high-risk HPO combinations such as --pruner halving with too few jobs, --sampler auto without optunahub, unsupported HPO algorithms, and --trial-id without a reusable study.

References

Operating boundaries

  • HPO is distinct from ordinary training: always make the training timestep budget and Optuna trial budget explicit before proposing a real run.
  • Treat search spaces as algorithm-specific; if an algorithm is not in the HPO sampler/converter map, do not claim it is tunable through RL Zoo HPO without extending that map.
  • Do not copy or rely on deprecated source helper scripts for new workflows. Use storage plus --study-name / --trial-id for trial reuse.
我的收藏