跳到正文
FunCoding

run-benchmark

Launch a geniesim_benchmark task locally (typically inside the GUI Docker container) against a user-provided inference server, using the `geniesim benchmark run` CLI verb. Trigger: When the user asks to "run geniesim", "本地跑仿真", "启动仿真任务", "run a benchmark", "launch <some>_<config>.yaml", or wants to execute a benchmark task config (anything under `geniesim_benchmark/config/*.yaml`) against a remote inference host (ip:port).

Star
1,857
最近提交
2026年11月24日

source/geniesim_benchmark/skills/run-benchmark/SKILL.md

在 GitHub 上查看

When to Use

  • User wants to run a geniesim_benchmark task on their workstation (not the Challenge platform).
  • User has an inference server already running somewhere reachable and provides its ip:port.
  • User references any task config under source/geniesim_benchmark/src/geniesim_benchmark/config/.

Do not use for:

  • Submitting jobs to the Challenge platform → challenge-submit-job.
  • Verifying an inference server is healthy → use the check-inference skill.
  • Adding a new benchmark task → add-benchmark-task.

Critical Patterns

  1. Resolve the task and requested validation level first. Collect inference IP/port for live policy execution. Preview, setup checks and supported hold checks do not require a real policy endpoint.
  2. Select the runtime from the task config. Ordinary Isaac tasks use bundled 5.1 omni_python; Newton/deformable tasks use system Python 3.12 / Isaac 6.2, and Rubik selects its prepared native MuJoCo interpreter. Follow the canonical quick start and smoke guide for build, source-path checks, backend-specific commands and result locations. Do not forward Isaac preview flags to every dexmanip entry. To skip building the default geniesim3 combo image, follow the Docker Hub pull and retag instructions in issue #201, then run geniesim docker up and geniesim docker into on the host.
  3. Working directory: anywhere under the repo root works — the CLI walks up to find scripts/ and uses find_spec to locate the benchmark package.
  4. Confirm before launching. The task spawns a full simulator and typically holds a GPU; ask before kicking it off if there's any ambiguity.

Workflow

Step 1 — Collect inputs

If the user hasn't named a config, list candidates:

geniesim benchmark categories      # show category counts
geniesim benchmark robots          # show robot counts
geniesim benchmark list --robot=<R> --category=<C>

Resolve any missing task or live-policy inputs from the user's request:

  • Task config: free-text (use the basename — e.g. g2op_if_pick_block_color).
  • Inference host as ip:port.

Before sinking minutes into Isaac Sim startup, sanity-check the server (uses the bundled corobot payload):

geniesim benchmark check-inference --infer-host=<IP>:<PORT>

See the check-inference skill to override the payload.

Step 3 — Run the task

Inside the GUI container (geniesim docker into):

geniesim benchmark run <CONFIG> --infer-host=<IP>:<PORT>

Example:

geniesim benchmark run g2op_if_pick_block_color --infer-host=<IP>:<PORT>

Step 4 — Pass-through overrides (when asked)

geniesim benchmark run forwards any unknown --key=value to the benchmark's ParameterServer. Common ones:

FlagMeaning
--app.headless=trueNo GUI (required on remote / batch hosts)
--benchmark.num_episode=NOverride episode count
--benchmark.seed=NRNG / instance-sampling seed
--benchmark.record=trueSave episode recordings beside the task's score file
--benchmark.resume=trueContinue committed serial Corobot episodes in the same task output directory
--benchmark.resume_id=JOB_IDOptional stable job/model identity, set from the first attempt
--benchmark.policy_class=…Use a different policy class

For resume, keep the same model, task inputs, seed and episode count. The inference host may change. Read resume usage for checkpoint retention, recorded videos and unsupported modes.

Full schema: source/geniesim_benchmark/src/geniesim_benchmark/config/params.py.

Commands (copy-paste summary for the user)

# Host — start the container (GUI by default; add --headless on remote/batch hosts)
cd /path/to/main
geniesim docker up

# Host — drop into a shell inside the running container
geniesim docker into
# inside container:
geniesim status                                       # verify the stack is healthy
geniesim benchmark check-inference --infer-host=<IP>:<PORT>
geniesim benchmark run <CONFIG> --infer-host=<IP>:<PORT>

Notes

  • If geniesim isn't on $PATH (the launcher wasn't installed), substitute python3 -m geniesim_cli benchmark … — same args, same behaviour.
  • <CONFIG> accepts the bare basename (g2op_if_pick_block_color), a full path, or a unique substring.
  • For batch evaluations, prefer geniesim benchmark batch --category=… --robot=… over a shell loop — it forwards extras consistently and prints a per-config pass/fail summary.
  • Batch extras must be supported by every selected backend. Use per-entry commands for mixed-runtime dexmanip; CLI exit success alone is not E2E task success.
  • The new CLI replaces the older ad-hoc omni_python app/app.py --config … invocation. The new form normalizes interpreter selection, host shorthand, and config resolution.

相似的 Skill

精选

internal-comms

写内部沟通文档,遵循公司格式,包括状态报告、领导更新和公司通讯。

ANanthropics/skills203k近 7 天新增 2,822 个 star

canary

GAgarrytan/gstack143k近 7 天新增 524 个 star

observability-and-instrumentation

ADaddyosmani/agent-skills122k近 7 天新增 1,421 个 star

精选

shipping-and-launch

上线前逐项检查,规划监控、分阶段发布和回滚方案。

ADaddyosmani/agent-skills122k近 7 天新增 1,421 个 star

paperclip-board

PApaperclipai/paperclip119k近 7 天新增 1,727 个 star

ruview-configure

RUruvnet/RuView106k近 7 天新增 596 个 star