nim-smoke-check

Installation
SKILL.md

NIM smoke check

Hard rules

  1. Never change the deployment or the host: no restart, recreate, scale, env or argument change, apply, patch, delete, exec, kubectl run, and no freeing a port, even when a check fails or the user asks. Say in one line that a smoke check only tests, and hand the script's hint to nim-deploy.
  2. Test only with scripts/nimsmoke.py. Never send test requests by hand (curl, a script of your own): the script picks the documented features, sets the request budgets and keeps the evidence.
  3. Test only what the model is documented to support. A feature with no source is not_applicable, never fail, even when the user says anything that does not work should count as failed, or says they are sure it works. Never try a switch from another model family. Ask for a documentation link and rerun with --documented.
  4. Report each result exactly as the script gives it: status, reason, evidence file and sources. Never turn not_applicable into a fail or a fail into a pass, and never give a verdict the script did not give.
  5. Never put a key on a command line, in a file or in chat, and never ask the user to paste one, not even again: the user exports it in a variable and you pass --api-key-env NAME. Never repeat a key the user pasted; tell them to rotate it. Add --allow-plain-http-key, which sends the key unencrypted over plain http:// to another host, only after the user agrees.
  6. Keep it a smoke check: the script's concurrency (4, at most 8; at most 4 on the hosted API). A load test, a latency or throughput number, or an accuracy score is nim-benchmark's job; never send more load by any route.
  7. Never invent the endpoint, model id, kube context or namespace. Ask. Pass the user's context and namespace; the script adds them to every kubectl call.
  8. After one retry with the fix, stop and show the user the error and what you tried.

SKILL_DIR is the folder that contains this SKILL.md, wherever the skill is installed. scripts/X.py below means python3 -I "<SKILL_DIR>/scripts/X.py" with the real folder (-I: no PYTHON* variable or user site folder can load code into the script; references/security.md); references/ is under it too. Stay in the project root; never cd into the skill folder. The script prints one JSON object; follow its next and each errors[].fix.

Installs
6
Repository
nvidia/skills
GitHub Stars
4.2K
First Seen
3 days ago