apps-auto3dseg
Use high-level MONAI application workflows, especially Auto3DSeg orchestration, DataAnalyzer statistics, BundleGen, EnsembleRunner, HPO generators, nnU-Net bridging, and built-in app dataset helpers.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- apps-auto3dseg
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use high-level MONAI application workflows, especially Auto3DSeg orchestration, DataAnalyzer statistics, BundleGen, EnsembleRunner, HPO generators, nnU-Net bridging, and built-in app dataset helpers.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/api-reference.md8.5 KB
- 参考文档references/troubleshooting.md9.2 KB
- 参考文档references/workflows.md8.9 KB
- 脚本scripts/auto3dseg_smoke.py5.5 KB
03 SKILL.md 正文
MONAI Apps and Auto3DSeg
Use this sub-skill when a task asks for high-level MONAI application helpers instead of hand-written model, transform, training-loop, or bundle mechanics.
Route Here For
- Planning an Auto3DSeg run with
monai.apps.auto3dseg.AutoRunner, including safe configuration review before analysis, algorithm generation, training, HPO, or ensemble inference. - Running or troubleshooting
DataAnalyzer,BundleGen,EnsembleRunner,NNIGen,OptunaGen,nnUNetV2Runner, or thepython -m monai.apps.auto3dseg/python -m monai.apps.nnunetCLIs. - Choosing built-in app dataset helpers such as
MedNISTDataset,DecathlonDataset,TciaDataset, andCrossValidationwhile documenting download/cache behavior. - Handing Auto3DSeg-generated bundles to the Bundle route, or deciding whether a request belongs to raw data/transforms, primitive modeling/inference, or custom training loops.
Do Not Use For
- General MONAI Bundle config syntax or
python -m monai.bundleexecution; use../bundle-config/SKILL.mdfor generated bundle internals and CLI overrides. - Raw datalist loading, transforms, metadata, image readers, and caching primitives; use
../data-transforms/SKILL.md. - Network/loss/metric/inferer selection and prediction primitives; use
../modeling-inference/SKILL.md. - Custom Ignite or PyTorch training/evaluation loops; use
../training-evaluation/SKILL.md.
References and Scripts
- Read
references/workflows.mdwhen designing an Auto3DSeg, DataAnalyzer, BundleGen, ensemble, HPO, nnU-Net, or app-dataset workflow and deciding what is safe to inspect versus expensive to execute. - Read
references/api-reference.mdwhen you need concise constructor signatures, required input schemas, output artifacts, and CLI routing notes. - Read
references/troubleshooting.mdwhen diagnosing YAML/datalist errors, image-label layout mismatches, optional dependency failures, multi-GPU assumptions, generated bundle handoff, or dataset downloads. - Run
scripts/auto3dseg_smoke.pywhen you need a no-training, no-download import/CLI/config inspection check for the installed MONAI Auto3DSeg surfaces.
Safe Operating Rules
- Treat
AutoRunner.run(),DataAnalyzer.get_all_case_stats(),BundleGen.generate(),EnsembleRunner.run(), HPO trials, nnU-Net conversion/training, and datasetdownload=Trueas potentially expensive or side-effecting. - Prefer config review, import/signature inspection, CLI help, and tiny synthetic file plans before launching analysis, downloads, GPU jobs, multi-fold training, or HPO.
- Confirm that optional packages are installed before claiming support for NNI, Optuna, nnU-Net, TensorBoard tracking, image readers beyond core formats, or TCIA/medical image downloads.
- When Auto3DSeg produces bundle folders, route edits to
../bundle-config/SKILL.md; when it needs datalist or image layout fixes, route to../data-transforms/SKILL.md.
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).