agentsclimarketplace

Memory estimation

Skill Red-Hat-AI-Innovation-Team/training_hub/.claude/skills/memory-estimation

Use when the user wants to estimate GPU memory (VRAM) requirements for a training configuration, check if a model will fit on their GPUs, or plan GPU allocation for training.From its SKILL.md

Install
npx -y skills add Red-Hat-AI-Innovation-Team/training_hub --skill memory-estimation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.5 KB, as published. Nobody here has run it

GPU Memory Estimation

Estimate GPU VRAM requirements before committing to a training run.

Step 1: Check Environment

"${CLAUDE_PLUGIN_ROOT}/scripts/th_detect.sh"

If library=missing, tell the user to install training_hub first via the setup-guide skill.

Step 2: Run Estimation

Execute the estimation script with user-provided parameters or config defaults:

"${CLAUDE_PLUGIN_ROOT}/scripts/th_estimate.sh" $ARGUMENTS

Step 3: Present Results

Parse the JSON output and present clearly:

  1. Memory estimates — Show low/mid/high VRAM estimates in GB
  2. GPU fit — Report whether the configuration fits on the available GPU(s)
  3. Recommendations — If memory is tight, suggest:
    • Reduce max_seq_len (e.g., 4096 -> 2048)
    • Reduce effective_batch_size
    • Switch to LoRA or QLoRA for lower memory
    • Add more GPUs for data parallelism

Estimation Methods

MethodForEstimator
basicSFT, GRPOBasicEstimator
osftOSFTOSFTEstimator
loraLoRA-SFT, LoRA-GRPOLoRAEstimator
qloraQuantized LoRAQLoRAEstimator

If no method is specified, the script infers it from the configured algorithm.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.