integrations-hub-tracking
Plan and debug RL Baselines3 Zoo Hugging Face Hub, Weights & Biases, and video-recording workflows without hidden side effects.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- integrations-hub-tracking
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Plan and debug RL Baselines3 Zoo Hugging Face Hub, Weights & Biases, and video-recording workflows without hidden side effects.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/hub-and-tracking.md8.2 KB
- 参考文档references/troubleshooting.md3.8 KB
- 参考文档references/video-recording.md4.2 KB
- 脚本scripts/hub_model_layout_checker.py17.5 KB
03 SKILL.md 正文
integrations-hub-tracking
Use this sub-skill when the task involves RL Baselines3 Zoo integrations around Hugging Face Hub model download/upload/model cards, Weights & Biases tracking flags, or video recording of trained agents/training checkpoints.
Start here
- Decide whether the requested action is only planning/debugging or an approved live side effect:
- Hub download/upload and W&B tracking use external services and may require credentials.
- The bundled helper performs no network calls, reads no credentials, loads no model weights, and does not train.
- For Hub and W&B command semantics, read references/hub-and-tracking.md.
- For
record_videoandrecord_training, read references/video-recording.md. - For common failures, read references/troubleshooting.md.
- Before planning a Hub transfer, run scripts/hub_model_layout_checker.py to inspect local layout and destination collisions without contacting the Hub.
Operating checklist
- Prefer installed-package commands such as
python -m rl_zoo3.load_from_hub,python -m rl_zoo3.push_to_hub,python -m rl_zoo3.record_video,python -m rl_zoo3.record_training, andpython -m rl_zoo3.train. - Use the
rl_zoo3 ...console form only when the runtime environment imports the console router successfully; if optional plotting imports break the console, switch to module commands or use../../references/install-and-environment.md. - Treat
--organization/-orga,--repo-name/-name,--force, and model selectors as explicit user-facing decisions; do not invent destinations for destructive overwrites. - For upload planning, inspect the local log folder for the selected model zip plus saved config/argument files.
- For download planning, compute the intended local destination and check whether it already exists before suggesting
--force. - For W&B, include
--trackonly when the caller accepts service logging and has arrangedwandbinstallation/authentication. - For video, check display/rendering and
ffmpeg/video dependency boundaries before usingrecord_trainingor GIF conversion.
Boundaries and routes
- Local no-render evaluation/enjoy, model selection, and artifact inspection: route to
../evaluation-and-artifacts/SKILL.md. - Producing trained models or checkpoints before upload/video: route to
../training-cli/SKILL.md. - Plot files, benchmark tables, and curve interpretation: route to
../plotting-benchmarking/SKILL.md. - Config grammar, wrappers, callbacks, or custom env import strings: route to
../config-hyperparams/SKILL.mdand../custom-components/SKILL.mdas needed. - Do not use batch migration helpers for normal operation; repeated Hub uploads require explicit external-service approval and credentials.
Minimal no-side-effect preflight
python scripts/hub_model_layout_checker.py \
--mode push --folder logs --algo ppo --env CartPole-v1 --exp-id 0 \
--organization sb3 --repo-name ppo-CartPole-v1
If this reports missing local model/config artifacts, create or locate those artifacts through ../training-cli/SKILL.md or inspect them through ../evaluation-and-artifacts/SKILL.md; do not compensate by launching a live Hub command blindly.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).