carla-evaluation
Plans and diagnoses TransFuser CARLA 0.9.10.1 evaluation, Longest6 runs, result parsing, checkpoint inspection, and guarded Docker submission packaging without launching external runtimes.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- carla-evaluation
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Plans and diagnoses TransFuser CARLA 0.9.10.1 evaluation, Longest6 runs, result parsing, checkpoint inspection, and guarded Docker submission packaging without launching external runtimes.
- disable-model-invocation
- true
02 资源文件 9
- 参考文档references/docker-and-submission.md4.8 KB
- 参考文档references/evaluation-workflow.md6.2 KB
- 参考文档references/longest6-and-results.md5.9 KB
- 参考文档references/result-schema.md4.7 KB
- 参考文档references/troubleshooting.md7.5 KB
- 脚本scripts/build_evaluation_command.py11.1 KB
- 脚本scripts/check_submission_layout.py5.9 KB
- 脚本scripts/inspect_result_json.py7.9 KB
- 脚本scripts/parse_results.py21.0 KB
03 SKILL.md 正文
CARLA Evaluation
Use this sub-skill for TransFuser evaluation command construction, Longest6 route selection, result interpretation, CPU-only result analysis, and Docker submission layout checks.
Runtime Boundary
- CARLA 0.9.10.1, a running CARLA server, the matching leaderboard and ScenarioRunner trees, model checkpoints, and GPU-capable inference are external requirements for a real driving evaluation.
- Docker builds, container execution, downloads, Alpha authentication, and cloud submission are external, side-effecting operations. This skill never performs them.
- CPU-only command construction, path preflight, JSON inspection, schema validation, CSV aggregation, and optional SVG map generation are available through the bundled helpers.
- A generated command is a plan, not proof that CARLA or the agent can run.
Route By Task
- For environment variables, evaluator choice, resume behavior, and a
copyable command plan, read
evaluation-workflow.md, then run
python scripts/build_evaluation_command.py --help. - For the 36-route Longest6 benchmark, split-route selection, result
aggregation, CSV output, map overlays, and parser abort policy, read
longest6-and-results.md, then run
python scripts/parse_results.py --help. - For checkpoint structure, route/global scores, infractions, progress,
eligibility, and status semantics, read
result-schema.md, then run
python scripts/inspect_result_json.py --help. - For image staging and submission readiness, read
docker-and-submission.md, then run
python scripts/check_submission_layout.py --help. The helper checks only local files; it does not invoke Docker or Alpha. - For failures involving imports, server connectivity, stale checkpoints, parser rejection, Docker context, or credentials, read troubleshooting.md.
Safe Operating Sequence
- Decide whether the target is the TransFuser-modified local evaluator or the upstream evaluator. Longest6 comparisons normally require the local path.
- Select the combined 36-route XML or one split-route XML, then choose a fresh checkpoint or a checkpoint that is intentionally being resumed.
- Run the command builder with preflight enabled. Resolve every reported error before taking its printed command to the external CARLA runtime.
- After the external run, inspect the result JSON before aggregating it.
- Parse only schema-valid, route-complete result sets. Treat parser nonzero exit status as an abort, not as a partial success.
- Run the Docker layout checker before any external image build. Keep credentials and unrelated secrets outside the build context.
Invariants
- Do not claim a successful evaluation from a generated command or a valid checkpoint schema.
- Do not mix local-evaluator and upstream-evaluator scores without labeling the evaluator semantics.
- Do not set
--resume=Falseon the legacy evaluator: itsargparseboolean conversion treats any nonempty string as true. The bundled builder omits the flag for a fresh run. - Do not infer benchmark success from
eligible: true; inspect route statuses, progress, andentry_statustogether. - Do not expose Alpha credentials, tokens, or private registry configuration in commands, reports, Dockerfiles, or staged trees.
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).