Buckets:

hf-doc-build/doc-dev / kernels /pr_515 /en /builder-cli.html
download
raw
78.5 kB
<meta charset="utf-8" /><meta name="hf:doc:metadata" content="{&quot;title&quot;:&quot;CLI reference for kernel-builder&quot;,&quot;local&quot;:&quot;cli-reference-for-kernel-builder&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;kernel-builder&quot;,&quot;local&quot;:&quot;kernel-builder&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Subcommands:&quot;,&quot;local&quot;:&quot;subcommands&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder completions&quot;,&quot;local&quot;:&quot;kernel-builder-completions&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder init&quot;,&quot;local&quot;:&quot;kernel-builder-init&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder build&quot;,&quot;local&quot;:&quot;kernel-builder-build&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder build-and-copy&quot;,&quot;local&quot;:&quot;kernel-builder-build-and-copy&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder build-and-upload&quot;,&quot;local&quot;:&quot;kernel-builder-build-and-upload&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder upload&quot;,&quot;local&quot;:&quot;kernel-builder-upload&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder check-config&quot;,&quot;local&quot;:&quot;kernel-builder-check-config&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder check-builds&quot;,&quot;local&quot;:&quot;kernel-builder-check-builds&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder create-pyproject&quot;,&quot;local&quot;:&quot;kernel-builder-create-pyproject&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder devshell&quot;,&quot;local&quot;:&quot;kernel-builder-devshell&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder list-variants&quot;,&quot;local&quot;:&quot;kernel-builder-list-variants&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder testshell&quot;,&quot;local&quot;:&quot;kernel-builder-testshell&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder update-build&quot;,&quot;local&quot;:&quot;kernel-builder-update-build&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder skills&quot;,&quot;local&quot;:&quot;kernel-builder-skills&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Subcommands:&quot;,&quot;local&quot;:&quot;subcommands&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder skills add&quot;,&quot;local&quot;:&quot;kernel-builder-skills-add&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder clean-pyproject&quot;,&quot;local&quot;:&quot;kernel-builder-clean-pyproject&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2}],&quot;depth&quot;:1}">
<link href="/docs/kernels/pr_515/en/_app/immutable/assets/0.e3b0c442.css" rel="modulepreload">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/entry/start.07e29fa0.js">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/chunks/scheduler.f3b1e791.js">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/chunks/singletons.26ec7615.js">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/chunks/paths.eb32adbe.js">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/entry/app.b63e8379.js">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/chunks/preload-helper.a10244f0.js">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/chunks/index.023a9934.js">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/nodes/0.854dc36f.js">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/chunks/each.e59479a4.js">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/nodes/13.2707a06a.js">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/chunks/CopyLLMTxtMenu.70051713.js">
<link rel="modulepreload" href="/docs/kernels/pr_515/en/_app/immutable/chunks/MermaidChart.svelte_svelte_type_style_lang.b6ccabe7.js"><!-- HEAD_svelte-u9bgzb_START --><meta name="hf:doc:metadata" content="{&quot;title&quot;:&quot;CLI reference for kernel-builder&quot;,&quot;local&quot;:&quot;cli-reference-for-kernel-builder&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;kernel-builder&quot;,&quot;local&quot;:&quot;kernel-builder&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Subcommands:&quot;,&quot;local&quot;:&quot;subcommands&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder completions&quot;,&quot;local&quot;:&quot;kernel-builder-completions&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder init&quot;,&quot;local&quot;:&quot;kernel-builder-init&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder build&quot;,&quot;local&quot;:&quot;kernel-builder-build&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder build-and-copy&quot;,&quot;local&quot;:&quot;kernel-builder-build-and-copy&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder build-and-upload&quot;,&quot;local&quot;:&quot;kernel-builder-build-and-upload&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder upload&quot;,&quot;local&quot;:&quot;kernel-builder-upload&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder check-config&quot;,&quot;local&quot;:&quot;kernel-builder-check-config&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder check-builds&quot;,&quot;local&quot;:&quot;kernel-builder-check-builds&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder create-pyproject&quot;,&quot;local&quot;:&quot;kernel-builder-create-pyproject&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder devshell&quot;,&quot;local&quot;:&quot;kernel-builder-devshell&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder list-variants&quot;,&quot;local&quot;:&quot;kernel-builder-list-variants&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder testshell&quot;,&quot;local&quot;:&quot;kernel-builder-testshell&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder update-build&quot;,&quot;local&quot;:&quot;kernel-builder-update-build&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder skills&quot;,&quot;local&quot;:&quot;kernel-builder-skills&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Subcommands:&quot;,&quot;local&quot;:&quot;subcommands&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder skills add&quot;,&quot;local&quot;:&quot;kernel-builder-skills-add&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2},{&quot;title&quot;:&quot;kernel-builder clean-pyproject&quot;,&quot;local&quot;:&quot;kernel-builder-clean-pyproject&quot;,&quot;sections&quot;:[{&quot;title&quot;:&quot;Arguments:&quot;,&quot;local&quot;:&quot;arguments&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6},{&quot;title&quot;:&quot;Options:&quot;,&quot;local&quot;:&quot;options&quot;,&quot;sections&quot;:[],&quot;depth&quot;:6}],&quot;depth&quot;:2}],&quot;depth&quot;:1}"><!-- HEAD_svelte-u9bgzb_END --> <p></p> <div class="items-center shrink-0 min-w-[100px] max-sm:min-w-[50px] justify-end ml-auto flex" style="float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"><div class="inline-flex rounded-md max-sm:rounded-sm"><button class="inline-flex items-center gap-1 h-7 max-sm:h-7 px-2 max-sm:px-1.5 text-sm font-medium text-gray-800 border border-r-0 rounded-l-md max-sm:rounded-l-sm border-gray-200 bg-white hover:shadow-inner dark:border-gray-850 dark:bg-gray-950 dark:text-gray-200 dark:hover:bg-gray-800" aria-live="polite"><span class="inline-flex items-center justify-center rounded-md p-0.5 max-sm:p-0 hover:text-gray-800 dark:hover:text-gray-200"><svg class="sm:size-3.5 size-3" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg></span> <span>Copy page</span></button> <button class="inline-flex items-center justify-center w-6 max-sm:w-5 h-7 max-sm:h-7 disabled:pointer-events-none text-sm text-gray-500 hover:text-gray-700 dark:hover:text-white rounded-r-md max-sm:rounded-r-sm border border-l transition border-gray-200 bg-white hover:shadow-inner dark:border-gray-850 dark:bg-gray-950 dark:text-gray-200 dark:hover:bg-gray-800" aria-haspopup="menu" aria-expanded="false" aria-label="Open copy menu"><svg class="transition-transform text-gray-400 overflow-visible sm:size-3.5 size-3 rotate-0" width="1em" height="1em" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="currentColor"></path></svg></button></div> </div> <h1 class="relative group"><a id="cli-reference-for-kernel-builder" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#cli-reference-for-kernel-builder"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>CLI reference for kernel-builder</span></h1> <p data-svelte-h="svelte-fjg8l1">This document contains the help content for the <code>kernel-builder</code> command-line program.</p> <p data-svelte-h="svelte-1yl30yj"><strong>Command Overview:</strong></p> <ul data-svelte-h="svelte-o1okyn"><li><a href="#kernel-builder"><code>kernel-builder</code></a></li> <li><a href="#kernel-builder-completions"><code>kernel-builder completions</code></a></li> <li><a href="#kernel-builder-init"><code>kernel-builder init</code></a></li> <li><a href="#kernel-builder-build"><code>kernel-builder build</code></a></li> <li><a href="#kernel-builder-build-and-copy"><code>kernel-builder build-and-copy</code></a></li> <li><a href="#kernel-builder-build-and-upload"><code>kernel-builder build-and-upload</code></a></li> <li><a href="#kernel-builder-upload"><code>kernel-builder upload</code></a></li> <li><a href="#kernel-builder-check-config"><code>kernel-builder check-config</code></a></li> <li><a href="#kernel-builder-check-builds"><code>kernel-builder check-builds</code></a></li> <li><a href="#kernel-builder-create-pyproject"><code>kernel-builder create-pyproject</code></a></li> <li><a href="#kernel-builder-devshell"><code>kernel-builder devshell</code></a></li> <li><a href="#kernel-builder-list-variants"><code>kernel-builder list-variants</code></a></li> <li><a href="#kernel-builder-testshell"><code>kernel-builder testshell</code></a></li> <li><a href="#kernel-builder-update-build"><code>kernel-builder update-build</code></a></li> <li><a href="#kernel-builder-skills"><code>kernel-builder skills</code></a></li> <li><a href="#kernel-builder-skills-add"><code>kernel-builder skills add</code></a></li> <li><a href="#kernel-builder-clean-pyproject"><code>kernel-builder clean-pyproject</code></a></li></ul> <h2 class="relative group"><a id="kernel-builder" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder</span></h2> <p data-svelte-h="svelte-1xuh2fr">Build Hugging Face Hub kernels</p> <p data-svelte-h="svelte-17wfeym"><strong>Usage:</strong> <code>kernel-builder &lt;COMMAND&gt;</code></p> <h6 class="relative group"><a id="subcommands" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#subcommands"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Subcommands:</span></h6> <ul data-svelte-h="svelte-npqf33"><li><code>completions</code> — Generate shell completions</li> <li><code>init</code> — Initialize a new kernel project from template</li> <li><code>build</code> — Build the kernel locally (alias for build-and-copy)</li> <li><code>build-and-copy</code> — Build the kernel and copy artifacts locally</li> <li><code>build-and-upload</code> — Build the kernel and upload to Hugging Face Hub</li> <li><code>upload</code> — Upload kernel build artifacts to the Hugging Face Hub</li> <li><code>check-config</code> — Validate the build.toml file</li> <li><code>check-builds</code> — Validate kernel builds</li> <li><code>create-pyproject</code> — Generate CMake files for a kernel extension build</li> <li><code>devshell</code> — Spawn a kernel development shell</li> <li><code>list-variants</code> — List build variants</li> <li><code>testshell</code> — Spawn a kernel test shell</li> <li><code>update-build</code> — Update a <code>build.toml</code> to the current format</li> <li><code>skills</code> — Install skills for AI coding assistants (Claude, Codex, OpenCode)</li> <li><code>clean-pyproject</code> — Clean generated artifacts</li></ul> <h2 class="relative group"><a id="kernel-builder-completions" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-completions"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder completions</span></h2> <p data-svelte-h="svelte-wulghe">Generate shell completions</p> <p data-svelte-h="svelte-1pfzt1a"><strong>Usage:</strong> <code>kernel-builder completions &lt;SHELL&gt;</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-8gycas"><li><p><code>&lt;SHELL&gt;</code></p> <p>Possible values: <code>bash</code>, <code>elvish</code>, <code>fish</code>, <code>powershell</code>, <code>zsh</code></p></li></ul> <h2 class="relative group"><a id="kernel-builder-init" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-init"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder init</span></h2> <p data-svelte-h="svelte-awolh3">Initialize a new kernel project from template</p> <p data-svelte-h="svelte-nrjapx"><strong>Usage:</strong> <code>kernel-builder init [OPTIONS] [PATH]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-1xkzawk"><li><code>&lt;PATH&gt;</code> — Directory to initialize (defaults to current directory)</li></ul> <h6 class="relative group"><a id="options" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#options"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Options:</span></h6> <ul data-svelte-h="svelte-swojxn"><li><p><code>--license &lt;LICENSE&gt;</code> — The kernel’s license</p> <p>Default value: <code>Apache-2.0</code></p></li> <li><p><code>--name &lt;OWNER/REPO&gt;</code> — Name of the kernel repo (e.g. <code>drbh/my-kernel</code>)</p></li> <li><p><code>--backends &lt;BACKENDS&gt;</code> — Backends to enable (<code>all</code>, <code>cpu</code>, <code>cuda</code>, <code>metal</code>, <code>neuron</code>, <code>rocm</code>, <code>xpu</code>)</p></li> <li><p><code>--overwrite</code> — Overwrite existing scaffold files (preserves other files)</p></li></ul> <h2 class="relative group"><a id="kernel-builder-build" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-build"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder build</span></h2> <p data-svelte-h="svelte-ta96qa">Build the kernel locally (alias for build-and-copy)</p> <p data-svelte-h="svelte-1euarb7"><strong>Usage:</strong> <code>kernel-builder build [OPTIONS] [KERNEL_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-429l5d"><li><code>&lt;KERNEL_DIR&gt;</code> — Directory of the kernel project (defaults to current directory)</li></ul> <h6 class="relative group"><a id="options" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#options"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Options:</span></h6> <ul data-svelte-h="svelte-1p0k97n"><li><code>--variant &lt;VARIANT&gt;</code> — Build a specific variant</li> <li><code>--max-jobs &lt;MAX_JOBS&gt;</code> — Maximum number of parallel Nix build jobs</li> <li><code>--cores &lt;CORES&gt;</code> — Number of CPU cores to use for each build job</li> <li><code>-L</code>, <code>--print-build-logs</code> — Print full build logs on standard error</li></ul> <h2 class="relative group"><a id="kernel-builder-build-and-copy" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-build-and-copy"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder build-and-copy</span></h2> <p data-svelte-h="svelte-y6j1cp">Build the kernel and copy artifacts locally</p> <p data-svelte-h="svelte-y39903"><strong>Usage:</strong> <code>kernel-builder build-and-copy [OPTIONS] [KERNEL_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-429l5d"><li><code>&lt;KERNEL_DIR&gt;</code> — Directory of the kernel project (defaults to current directory)</li></ul> <h6 class="relative group"><a id="options" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#options"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Options:</span></h6> <ul data-svelte-h="svelte-1o9aaq6"><li><code>--max-jobs &lt;MAX_JOBS&gt;</code> — Maximum number of parallel Nix build jobs</li> <li><code>--cores &lt;CORES&gt;</code> — Number of CPU cores to use for each build job</li> <li><code>-L</code>, <code>--print-build-logs</code> — Print full build logs on standard error</li></ul> <h2 class="relative group"><a id="kernel-builder-build-and-upload" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-build-and-upload"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder build-and-upload</span></h2> <p data-svelte-h="svelte-jzc51a">Build the kernel and upload to Hugging Face Hub</p> <p data-svelte-h="svelte-7z9bhv"><strong>Usage:</strong> <code>kernel-builder build-and-upload [OPTIONS] [KERNEL_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-429l5d"><li><code>&lt;KERNEL_DIR&gt;</code> — Directory of the kernel project (defaults to current directory)</li></ul> <h6 class="relative group"><a id="options" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#options"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Options:</span></h6> <ul data-svelte-h="svelte-1ofbo26"><li><p><code>--variant &lt;VARIANT&gt;</code> — Build a specific variant</p></li> <li><p><code>--max-jobs &lt;MAX_JOBS&gt;</code> — Maximum number of parallel Nix build jobs</p></li> <li><p><code>--cores &lt;CORES&gt;</code> — Number of CPU cores to use for each build job</p></li> <li><p><code>-L</code>, <code>--print-build-logs</code> — Print full build logs on standard error</p></li> <li><p><code>--repo-id &lt;REPO_ID&gt;</code> — Repository ID on the Hugging Face Hub (e.g. <code>user/my-kernel</code>)</p></li> <li><p><code>--branch &lt;BRANCH&gt;</code> — Upload to a specific branch (defaults to <code>v{version}</code> from metadata)</p></li> <li><p><code>--private</code> — Create the repository as private</p></li> <li><p><code>--repo-type &lt;REPO_TYPE&gt;</code> — Repository type on Hugging Face Hub (<code>kernel</code> by default, or <code>model</code> for legacy repos)</p> <p>Default value: <code>kernel</code></p> <p>Possible values: <code>model</code>, <code>kernel</code></p></li></ul> <h2 class="relative group"><a id="kernel-builder-upload" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-upload"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder upload</span></h2> <p data-svelte-h="svelte-s03ppk">Upload kernel build artifacts to the Hugging Face Hub</p> <p data-svelte-h="svelte-gk4840"><strong>Usage:</strong> <code>kernel-builder upload [OPTIONS] [KERNEL_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-1b8yjvw"><li><code>&lt;KERNEL_DIR&gt;</code> — Directory of the kernel build (defaults to current directory)</li></ul> <h6 class="relative group"><a id="options" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#options"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Options:</span></h6> <ul data-svelte-h="svelte-1t5b1ub"><li><p><code>--repo-id &lt;REPO_ID&gt;</code> — Repository ID on the Hugging Face Hub (e.g. <code>user/my-kernel</code>). Defaults to <code>general.hub.repo-id</code> from <code>build.toml</code></p></li> <li><p><code>--branch &lt;BRANCH&gt;</code> — Upload to a specific branch (defaults to <code>v{version}</code> from metadata)</p></li> <li><p><code>--private</code> — Create the repository as private</p></li> <li><p><code>--repo-type &lt;REPO_TYPE&gt;</code> — Repository type on Hugging Face Hub (<code>kernel</code> by default, or <code>model</code> for legacy repos)</p> <p>Default value: <code>kernel</code></p> <p>Possible values: <code>model</code>, <code>kernel</code></p></li></ul> <h2 class="relative group"><a id="kernel-builder-check-config" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-check-config"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder check-config</span></h2> <p data-svelte-h="svelte-12r8p47">Validate the build.toml file</p> <p data-svelte-h="svelte-xxkz2s"><strong>Usage:</strong> <code>kernel-builder check-config [KERNEL_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-4ghrw4"><li><code>&lt;KERNEL_DIR&gt;</code></li></ul> <h2 class="relative group"><a id="kernel-builder-check-builds" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-check-builds"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder check-builds</span></h2> <p data-svelte-h="svelte-1t4cb20">Validate kernel builds</p> <p data-svelte-h="svelte-blxf73"><strong>Usage:</strong> <code>kernel-builder check-builds [KERNEL_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-4ghrw4"><li><code>&lt;KERNEL_DIR&gt;</code></li></ul> <h2 class="relative group"><a id="kernel-builder-create-pyproject" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-create-pyproject"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder create-pyproject</span></h2> <p data-svelte-h="svelte-79asd">Generate CMake files for a kernel extension build</p> <p data-svelte-h="svelte-xqo073"><strong>Usage:</strong> <code>kernel-builder create-pyproject [OPTIONS] [KERNEL_DIR] [TARGET_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-1ai3xwo"><li><code>&lt;KERNEL_DIR&gt;</code></li> <li><code>&lt;TARGET_DIR&gt;</code> — The directory to write the generated files to (directory of <code>BUILD_TOML</code> when absent)</li></ul> <h6 class="relative group"><a id="options" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#options"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Options:</span></h6> <ul data-svelte-h="svelte-nej9ga"><li><code>-f</code>, <code>--force</code> — Force-overwrite existing files</li> <li><code>--unique-id &lt;UNIQUE_ID&gt;</code> — This is an optional unique identifier that is suffixed to the kernel name to avoid name collisions. (e.g. Git SHA)</li></ul> <h2 class="relative group"><a id="kernel-builder-devshell" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-devshell"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder devshell</span></h2> <p data-svelte-h="svelte-5795q">Spawn a kernel development shell</p> <p data-svelte-h="svelte-ev2dka"><strong>Usage:</strong> <code>kernel-builder devshell [OPTIONS] [KERNEL_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-4ghrw4"><li><code>&lt;KERNEL_DIR&gt;</code></li></ul> <h6 class="relative group"><a id="options" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#options"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Options:</span></h6> <ul data-svelte-h="svelte-1h6jwbm"><li><code>--variant &lt;VARIANT&gt;</code> — Use a specific variant</li> <li><code>--max-jobs &lt;MAX_JOBS&gt;</code> — Maximum number of parallel Nix build jobs</li> <li><code>--cores &lt;CORES&gt;</code> — Number of CPU cores to use for each build job</li> <li><code>-L</code>, <code>--print-build-logs</code> — Print full build logs on standard error</li></ul> <h2 class="relative group"><a id="kernel-builder-list-variants" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-list-variants"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder list-variants</span></h2> <p data-svelte-h="svelte-1dh1b7e">List build variants</p> <p data-svelte-h="svelte-2f7nmg"><strong>Usage:</strong> <code>kernel-builder list-variants [OPTIONS] [KERNEL_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-4ghrw4"><li><code>&lt;KERNEL_DIR&gt;</code></li></ul> <h6 class="relative group"><a id="options" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#options"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Options:</span></h6> <ul data-svelte-h="svelte-o6v2b6"><li><code>--arch</code> — Only list variants for the current architecture</li></ul> <h2 class="relative group"><a id="kernel-builder-testshell" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-testshell"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder testshell</span></h2> <p data-svelte-h="svelte-1grvrut">Spawn a kernel test shell</p> <p data-svelte-h="svelte-17rrk6x"><strong>Usage:</strong> <code>kernel-builder testshell [OPTIONS] [KERNEL_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-4ghrw4"><li><code>&lt;KERNEL_DIR&gt;</code></li></ul> <h6 class="relative group"><a id="options" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#options"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Options:</span></h6> <ul data-svelte-h="svelte-1h6jwbm"><li><code>--variant &lt;VARIANT&gt;</code> — Use a specific variant</li> <li><code>--max-jobs &lt;MAX_JOBS&gt;</code> — Maximum number of parallel Nix build jobs</li> <li><code>--cores &lt;CORES&gt;</code> — Number of CPU cores to use for each build job</li> <li><code>-L</code>, <code>--print-build-logs</code> — Print full build logs on standard error</li></ul> <h2 class="relative group"><a id="kernel-builder-update-build" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-update-build"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder update-build</span></h2> <p data-svelte-h="svelte-kjxpbl">Update a <code>build.toml</code> to the current format</p> <p data-svelte-h="svelte-ipf46h"><strong>Usage:</strong> <code>kernel-builder update-build [KERNEL_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-4ghrw4"><li><code>&lt;KERNEL_DIR&gt;</code></li></ul> <h2 class="relative group"><a id="kernel-builder-skills" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-skills"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder skills</span></h2> <p data-svelte-h="svelte-1rlmh9i">Install skills for AI coding assistants (Claude, Codex, OpenCode)</p> <p data-svelte-h="svelte-ombeuk"><strong>Usage:</strong> <code>kernel-builder skills &lt;COMMAND&gt;</code></p> <h6 class="relative group"><a id="subcommands" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#subcommands"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Subcommands:</span></h6> <ul data-svelte-h="svelte-pxaxt4"><li><code>add</code> — Install a kernels skill for an AI assistant</li></ul> <h2 class="relative group"><a id="kernel-builder-skills-add" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-skills-add"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder skills add</span></h2> <p data-svelte-h="svelte-13bnys3">Install a kernels skill for an AI assistant</p> <p data-svelte-h="svelte-13vsmnx"><strong>Usage:</strong> <code>kernel-builder skills add [OPTIONS]</code></p> <h6 class="relative group"><a id="options" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#options"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Options:</span></h6> <ul data-svelte-h="svelte-19hz2cw"><li><p><code>--skill &lt;SKILL&gt;</code> — Skill to install</p> <p>Default value: <code>cuda-kernels</code></p> <p>Possible values: <code>cuda-kernels</code>, <code>rocm-kernels</code></p></li> <li><p><code>--claude</code> — Install for Claude</p></li> <li><p><code>--codex</code> — Install for Codex</p></li> <li><p><code>--opencode</code> — Install for OpenCode</p></li> <li><p><code>-g</code>, <code>--global</code> — Install globally (user-level) instead of in the current project directory</p></li> <li><p><code>--dest &lt;DEST&gt;</code> — Install into a custom destination (path to skills directory)</p></li> <li><p><code>--force</code> — Overwrite existing skills in the destination</p></li></ul> <h2 class="relative group"><a id="kernel-builder-clean-pyproject" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#kernel-builder-clean-pyproject"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>kernel-builder clean-pyproject</span></h2> <p data-svelte-h="svelte-1b414o3">Clean generated artifacts</p> <p data-svelte-h="svelte-1g02viy"><strong>Usage:</strong> <code>kernel-builder clean-pyproject [OPTIONS] [KERNEL_DIR] [TARGET_DIR]</code></p> <h6 class="relative group"><a id="arguments" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#arguments"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Arguments:</span></h6> <ul data-svelte-h="svelte-ci8vv8"><li><code>&lt;KERNEL_DIR&gt;</code></li> <li><code>&lt;TARGET_DIR&gt;</code> — The directory to clean from (directory of <code>BUILD_TOML</code> when absent)</li></ul> <h6 class="relative group"><a id="options" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#options"><span><svg class="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span></a> <span>Options:</span></h6> <ul data-svelte-h="svelte-167wy1t"><li><code>-d</code>, <code>--dry-run</code> — Show what would be deleted without actually deleting</li> <li><code>-f</code>, <code>--force</code> — Force deletion without confirmation</li> <li><code>--ops-id &lt;OPS_ID&gt;</code> — This is an optional unique identifier that is suffixed to the kernel name to avoid name collisions. (e.g. Git SHA)</li></ul> <hr> <small data-svelte-h="svelte-lzrabx"><i>This document was generated automatically by
<a href="https://crates.io/crates/clap-markdown"><code>clap-markdown</code></a>.</i></small> <a class="!text-gray-400 !no-underline text-sm flex items-center not-prose mt-4" href="https://github.com/huggingface/kernels/blob/main/docs/source/builder-cli.md" target="_blank"><svg class="mr-1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M31,16l-7,7l-1.41-1.41L28.17,16l-5.58-5.59L24,9l7,7z"></path><path d="M1,16l7-7l1.41,1.41L3.83,16l5.58,5.59L8,23l-7-7z"></path><path d="M12.419,25.484L17.639,6.552l1.932,0.518L14.351,26.002z"></path></svg> <span data-svelte-h="svelte-zjs2n5"><span class="underline">Update</span> on GitHub</span></a> <p></p>
<script>
{
__sveltekit_102d7fe = {
assets: "/docs/kernels/pr_515/en",
base: "/docs/kernels/pr_515/en",
env: {}
};
const element = document.currentScript.parentElement;
const data = [null,null];
Promise.all([
import("/docs/kernels/pr_515/en/_app/immutable/entry/start.07e29fa0.js"),
import("/docs/kernels/pr_515/en/_app/immutable/entry/app.b63e8379.js")
]).then(([kit, app]) => {
kit.start(app, element, {
node_ids: [0, 13],
data,
form: null,
error: null
});
});
}
</script>

Xet Storage Details

Size:
78.5 kB
·
Xet hash:
2f5db937e4c68c740e208680d9f3994ac54cb18eb55c88c204a5e7be627445b1

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.