compileiq-search-space
БесплатноБез исполняемых скриптовНе проверенUse when picking the search_space= argument for Search(). Covers the three provider classes (PtxasSearchSpace, NvccSearchSpace, LocalSearchSpaceBin), how to…
от nvidia218 установок в других каталогахОб этом скилле
compileiq-search-space
CompileIQ ships compiler search spaces as release-backed binary blobs that
the providers in compileiq.search_spaces.compilers fetch on demand. This
skill covers the three provider classes, the variants they expose today,
how to use them offline, and how to define a custom search space for
non-compiler tuning.
When
- Choosing a search space for a new project.
- Pinning a specific release for a paper or production deployment.
- Working on an air-gapped or corporate-firewalled host.
- Stress-testing a one-off
.binyou have on hand.
The three provider classes
Reference: compileiq/search_spaces/compilers.py:66-102.
from compileiq.search_spaces.compilers import (
PtxasSearchSpace,
NvccSearchSpace,
LocalSearchSpaceBin,
)
# Default — auto-fetch latest PTXAS 13.3 default variant from GitHub releases
ss = PtxasSearchSpace()
# Pinned for reproducibility
ss = PtxasSearchSpace(version="13.3", variant="default", tag="search-spaces-YYYY.MM.DD")
# **Attention** workloads (FlashAttention / GQA / MHA / MLA / FlashInfer Batch Decode)
ss = PtxasSearchSpace(version="13.3", variant="att")
# NVCC variant for full-pipeline tuning
ss = NvccSearchSpace(version="13.3")
# Single .bin you already have on disk — skips manifest + network
ss = LocalSearchSpaceBin("/path/to/ptxas13.3_search_space.bin")
# Pass to Search
from compileiq.ciq import Search
tuner = Search(objective_function=..., search_space=ss, search_config=...)
Variants available today
From release/search-spaces/manifest-source.yaml:
| Compiler | Version | Variant | File | When to use |
|---|---|---|---|---|
ptxas |
13.3 |
default |
ptxas13.3_search_space.bin |
Generic PTXAS tuning; the right starting point for most kernels. |
ptxas |
13.3 |
att |
ptxas13.3_att_search_space.bin |
Attention workloads. att is short for attention, not "attribute". This variant is curated for FlashAttention, GQA, MHA, MLA, FlashInfer Batch Decode, and similar attention kernels. Prefer this whenever the kernel is attention-shaped. |
nvcc |
13.3 |
default |
nvcc13.3_search_space.bin |
Full-compiler (front-end + back-end) tuning when you want NVCC-level knobs, not just PTXAS. |
To enumerate variants in the latest release at any time:
gh release view --json assets --jq '.assets[].name' -R NVIDIA/CompileIQ <tag>
Air-gapped / offline mirror
Pre-download the manifest plus all .bin files on a connected host, then point
CompileIQ at the local mirror via CIQ_SEARCH_SPACES_DIR:
# On a connected host. Search-space releases use dated tags
# (search-spaces-YYYY.MM.DD); there is no literal "latest" tag, so resolve the
# newest published one the same way CompileIQ does.
SS_TAG="$(gh release list -R NVIDIA/CompileIQ --limit 100 --json tagName,isDraft,isPrerelease \
--jq '.[] | select(.isDraft == false and .isPrerelease == false) | select(.tagName | startswith("search-spaces-")) | .tagName' \
| head -n 1)"
echo "Using $SS_TAG"
mkdir -p /shared/ciq-search-spaces
gh release download "$SS_TAG" -R NVIDIA/CompileIQ -D /shared/ciq-search-spaces
# Move the directory to the air-gapped host (rsync, scp, sneaker-net, …)
# On the air-gapped host
export CIQ_SEARCH_SPACES_DIR=/shared/ciq-search-spaces
python -c "from compileiq.search_spaces.compilers import PtxasSearchSpace; print(PtxasSearchSpace().retrieve())"
Other env-var knobs:
CIQ_SEARCH_SPACES_REPO(defaultNVIDIA/CompileIQ): override the GitHub repo the resolver queries — useful for staging or forks.CIQ_SS_TAG_PREFIX(defaultsearch-spaces-): tag prefix used when resolvingtag="latest". Rarely needs changing.CIQ_SS_LATEST_TTL_DAYS(default7): how long the tag thatlatestresolved to is cached on disk before CompileIQ asks GitHub again. So a new search-space release can take up to a week to be picked up; set0to re-resolve on every run, or pintag=for reproducibility. If GitHub is unreachable, CompileIQ falls back to the cached tag with a warning.
Cache location
Resolved binaries are cached at ~/.cache/compileiq/<tag>/<sha256_prefix>_<filename>.
The resolver verifies cached files by sha256; a corrupted entry is re-downloaded
on the next call. Safe to wipe — wiping just costs one re-download.
Custom search spaces (non-compiler tuning)
For hyperparameter tuning, autotuner knobs, or any user-defined space, pass
a dict (or list-of-dicts) directly instead of a provider. Primitives live in
compileiq/search_spaces/base.py:
import compileiq.search_spaces.base as ss
search_space = {
"block_size": ss.choice([64, 128, 256, 512]),
"unroll": ss.range(start=1, end=8, step=1),
"use_shmem": ss.literal(True, knockout_prob=0.5),
"lr": ss.log_sampling(start=1e-5, end=1e-1, total=20),
}
| Primitive | Purpose |
|---|---|
choice([...]) |
Sample uniformly from a discrete list. |
range(start, end, step) |
Range-lik |
Установить compileiq-search-space в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadFAQ
Что делает скилл compileiq-search-space?
Use when picking the search_space= argument for Search(). Covers the three provider classes (PtxasSearchSpace, NvccSearchSpace, LocalSearchSpaceBin), how to pin a version/variant/tag, the attention-focused 'att' variant for attention kernels (FlashAttention, GQA, MHA, MLA, FlashInfer Batch Decode), air-gapped mirroring via CIQ_SEARCH_SPACES_DIR, and custom user-defined search spaces built from compileiq.search_spaces.base primitives. Triggers on "search space", "PtxasSearchSpace", "NvccSearchSpace", "air-gapped compileiq", "offline compileiq", "CIQ_SEARCH_SPACES_DIR", "attention variant", "ptxas att".
Как установить скилл compileiq-search-space?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл compileiq-search-space запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub