Skip to content
Back to skills

Training

ASecurity

"Plan OpenFold training, fine-tuning, validation, distillation,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolsshellnodeapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill training --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training?

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

Security grade badge for Training
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-fe93c64a/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-fe93c64a)

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: training
description: "Plan OpenFold training, fine-tuning, validation, distillation,
  checkpoint, DeepSpeed, and distributed commands safely."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# OpenFold Training

Use this sub-skill when the task is to plan or troubleshoot OpenFold training, fine-tuning, distributed execution, DeepSpeed configuration, checkpoint resume, validation, distillation, or `train_openfold.py` command construction.

## Route Quickly

- Start with `references/training-cli-reference.md` for required positionals, key flags, validation rules, and safe command-building conventions.
- Use `references/training-workflows.md` for initial training, fine-tuning, resume, validation, distillation, logging, checkpoints, and experiment config overrides.
- Use `references/distributed-and-deepspeed.md` for GPU/node strategy, `--seed`, MPI, Slurm handoff, DeepSpeed JSON, BF16/A100 guidance, and precision conflicts.
- Use `references/troubleshooting.md` for missing caches/indexes, runtime imports, GPU impossibility, logging, DeepSpeed, and checkpoint failures.
- Run `scripts/build_training_command.py` to assemble a validated dry-run command; it prints shell-quoted argv and never launches training.
- Run `scripts/build_deepspeed_config.py` to generate a deterministic DeepSpeed config JSON without importing OpenFold or DeepSpeed.
- Copy and edit `templates/experiment_config.json` when the user needs a flattened `--experiment_config_json` override.

## Boundaries

- Route mmCIF/MSA layout creation, alignment DB/index construction, chain/mmCIF cache generation, duplicate-chain expansion, cluster files, and data validation to `../data-preparation/`.
- Route CUDA/PyTorch/DeepSpeed/MPI/W&B installation, optional extension failures, databases, parameters, and runtime asset readiness to `../installation-assets/`.
- Route low-level model APIs, config internals, checkpoint conversion APIs, JAX/OpenFold weight import details, and acceleration internals to `../model-apis/`.
- Route inference, relaxation, template search for prediction, and prediction output interpretation to `../inference/`.

## Operating Rules

- Treat helpers in this sub-skill as planners only: they must not download data, submit jobs, import OpenFold, import DeepSpeed, or start training.
- Preserve user-supplied paths exactly; do not assume a checkout path, data root, environment prefix, cluster partition, account, or private cache directory.
- For multi-GPU or multi-node training, always include `--seed`; OpenFold rejects distributed training without it.
- For DeepSpeed, prefer BF16 (`--precision bf16` or `bf16-mixed` depending on the installed Lightning version and local policy) on A100-class hardware and do not combine DeepSpeed with Lightning precision `16`.
- If CLI help/imports fail because optional compiled extensions such as `attn_core_inplace_cuda` are missing, document the environment gap instead of claiming full CLI verification.

Files in this skill

  • SKILL.md2.9 KB
  • references/distributed-and-deepspeed.md3.3 KB
  • references/training-cli-reference.md5.7 KB
  • references/training-workflows.md4.7 KB
  • references/troubleshooting.md4.2 KB
  • scripts/build_deepspeed_config.py9.7 KB
  • scripts/build_training_command.py9.2 KB
  • templates/experiment_config.json109 B

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.