point-cloud-workflows
Operate the DeepGCNs point-cloud workflows for ModelNet40 classification, S3DIS dense or sparse semantic segmentation, and PartNet part segmentation, including tensor contracts, exact configuration flags, checkpoint/evaluation boundaries, and safe synthetic verification.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- point-cloud-workflows
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Operate the DeepGCNs point-cloud workflows for ModelNet40 classification, S3DIS dense or sparse semantic segmentation, and PartNet part segmentation, including tensor contracts, exact configuration flags, checkpoint/evaluation boundaries, and safe synthetic verification.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/data-formats.md6.0 KB
- 参考文档references/partnet.md6.9 KB
- 参考文档references/troubleshooting.md6.7 KB
- 参考文档references/workflows.md8.5 KB
- 脚本scripts/pointcloud_model_smoke.py6.7 KB
03 SKILL.md 正文
Point-cloud workflows
Use this skill for a point-cloud task involving ModelNet40 classification, S3DIS semantic segmentation, or PartNet part segmentation. It is a reference workflow, not a training runner: do not download data, fetch checkpoints, run long training, launch distributed jobs, or open a visualization GUI from this skill.
Route first
- ModelNet40 classification: follow workflows.md and the ModelNet section.
- S3DIS semantic segmentation: choose dense or sparse using the decision rule in workflows.md, then validate the layout in data-formats.md.
- PartNet part segmentation: follow partnet.md; raw-data preparation and checkpoint/category matching are mandatory before evaluation.
- Generic GCN layers, EdgeConv/MRConv, KNN, blocks, GENConv, or reversible
primitives: route to the sibling
graph-layersskill. This skill only records the task-level layout and configuration needed to use those layers. - OGB or PPI: route to the sibling
ogb-workflowsorppi-workflowsskill. Do not substitute S3DIS, PartNet, or ModelNet conventions for those datasets.
Safe operating sequence
The command blocks in the references are non-executable command shapes for an independently staged implementation. Replace only their neutral entrypoint and resource placeholders; never use them to open or run files from an original source checkout. The bundled smoke below is the only direct executable in this skill.
-
State the task, dataset split, category/area, point count, feature count, dense/sparse layout, backend/device, and whether a checkpoint is supplied.
-
Run the bundled smoke from any current working directory before importing a project model:
python <skill-root>/scripts/pointcloud_model_smoke.py --help python <skill-root>/scripts/pointcloud_model_smoke.py --mode allThe script is self-contained and uses only a tiny synthetic fixture. It does not import
gcn_lib, PyG,torch_cluster, a dataset, or a checkpoint. -
Pre-stage data and checkpoints outside the skill. Treat every documented automatic download as disabled for this operating path.
-
Use the task's exact parser flags and verify that the checkpoint's class count, block, convolution, filters, blocks, KNN settings, category/area, and layout agree with the current request.
-
Start with the smallest non-distributed evaluation or forward pass. Reduce points,
k, batch size, or blocks when diagnosing memory; do not infer benchmark-quality results from the smoke.
Invariants
- Coordinates are the first three channels. S3DIS normally supplies 3-D
positions plus six additional features (
in_channels=9); ModelNet and the default PartNet path use positions only (in_channels=3). - Dense point-cloud models consume
B x C x N x 1; sparse models consume node featuresN x Cplus a node-to-graphbatchvector of lengthN. - Classification returns one logit vector per cloud. Segmentation returns one logit vector per point; never pool away the point axis for S3DIS or PartNet.
kis the requested neighborhood width and dilation internally asks fork * dilationcandidates. It must not exceed the number of points in each cloud. Matrix KNN has quadratic point-count memory.--use_cpu/CPU availability selects the device, but installed PyTorch, PyG,torch_scatter, andtorch_clusterbinaries still need to be ABI and backend compatible. See troubleshooting.md.
Scope boundary
The references preserve source-observed commands, defaults, data fields, and failure modes without copying full training programs. They deliberately omit network downloads, external-drive checkpoint retrieval, distributed launch recipes as executable actions, and VTK execution. A result is not verified until the requested data/checkpoint and backend are separately available and an appropriate task-level test has passed.
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).