setup-and-configuration
Install Habitat-Lab, compose Habitat/Habitat-Baselines Hydra configs, validate data paths, and diagnose setup failures.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- setup-and-configuration
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Install Habitat-Lab, compose Habitat/Habitat-Baselines Hydra configs, validate data paths, and diagnose setup failures.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/configuration.md8.0 KB
- 参考文档references/install-and-data.md8.1 KB
- 参考文档references/troubleshooting.md8.4 KB
- 脚本scripts/config_probe.py8.9 KB
03 SKILL.md 正文
Setup And Configuration
Use this sub-skill when a user needs Habitat-Lab installed or imported, needs to choose a compatible Python/Habitat-Sim path, needs to compose or override Habitat or Habitat-Baselines configs, or needs to diagnose config/data/import failures before running environments or training.
Fast Routing
- For installation, Python/Habitat-Sim compatibility, package order, and data directory layout, read references/install-and-data.md.
- For
habitat.get_config,habitat_baselines.config.default.get_config, Hydra config groups, override syntax,read_write, and config validation patterns, read references/configuration.md. - For concrete failure symptoms such as missing
magnum, missinghabitat_sim, Hydra errors, invalid override keys, missing datasets/assets, Gym warnings, and graphics/EGL warnings, read references/troubleshooting.md. - To test imports and config composition without starting simulation or training, run scripts/config_probe.py.
Workflow
- Confirm the environment goal: lightweight config inspection, environment stepping, baselines training, or HITL use. Prefer a Python 3.9 conda environment when Habitat-Sim wheels/conda packages are needed.
- Install Habitat-Sim with compatible physics support before relying on
habitatimports that transitively needhabitat_sim/magnum; then installhabitat-lab, and installhabitat-baselinesonly when training/evaluation configs are needed. - Use
scripts/config_probe.pyto verify package imports and compose a known config with any requested overrides before launching expensive simulation or training. - Resolve data and asset paths from composed config keys such as
habitat.dataset.data_path,habitat.dataset.scenes_dir,habitat.simulator.scene, and robot/physics asset paths. - Route runtime behavior questions to sibling sub-skills: environment stepping and task/dataset use to tasks-datasets-and-envs, baselines training/evaluation to baselines-training-and-evaluation, HITL launch or interaction to hitl-apps-and-interaction, and custom registry/config authoring to extension-patterns.
Safe Probe Examples
python path/to/skills/habitat-lab/sub-skills/setup-and-configuration/scripts/config_probe.py \
--kind habitat \
--config benchmark/nav/pointnav/pointnav_habitat_test.yaml \
--override habitat.environment.max_episode_steps=5
python path/to/skills/habitat-lab/sub-skills/setup-and-configuration/scripts/config_probe.py \
--kind baselines \
--config pointnav/ppo_pointnav_example.yaml \
--override habitat_baselines.total_num_steps=10 \
--key habitat_baselines.trainer_name \
--key habitat.environment.max_episode_steps
Boundaries
- This sub-skill covers installation/imports, config composition, config mutation, data/asset path validation, and setup/config troubleshooting.
- It does not explain stepping
Env, Gym wrappers, episode semantics, task behavior, or dataset generation; use tasks-datasets-and-envs. - It does not run training/evaluation loops, tune PPO/DDPPO, or interpret checkpoints; use baselines-training-and-evaluation.
- It does not launch HITL applications; use hitl-apps-and-interaction.
- It does not define new registries, sensors, measures, actions, or structured config classes; use extension-patterns.
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).