npx skills add ...
npx skills add nvidia/compileiq --skill compileiq-bootstrap
Use when starting a fresh CompileIQ project, hitting a socket timeout, or before running any other compileiq-* skill. Verifies CUDA 13.3+, ptxas, GPU access, that `from compileiq.ciq import Search` and friends resolve, and that `PtxasSearchSpace().retrieve()` returns a real path. Documents the env vars that control timeouts, caching, and search-space mirroring. Triggers on "set up compileiq", "compileiq doesn't work", "socket timeout", "where do search spaces come from", "air-gapped compileiq".
npx skills add nvidia/compileiq --skill compileiq-bootstrap
Validate that a host can run CompileIQ. No installation of system libraries (that's distro-specific and out of scope). No state files. Just a checklist that either passes or prints the precise next fix.
Search().start() hangs on the first evaluation.compileiq wheel, or the Python venv.CompileIQ's --apply-controls mechanism requires CUDA 13.3 or later
(see examples/compilers/nvbench_example/optimize_reduction.py:302).
If either command exits non-zero, install or upgrade the CUDA toolkit and put
/usr/local/cuda/bin on PATH and /usr/local/cuda/lib64 on
LD_LIBRARY_PATH.
CompileIQ targets compute capability 9.0 (Hopper / H100) and 10.0 (Blackwell / B200) most aggressively, but works on any GPU PTXAS supports for the chosen arch.
One shot that covers everything callers will need:
If this fails, run pip install compileiq (or pip install -e . from a
source checkout) and re-run.
This catches network or air-gapped issues that otherwise surface as socket-timeout hangs deep inside the first evaluation:
The first run downloads from GitHub releases and caches under
~/.cache/compileiq/<tag>/. Subsequent runs hit the cache.
| Variable | Default | What it controls |
|---|---|---|
CIQ_SOCKET_TIMEOUT | 20 | Seconds to wait on IPC with the core. Raise to 60-120 for large search spaces; raise much higher if you regularly see a hang on the first evaluation. |
CIQ_KEEP_CACHE | unset (0) | Set to 1/true/yes to keep .cache files after a run for post-mortem replay. |
CIQ_PROCESS_MODE | forkserver | forkserver, fork, or spawn. Switch to spawn if forkserver fails on a constrained host. IsoMultiProcessWorker defaults to fork regardless. |
CIQ_SEARCH_SPACES_DIR | unset | Path to a local mirror containing manifest.json plus the referenced .bin files. Set this on air-gapped hosts to skip network. |
CIQ_SEARCH_SPACES_REPO | NVIDIA/CompileIQ | Override the GitHub repo that release-backed search-space resolution queries. Useful for staging or forks. |
CIQ_SS_TAG_PREFIX | search-spaces- | Tag prefix the resolver uses when tag="latest". Rarely needs changing. |
Exits 0 if every step passes. Exits with a non-zero count of failures and prints, for each failure, the precise command the user should run next.
CIQ_SOCKET_TIMEOUT=120 and retry.CIQ_SEARCH_SPACES_DIR=/path/to/mirror.CIQ_PROCESS_MODE=spawn.nvcc, ptxas, or a Python interpreter is missing, surface the error
and let the user decide how to install.compileiq-search-space (variant="att" by default).compileiq-booster-pack.compileiq-author-objective.