Skip to content
Back to skills

Checkpoints And Model Ops

ASecurity

"Operate verl checkpoints, model merging/export, LoRA checkpoint

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
toolspythonbashbackendperformance

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill checkpoints-and-model-ops --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Checkpoints And Model Ops?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Checkpoints And Model Ops
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-checkpoints-and-model-ops/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-checkpoints-and-model-ops)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: checkpoints-and-model-ops
description: "Operate verl checkpoints, model merging/export, LoRA checkpoint
  handling, and profiling diagnostics without changing training setup or data
  schema."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# checkpoints-and-model-ops

Use this sub-skill when a task involves an existing verl run or checkpoint tree: identifying whether a checkpoint is FSDP, Megatron, or already HuggingFace-format; planning `verl.model_merger` usage; diagnosing save/load contents; handling LoRA export implications; or enabling profiling/performance diagnostics after training is already configured.

Do not use this for initial installation, environment setup, training command assembly, reward/data schemas, or choosing datasets. Route those to the root skill or the training/data sub-skills.

## Fast path

1. Inspect the checkpoint directory without loading tensors:
   ```bash
   python sub-skills/checkpoints-and-model-ops/scripts/inspect_checkpoint_path.py CHECKPOINT_DIR --pretty
   ```
2. If the path is a run root, choose a `global_step_*` directory and then the role directory, usually `actor`.
3. If the role directory is FSDP, merge with `python -m verl.model_merger merge --backend fsdp --local_dir ROLE_DIR --target_dir TARGET_DIR`.
4. If the role directory is Megatron, inspect `checkpoint_contents_metadata.json` first; merge with `--backend megatron` only when model shards or HF config artifacts are present as expected.
5. If the role directory already contains a complete HuggingFace tree, prefer copying/validating that tree over re-merging large shards.

## References

- [Checkpoint layouts, save contents, and model merging](references/checkpoints-and-merging.md)
- [Performance tuning and profiling operations](references/performance-and-profiling.md)
- [Checkpoint/model-ops troubleshooting](references/troubleshooting.md)

## Bundled script

- [Safe checkpoint path inspector](scripts/inspect_checkpoint_path.py): directory-only argparse helper that detects likely run roots, step roots, FSDP role directories, Megatron role directories, HuggingFace exports, and next-action suggestions. It does not import verl, torch, or load checkpoint tensors.

## Native verification anchors

Relevant upstream CPU or focused tests for future maintainers include checkpoint-engine global-step propagation, checkpoint cleanup retention, Megatron checkpoint manager behavior, and FSDP LoRA merge semantics. Treat GPU-heavy LoRA/FSDP tests as native candidates only when the requested environment has the needed accelerators.

Files in this skill

  • SKILL.md2.5 KB
  • references/checkpoints-and-merging.md8 KB
  • references/performance-and-profiling.md7.1 KB
  • references/troubleshooting.md7.3 KB
  • scripts/inspect_checkpoint_path.py9.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.