kermt-infer
Run predictions with a finetuned KERMT checkpoint on a SMILES-only CSV. The skill validates that the input ckpt has task FFN heads (refuses pretrain ckpts with a redirect to kermt-finetune), validates the CSV, prepares the data (clean + rdkit_2d features), then launches main.py predict inside the ke…
Install / Use
npx skills add NVIDIA/skills --skill bionemo-kermt-inferInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Our assessment of kermt-infer
kermt-infer scores 90/100 on our quality scale, 844th of 2,125 Automation skills we index (top 40%).
Its SKILL.md is 5.9 KB long, well organised into 10 sections with 1 code example: a thorough specification that gives an agent plenty to work with.
With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 5 days ago, so kermt-infer is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
kermt-infer compared with similar skills
All 4 of these similar skills score higher than kermt-infer; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| kermt-infer (this skill)by NVIDIA | 90 | 3.4k | 5d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 86.0k | 13d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 73.4k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 84.4k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 6d ago | SKILL.md |
Frequently asked questions
- How do I install kermt-infer?
- Run
npx skills add NVIDIA/skills --skill kermt-infer. The install tabs above show the steps for each supported agent. - Which AI agents does kermt-infer work with?
- It is written for Claude Code and OpenAI Codex, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is kermt-infer safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is kermt-infer still maintained?
- The repository was last updated 5 days ago, so kermt-infer is actively maintained.
Skill content
View source on GitHubname: kermt-infer description: Run predictions with a finetuned KERMT checkpoint on a SMILES-only CSV. The skill validates that the input ckpt has task FFN heads (refuses pretrain ckpts with a redirect to kermt-finetune), validates the CSV, prepares the data (clean + rdkit_2d features), then launches main.py predict inside the kermt container (blocking, minutes-scale). license: Apache-2.0 compatibility: Requires docker, nvidia-container-toolkit, and a CUDA-capable NVIDIA GPU. Designed for Claude Code, Codex, and Nemotron. metadata: owner: evax@nvidia.com classification: workflow-skill risk_tier: skill
Line/token budget: targets ~170 lines / ~2000 tokens — well within the
500-line / 5000-token cap for skill files.
kermt-infer
Run predictions with a finetuned KERMT checkpoint on a SMILES-only CSV. The skill is the workflow orchestrator: validate ckpt, validate CSV, prepare data, launch the runner blocking, return the predictions CSV.
Skill and runtime paths
Set SKILL_DIR to the absolute path of this installed skill directory. Export
KERMT_REPO as the absolute path to the KERMT checkout used for model
execution. The bundled container helper mounts that checkout at
/workspace and this skill at /skill (read-only). Commands inside
the container use /skill/scripts/; defaults are bundled in config/.
Hardware requirements
- GPUs: 1 (single-GPU). Multi-GPU inference is not currently supported.
- VRAM: ≥ 4 GB for the default
batch_size 32. - Disk: a few hundred MB per run (cleaned CSV + features + predictions).
- Driver / CUDA: any host supporting CUDA 12.6 (the kermt image base).
Inputs
Required:
--ckpt <path>— finetuned checkpoint (must have task FFN heads). The validator refuses pretrain ckpts with a redirect tokermt-finetune.--csv <path>— SMILES-only CSV. First column issmiles; other columns are ignored.
Optional:
--batch-size N— override the configured default (32).--seed N— random seed for inference (deterministic featurization paths).--gpus 0— single GPU id (default 0). Multi-GPU rejected.--from-prepare <dir>— skip the prepare step and reuse an existingprepare_data.jsonin<dir>.
Workflow
Let $KERMT_REPO be the path to your kermt repo checkout, and assume
kermt-setup has built kermt:latest.
-
Pre-flight: ensure container + system probe.
"$SKILL_DIR/scripts/kermt_container.sh" check_systemRefuse to proceed on
ok: false. -
Compute run directory.
RUN_DIR=$KERMT_REPO/runs/infer_$(date -u +%Y-%m-%dT%H-%M-%SZ) -
Validate the checkpoint.
"$SKILL_DIR/scripts/kermt_container.sh" run --ckpt <user-ckpt> -- \ "python /skill/scripts/check_checkpoint.py --mode inference --ckpt /ckpt"Parse the JSON. Abort on
ok: false. The validator rejects pretrain ckpts (has_task_ffn: false) with a redirect tokermt-finetune. -
Validate the data.
"$SKILL_DIR/scripts/kermt_container.sh" run --data <user-csv> -- \ "python /skill/scripts/check_data.py --mode inference --csv /data/<basename>"Abort on
ok: false. -
Prepare the data.
"$SKILL_DIR/scripts/kermt_container.sh" run --data <user-csv> --run-dir $RUN_DIR -- \ "python /skill/scripts/prepare_data.py --mode inference \\ --csv /data/<basename> --out /runs/data"Outputs land at
$RUN_DIR/data/prepare_data.jsonwithclean_csv+clean_npzpaths (rdkit_2d_normalized features). -
Launch the runner (blocking).
"$SKILL_DIR/scripts/kermt_container.sh" run \\ --ckpt <user-ckpt> --run-dir $RUN_DIR -- \\ "python /skill/scripts/run_inference.py \\ --ckpt /ckpt \\ --prepare-manifest /runs/data/prepare_data.json \\ --out /runs \\ [--gpus 0 --batch-size N --seed N]"Returns the predictions CSV path on success.
-
Report to the user. Output a short summary:
- Predictions:
$RUN_DIR/out/predictions.csv(smiles + per-target columns) - Manifest:
$RUN_DIR/run.json(cmd_replay + image digest + applied args) - Log:
$RUN_DIR/logs/inference.log - Row count: <N> molecules predicted across <K> targets
- Predictions:
Hard rules
- Never modify the user's ckpt. The runner symlinks the ckpt into a
unique
<out>/ckpt_link/subdir somain.py predict --checkpoint_dirpicks it up; the source file stays untouched. - Arch comes from the ckpt, never from CLI/defaults. The runner records
the validator's arch block in
run.jsonbut does not pass arch flags intomain.py predict— predict reads them from the loaded ckpt's saved_args. - Single-GPU only. Multi-GPU inference is not currently supported.
- Echo applied defaults. The
args_appliedfield ofrun.jsonrecords every flag's value + source (user / default-config). Surface a short summary of any default-filled flag.
Common errors
inference requires a finetuned ckpt with task FFN heads→ ckpt is a pretrain ckpt; usekermt-finetunefirst.prepare_data manifest reports ok=False→ check the manifesterrorsfor the failed step (typically clean_smiles or save_features).could not convert string to float: '<value>'from save_features or main.py predict → input CSV has a non-numeric passthrough column (e.g. a 'split' label). The prep step now strips the CSV to SMILES-only at inference; if this error still surfaces, the CSV is being read by a runner that bypassed prepare_data. Re-run via the skill, notmain.pydirectly.--gpus '0,1' is single-GPU only→ pass a single id.
Replayability
The run.json cmd_replay field is a single-line command that re-runs the
inference with the same inputs. To replay inside the kermt container:
$(jq -r .cmd_replay $RUN_DIR/run.json)
If ok_to_replay: false (dirty kermt repo worktree at launch time), pin
the commit via repo.commit and git checkout it first.
Related Skills
Agent-Reach
86.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
73.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Scrapling
84.4k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
