Agent skill · nvidia

warp-compile-time-optimizer

Use when compile time or startup time is the problem in code that uses Warp: a request to improve, optimize, or cut compile times; an app that is slow to start or stalls at the first wp.launch; seconds of compiling before real work begins; JIT modules recompiling on every run or every CI job. Only applies when the code being optimized uses Warp kernels. Not for steady-state kernel runtime, memory, correctness, building Warp itself from source, or nvcc/C++ build times.

What it needs

About 8k tokens when loaded.

What this skill does

Warp cold-start compile time Start with a runnable command The probe runs the target in a subprocess, writes only to temporary directories, and needs no network, external tool servers, or Warp checkout. Script Purpose Arguments --- --- --- scripts/warpcompileprobe.py Measure isolated cold/warm compilation and launches. measure [OPTIONS] -- COMMAND...; use --help. Use runscript("scripts/warpcompileprobe.py", args=[...]) when supported; otherwise use the Python command below. The target must run to completion. Compilation model Warp compiles modules, not individual kernels. A module's identity is: Each identity requires code generation and native compilation for the full module. Cold-start cost is roughly: Reduce it in two ways: 1. Stop identity churn. A module that changes after loading compiles again. 2. Stop source duplication. A module used at three block dimensions compiles every kernel three times. Deleting one kernel from a module that still builds saves only part of one build. Removing an unnecessary module identity saves the full build. When neither applies, overlap independent CUDA builds (CS-13). This changes when work happens, not how much is compiled, so judge it on elapsed time. When a module's options are fixed Options have two deadlines: 1. Module creation (Python import). The module copies enablebackward, maxunroll, lineinfo, deterministic, deterministicmaxrecords, and compiletimetrace from warp.config. Setting a global later is silently ignored by that module. defaultgridstride is the exception. 2. First load. Before compilation, change the existing module with wp.setmoduleoptions() or wp.getmodule(name).options. Changing an option after load creates a new identity and rebuilds the module (CS-3). Missed deadline Symptom Cost --- --- --- wp.config. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills nvidia/warp-compile-time-optimizer

View the source on GitHub

Browse the @skills marketplace