AGENT SKILL

results-ops

Install and operate DreamerV3 environments and backends, inspect result logdirs, and summarize score artifacts without reopening the source repository.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
results-ops
license
MIT
metadata
{ "disco-role": "operating" }
description
Install and operate DreamerV3 environments and backends, inspect result logdirs, and summarize score artifacts without reopening the source repository.
disable-model-invocation
true

02 资源文件 6

03 SKILL.md 正文

Results And Operations

Use this sub-skill when a task is about making DreamerV3 runnable, checking optional environment/backend readiness, inspecting logdir outputs, viewing metrics, or summarizing benchmark score files.

Do not use this sub-skill for:

  • choosing training commands, config blocks, tasks, or run scripts; route those decisions to train-configure.
  • explaining the embodied environment step/space contract; route those details to embodied-dataflow.
  • changing neural-network internals, JAX module structure, or model precision/device policies beyond operational install checks; route those details to jax-models.

Read Or Run

Fast Operating Recipes

Check base package and backend readiness

python -m pip check
python - <<'PY'
import dreamerv3, embodied
from embodied.envs import dummy
import jax, jax.numpy as jnp
print('jax', jax.__version__, 'backend', jax.default_backend())
print('devices', jax.devices())
print('sum', float(jnp.array([1.0, 2.0]).sum()))
env = dummy.Dummy({'image': (8, 8, 3)}, {'action': (2,)})
print('dummy obs keys', sorted(env.obs_space.keys()))
PY

If this fails on an optional environment module but the selected task does not use that suite, treat it as optional rather than blocking the whole installation. Use the optional import checker to make the missing suite explicit.

Inspect a logdir without Scope

python scripts/metrics_summary.py --input <logdir>/metrics.jsonl --list-keys
python scripts/metrics_summary.py --input <logdir>/scores.jsonl --key episode/score --last 10
python scripts/metrics_summary.py --input <logdir>/metrics.jsonl --key episode/length --last 10

If the key is absent, list keys first. DreamerV3 metric names commonly use slash-separated names such as episode/score, episode/length, fps/train, replay/inserts, and train/loss/....

View live summaries

python -m pip install -U scope
python -m scope.viewer --basedir <logdir-parent> --port 8000

Point Scope at a directory that contains one or more run logdirs. If Scope is unavailable, use the summary script above and the JSONL schema in references/results-and-plotting.md.

Contracts To Preserve

  • DreamerV3 requires Python 3.11+ for the documented setup.
  • The distribution name is dreamer; import roots are dreamerv3 and embodied.
  • The repo-declared base requirements pin jax[cuda12]==0.4.33; CPU-only use is possible by selecting the CPU JAX platform at runtime, while production defaults target CUDA.
  • Base install/import/JAX CPU smoke and optional CUDA smoke were verified during skill construction. Optional environment-suite packages are intentionally not all required for every task.
  • Runtime guidance in this sub-skill is self-contained. Do not require future agents to reopen the original repository to understand installation, result files, plotting concepts, or optional dependency failures.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351