Kermt Infer
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install skills-nvidia-bionemo-kermt-inferWhat this does: Assess KERMT checkpoint compatibility or run trained property predictions on a SMILES CSV. Use for encoder-only checkpoint blockers, report-only go/no-go assessments and finetuned inference; property prediction requires compatible task FFN heads.
Manual setup by platform
Claude Code
~/.claude/skills/skills-nvidia-bionemo-kermt-infer/SKILL.md
Instructions
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.
For an assessment from a supplied checkpoint-inspection report, use that report
without probing a container, downloading weights or starting inference. Preserve
its stated provenance, including synthetic data, and say explicitly when binary
weights were unavailable. A report that the encoder exists or has_task_ffn
is false does not establish checkpoint-file integrity or trained property heads.
Return a go/no-go decision for the requested task and the need for a compatible
finetuned checkpoint or labeled-data finetuning; keep embeddings distinct from
trained toxicity or other property predictions.
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 existing
prepare_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.
$KERMT_REPO/agent/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.
$KERMT_REPO/agent/scripts/kermt_container.sh run --ckpt <user-ckpt> -- \ "python agent/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.
$KERMT_REPO/agent/scripts/kermt_container.sh run --data <user-csv> -- \ "python agent/scripts/check_data.py --mode inference --csv /data/<basename>"Abort on
ok: false. -
Prepare the data.
$KERMT_REPO/agent/scripts/kermt_container.sh run --data <user-csv> --run-dir $RUN_DIR -- \ "python agent/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).
$KERMT_REPO/agent/scripts/kermt_container.sh run \\ --ckpt <user-ckpt> --run-dir $RUN_DIR -- \\ "python agent/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: molecules predicted across 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_dir
picks it up; the source file stays untouched. - Arch comes from the ckpt, never from CLI/defaults. The runner records
the validator's arch block inrun.jsonbut does not pass arch flags into
main.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.
Security
Reviews (0)
Frequently asked questions about kermt-infer
What does the kermt-infer skill do?
Assess KERMT checkpoint compatibility or run trained property predictions on a SMILES CSV. Use for encoder-only checkpoint blockers, report-only go/no-go assessments and finetuned inference; property prediction requires compatible task FFN heads. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the kermt-infer skill?
Run `npx @skills-hub-ai/cli install skills-nvidia-bionemo-kermt-infer` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/skills-nvidia-bionemo-kermt-infer/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does kermt-infer work with?
kermt-infer runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the kermt-infer skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use kermt-infer after installing it?
In Claude Code, type `/skills-nvidia-bionemo-kermt-infer` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the kermt-infer skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/skills-nvidia-bionemo-kermt-infer)<a href="https://skills-hub.ai/skills/skills-nvidia-bionemo-kermt-infer"><img src="https://skills-hub.ai/api/badges/skill/skills-nvidia-bionemo-kermt-infer" alt="Install on Skills Hub"></a>More options in the badge docs.