executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
trainingConfigure and safely operate PointLLM's two-stage training workflow, flags, checkpoints, and resource-sensitive validation without launching distributed training.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a Researcher needs to configure, inspect, resume, or
troubleshoot PointLLM v1 training. It covers the repository's two stages and
its custom dataclass flags. It does not download data or weights, change an
environment, or launch torchrun.
Establish local paths for an initial Hugging Face model directory, the point-cloud directory, its annotation JSON, and a writable output directory.
Choose exactly one stage:
fix_pointnet=True.Run the bundled validator before editing a command or starting a job:
python scripts/validate_training_config.py \
--stage 1 --config training.json
Add --allow-missing only for a path-planning dry run. The validator never
invokes torchrun, imports the training entry point, or loads a checkpoint.
Read workflows.md for inert command templates and checkpoint/resume behavior. Read configuration.md before changing a flag. Use troubleshooting.md when a check fails.
stage_2=False, model_name_or_path is the initial LLM/PointLLM
directory, and point_backbone_ckpt points to the compatible PointBERT file.stage_2=True, model_name_or_path is the Stage-1 final output;
do not point it at the initial directory unless intentionally restarting.use_color=True, each selected file is expected to be (N, 6) with XYZ in
the first three columns and RGB in the final three columns.pointnum=8192 unless the model's PointBERT configuration and every
{object_id}_{pointnum}.npy file have been changed together.point_proj.bin.bf16=True requires a compatible accelerator and matching PyTorch/CUDA
runtime. The inspection baseline supplied for this skill is Python 3.10,
torch 2.0.1+cu117, Transformers 4.28.0.dev0 at commit cae78c46,
tokenizers 0.12.1, and an A100 40GB (compute capability 8.0). Re-check the
actual runtime rather than copying this baseline into a new environment.train_mem.py applies the repository's FlashAttention monkey patch before
importing the model. A compatible compiled flash-attn is therefore a hard
precondition for that entry point; train.py avoids that explicit patch but
is not a performance or memory-equivalent fallback.full_shard auto_wrap and LlamaDecoderLayer settings use the
source's experimental partially-frozen/FSDP path. Treat FSDP warnings,
missing use_orig_params support, or backend/version mismatch as stop
conditions; do not silently remove FSDP or unfreeze the point backbone.The training code auto-resumes when output_dir already contains any
checkpoint-* directory. The templates set save_strategy="no", so ordinary
runs do not create periodic checkpoints. PointLLMTrainer writes adapter state
under point_proj/ for checkpoint saves and writes a final point_proj.bin when
adapter tuning is enabled; the final save also uses the Hugging Face model
serialization path. Preserve the output directory and trainer state together
when handing Stage 1 to Stage 2.
This sub-skill links only to its bundled references and validator. It records source-derived behavior; it does not claim that a training run succeeded.