Perlmutter Nemo Evalのロゴ

Perlmutter Nemo Eval

組織
AI-ModCon
perlmutter-nemo-eval

Use when the user wants to run API-backed NeMo-Skills benchmark evaluation (ns eval or ns robust_eval) on NERSC Perlmutter. Requires an absolute env file, a benchmark name, a model, and for robust_eval an absolute local prompt_set_config.yaml path.

概要

公開者AI-ModCon
リポジトリgenesis-skills
スキル名perlmutter-nemo-eval
スター
37
フォーク
16
同梱ファイル
16
ライセンスBSD-2-Clause
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 16個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    AI-ModConがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルPerlmutter Nemo EvalをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AI-ModCon/genesis-skills/tree/main/skills/baseeval-skills/perlmutter-ns-skills/perlmutter-nemo-eval
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AI-ModCon/genesis-skills.git /tmp/genesis-skills
mkdir -p .claude/skills
cp -r /tmp/genesis-skills/skills/baseeval-skills/perlmutter-ns-skills/perlmutter-nemo-eval .claude/skills/perlmutter-nemo-eval
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでPerlmutter Nemo Evalを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にPerlmutter Nemo Evalを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Perlmutter Nemo Evalは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Perlmutter NeMo Eval

Use this skill for benchmark evaluation jobs only:

  • ns eval (standard benchmark, single prompt config)
  • ns robust_eval (prompt-robustness evaluation across multiple prompt configs)
  • server_type=openai
  • Perlmutter executor: slurm
  • Perlmutter runtime: podman-hpc
  • external OpenAI-compatible endpoint

Do not use this skill for ns generate, sidecars, self-hosted vLLM, or multi-component jobs. For raw generation use the sibling perlmutter-nemo-generate skill.

Inputs

The user must provide:

  • an absolute local env file path
  • a benchmark name (e.g. gsm8k, gpqa, human-eval)
  • a supported model
  • for robust_eval only: an absolute local prompt_set_config.yaml path

Supported models live in config/supported_models.txt.

Env var contract

Require the same core variables as the generate skill, plus:

  • BENCHMARK — benchmark name passed to ns eval (e.g. gsm8k); also used to locate the pre-bundled data at $NEMO_SKILLS_REPO_DIR/nemo_skills/dataset/$BENCHMARK/

Optional vars (with defaults):

  • JOB_TYPE default eval — eval or robust_eval
  • NUM_SAMPLES default 0 — number of random seeds; 0 = full dataset; use e.g. 8 for robust_eval
  • MAX_CONCURRENT_REQUESTS default 32 — parallel API requests during eval; consider 16 for robust_eval
  • NEMO_SKILLS_DATA_DIR default /workspace/ns-data — container-side path where ns prepare_data downloads benchmark data; maps to $REMOTE_RUN_DIR/ns-data
  • NERSC_HOST default perlmutter.nersc.gov
  • SSH_IDENTITY defaults to <SSH_LOGIN_IDENTITY>-cert.pub
  • NODES default 1
  • NTASKS_PER_NODE default 1
  • DEFAULT_TIMEOUT default 00:20:00
  • HF_HOME_IN_WORKSPACE default /workspace/hf-cache
  • REMOTE_IMAGE_BUILD_DIR default $HOME/ns-image-build
  • STATUS_POLL_INTERVAL default 30
  • PERLMUTTER_BASE_IMAGE default docker.io/library/python:3.11
  • PERLMUTTER_AGENT_RUNS_DIR to override where local run artifacts are stored
  • PERLMUTTER_AGENT_STATE_DIR to override where the managed local virtualenv is stored

Source of truth

Same as the generate skill — resolve from NEMO_SKILLS_REPO_DIR:

  • <repo_dir>/docs/basics/perlmutter.md
  • <repo_dir>/nemo_skills/pipeline/eval.py
  • <repo_dir>/nemo_skills/pipeline/robust_eval.py
  • <repo_dir>/ns-tests/quick_bench.sh
  • <repo_dir>/ns-tests/quick_robust.sh

Workflow

  1. Validate inputs.

    • Require absolute local paths for the env file.
    • Require BENCHMARK and MODEL.
    • If JOB_TYPE=robust_eval, also require an absolute local path for prompt_set_config.yaml.
    • Reject unsupported models with the allowlist file.
  2. Validate the explicit repo path from the env file.

    • Load NEMO_SKILLS_REPO_DIR from the env file.
    • Reject the run if the repo path is missing, not absolute, or does not contain the required Perlmutter-enabled files.
    • Never assume a sibling Skills/ checkout.
    • Never clone or install the repo automatically.
  3. Ensure MFA-backed SSH access is live.

  4. Run preflight checks before every submission.

  5. If the image is missing, build it.

  6. Prepare the run bundle.

    • Run scripts/prepare_run.sh with --benchmark, --model, and optionally --job-type, --num-samples, --max-concurrent-requests, --prompt-set-config.
    • This renders:
      • perlmutter.yaml
      • run.sh (calls ns eval or ns robust_eval)
      • manifest.json
  7. Stage config files.

    • Run scripts/stage_inputs.sh.
    • Creates remote eval output directories.
    • For robust_eval only: uploads prompt_set_config.yaml to the remote workspace.
  8. Submit the job.

  9. Poll until completion.

    • Run scripts/check_status.sh with --wait.
    • Primary success signal: metrics.json written by the summarize_results Slurm job (second of two jobs submitted by ns eval).
    • Fallback: if that exact path is absent but metrics.json is found anywhere under remote_output_dir (maxdepth 4), treat as complete and warn.
  10. Fetch outputs.

    • Run scripts/fetch_results.sh.
    • Downloads the full eval output directory recursively (includes metrics.json, output*.jsonl, and for robust_eval the summarize_robustness/ aggregation).

Behavior constraints

  • Never print the contents of the env file.
  • Never echo secret values from API keys or SSH settings.
  • Always keep perlmutter.yaml run-specific; do not edit shared checked-in templates in place.
  • Always mount the run-specific remote directory to /workspace.
  • The run.sh template uses cd /tmp before invoking ns eval/ns robust_eval. Do not change this — same CWD constraint as the generate skill applies.
  • Preflight checks are mandatory on every run. Do not treat them as optional.
  • NEMO_SKILLS_DATA_DIR defaults to /workspace/ns-data, which maps to $REMOTE_RUN_DIR/ns-data inside the container. Benchmark data (pre-bundled *.jsonl files from the local NEMO_SKILLS_REPO_DIR/nemo_skills/dataset/ tree) is staged to the remote workspace via SCP during stage_inputs.sh, before job submission.

Final response

The final user-facing reply must include:

  • whether the job succeeded or failed
  • the local results/eval-output/ directory path
  • the path to metrics.json (or the summarize_robustness/ directory for robust_eval)
  • the local log directory or submission log path
  • the image tag used
  • a short failure summary if any step failed

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Perlmutter Nemo Eval」では何ができますか?

Use when the user wants to run API-backed NeMo-Skills benchmark evaluation (ns eval or ns robust_eval) on NERSC Perlmutter. Requires an absolute env file, a benchmark name, a model, and for robust_eval an absolute local prompt_set_config.yaml path.

TypingMindでPerlmutter Nemo Evalを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Perlmutter Nemo Evalはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにPerlmutter Nemo Evalをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AI-ModCon/genesis-skills/tree/main/skills/baseeval-skills/perlmutter-ns-skills/perlmutter-nemo-evalを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Perlmutter Nemo Evalを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Perlmutter Nemo Evalは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもPerlmutter Nemo Evalを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Perlmutter Nemo Eval」は無料ですか?

はい。AI-ModConがGitHubでBSD-2-Clauseライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇