/training-hub:memory-estimationfrom training-hub
Estimates GPU VRAM requirements for training configurations before committing to a run. Detects available GPUs and provides low/mid/high memory estimates with fit recommendations.
Ships in training-hub. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Estimate GPU VRAM requirements before committing to a training run.
"${CLAUDE_PLUGIN_ROOT}/scripts/th_detect.sh"
If library=missing, tell the user to install training_hub first via the setup-guide skill.
Execute the estimation script with user-provided parameters or config defaults:
"${CLAUDE_PLUGIN_ROOT}/scripts/th_estimate.sh" $ARGUMENTS
Parse the JSON output and present clearly:
max_seq_len (e.g., 4096 -> 2048)effective_batch_size| Method | For | Estimator |
|---|---|---|
basic | SFT, GRPO | BasicEstimator |
osft | OSFT | OSFTEstimator |
lora | LoRA-SFT, LoRA-GRPO | LoRAEstimator |
qlora | Quantized LoRA | QLoRAEstimator |
The lora/qlora estimates are calibrated against the Unsloth backend (lora_sft: fused loss, offloaded gradient checkpointing), so treat them as rougher for other backends such as LoRA-GRPO.
If no method is specified, the script infers it from the configured algorithm.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/setup-guideUse when the user wants to set up LLM training for the first time, or when training_hub is not yet installed/configured in the current environment./training-guideUse when the user wants to run a training job using a saved configuration. For algorithm selection, hyperparameter advice, or troubleshooting, use the training-hub-guide skill instead./training-hub-guideGuides users through LLM post-training with Training Hub, including installation, algorithm selection (SFT, OSFT, LoRA), hyperparameter tuning, troubleshooting OOM errors, interpreting loss curves, and leveraging backend-specific features. Use when the user is working with training_hub, fine-tuning language models, asking about SFT/OSFT/LoRA training, or debugging GPU/CUDA training issues.npx claudepluginhub red-hat-ai-innovation-team/training_hub --plugin training-hubOther plugins' skills for the same job