nvidia/tensorrt/test

Claude Code and agent skill by nvidia/tensorrt

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Run Polygraphy tests with the correct environment setup. Activates when asked to run tests, run the test suite, or run a specific test file. Also use this proactively after making code changes — e.g. after a refactor, bug fix, or any edit that could affect runtime behaviour — to verify nothing is broken before committing.

Install

npx vskill@latest install nvidia/tensorrt/test

SKILL.md

The same SKILL.md was published earlier as nvidia/tensorrt/test.

Run Polygraphy Tests

Required environment variables

Set these before running any pytest command (from the Makefile test target):

  • PYTHONPATH must include the repo root
  • POLYGRAPHY_INTERNAL_CORRECTNESS_CHECKS=1
  • CUDA_MODULE_LOADING=LAZY

Running a specific test file or subset

bash
PYTHONPATH="$(pwd):${PYTHONPATH}" \
POLYGRAPHY_INTERNAL_CORRECTNESS_CHECKS=1 \
CUDA_MODULE_LOADING=LAZY \
python3 -m pytest <path/to/test_file.py> -v --durations=15 --failed-first --new-first --script-launch-mode=subprocess

Running the full test suite

Serial tests must run before parallel ones:

bash
PYTHONPATH="$(pwd):${PYTHONPATH}" \
POLYGRAPHY_INTERNAL_CORRECTNESS_CHECKS=1 \
CUDA_MODULE_LOADING=LAZY \
python3 -m pytest tests/ -m "serial and not slow" -v --durations=15 --failed-first --new-first --script-launch-mode=subprocess && \
python3 -m pytest tests/ -n 8 --dist=loadscope -m "not serial and not slow" -v --durations=15 --failed-first --new-first --script-launch-mode=subprocess

Notes

  • Always pass --script-launch-mode=subprocess to avoid in-process runner issues with stdout/stderr capture.
  • Skip -n 8 --dist=loadscope when running a small subset.
  • slow tests are excluded by default; drop and not slow to include them.
  • Use this skill proactively after any code change (refactor, bug fix, new feature) that could affect runtime behaviour — run the relevant test file before committing, without waiting for the user to ask.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
13,372
Repository forks
2,410
7-day trend score
48

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nvidia/tensorrt/test/badge)](https://verified-skill.com/skills/nvidia/tensorrt/test)

Something wrong with this skill or its page? Tell us.