Buckets:
| import{s as pt,o as mt,n as it}from"../chunks/scheduler.f3b1e791.js";import{S as kt,i as ut,e as i,s as o,c as m,h as gt,a as c,d as n,b as r,f as P,g as k,j as T,k as L,l as s,m as a,n as u,t as g,o as f,p as h}from"../chunks/index.023a9934.js";import{C as ft}from"../chunks/CopyLLMTxtMenu.ad54ccfb.js";import{D as ke,E as dt}from"../chunks/ExampleCodeBlock.b3399119.js";import{C as ct}from"../chunks/CodeBlock.fe29511e.js";import{H as N,E as ht}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.5a9046c0.js";function _t(O){let d,C="Example:",v,_,$;return _=new ct({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwa2VybmVscyUyMGltcG9ydCUyMGdldF9rZXJuZWwlMEElMEFhY3RpdmF0aW9uJTIwJTNEJTIwZ2V0X2tlcm5lbCglMjJrZXJuZWxzLWNvbW11bml0eSUyRnJlbHUlMjIlMkMlMjB2ZXJzaW9uJTNEMSklMEF4JTIwJTNEJTIwdG9yY2gucmFuZG4oMTAlMkMlMjAyMCUyQyUyMGRldmljZSUzRCUyMmN1ZGElMjIpJTBBb3V0JTIwJTNEJTIwdG9yY2guZW1wdHlfbGlrZSh4KSUwQXJlc3VsdCUyMCUzRCUyMGFjdGl2YXRpb24ucmVsdShvdXQlMkMlMjB4KQ==",highlighted:`<span class="hljs-keyword">import</span> torch | |
| <span class="hljs-keyword">from</span> kernels <span class="hljs-keyword">import</span> get_kernel | |
| activation = get_kernel(<span class="hljs-string">"kernels-community/relu"</span>, version=<span class="hljs-number">1</span>) | |
| x = torch.randn(<span class="hljs-number">10</span>, <span class="hljs-number">20</span>, device=<span class="hljs-string">"cuda"</span>) | |
| out = torch.empty_like(x) | |
| result = activation.relu(out, x)`,wrap:!1}}),{c(){d=i("p"),d.textContent=C,v=o(),m(_.$$.fragment)},l(l){d=c(l,"P",{"data-svelte-h":!0}),T(d)!=="svelte-11lpom8"&&(d.textContent=C),v=r(l),k(_.$$.fragment,l)},m(l,x){a(l,d,x),a(l,v,x),u(_,l,x),$=!0},p:it,i(l){$||(g(_.$$.fragment,l),$=!0)},o(l){f(_.$$.fragment,l),$=!1},d(l){l&&(n(d),n(v)),h(_,l)}}}function $t(O){let d,C="Example:",v,_,$;return _=new ct({props:{code:"ZnJvbSUyMGtlcm5lbHMlMjBpbXBvcnQlMjBnZXRfa2VybmVsJTJDJTIwZ2V0X2xvYWRlZF9rZXJuZWxzJTBBJTBBZ2V0X2tlcm5lbCglMjJrZXJuZWxzLWNvbW11bml0eSUyRmFjdGl2YXRpb24lMjIlMkMlMjB2ZXJzaW9uJTNEMSklMEFmb3IlMjBsb2FkZWQlMjBpbiUyMGdldF9sb2FkZWRfa2VybmVscygpJTNBJTBBJTIwJTIwJTIwJTIwcHJpbnQobG9hZGVkLm1vZHVsZV9uYW1lJTJDJTIwbG9hZGVkLnJlcG9faW5mb3Mp",highlighted:`<span class="hljs-keyword">from</span> kernels <span class="hljs-keyword">import</span> get_kernel, get_loaded_kernels | |
| get_kernel(<span class="hljs-string">"kernels-community/activation"</span>, version=<span class="hljs-number">1</span>) | |
| <span class="hljs-keyword">for</span> loaded <span class="hljs-keyword">in</span> get_loaded_kernels(): | |
| <span class="hljs-built_in">print</span>(loaded.module_name, loaded.repo_infos)`,wrap:!1}}),{c(){d=i("p"),d.textContent=C,v=o(),m(_.$$.fragment)},l(l){d=c(l,"P",{"data-svelte-h":!0}),T(d)!=="svelte-11lpom8"&&(d.textContent=C),v=r(l),k(_.$$.fragment,l)},m(l,x){a(l,d,x),a(l,v,x),u(_,l,x),$=!0},p:it,i(l){$||(g(_.$$.fragment,l),$=!0)},o(l){f(_.$$.fragment,l),$=!1},d(l){l&&(n(d),n(v)),h(_,l)}}}function bt(O){let d,C,v,_,$,l,x,ge,H,fe,G,he,y,V,Ze,ee,Qe="Load a kernel from the kernel hub.",Pe,te,Ye=`This function downloads a kernel to the local Hugging Face Hub cache directory (if it was not downloaded before) | |
| and then loads the kernel.`,He,E,_e,D,$e,J,B,Ge,ne,Ke="Import a kernel from a local kernel repository path.",be,U,ve,j,W,Ve,oe,Ae="Check whether a kernel build exists for the current environment (Torch version and compute framework).",xe,F,Te,p,R,De,re,Oe="Return a snapshot of every kernel that has been loaded into the current process.",Be,le,et="Each entry is a <code>kernels.utils.LoadedKernel</code> dataclass with fields:",Ue,ae,tt=`<li><code>kernel_id</code> (<code>str</code>): unique identifier used as the <code>sys.modules</code> key | |
| for this variant (either <code>metadata.id</code> or a hash-suffixed module name).</li> <li><code>module</code> (<code>ModuleType</code>): the imported kernel module.</li> <li><code>module_name</code> (<code>str</code>): the kernel’s module name.</li> <li><code>repo_infos</code> (<code>kernels.utils.RepoInfos | None</code>): populated only for | |
| kernels loaded via <code>get_kernel</code>. Loaders that work from a local path | |
| (<code>get_local_kernel</code>) or a lockfile (<code>get_locked_kernel</code>, <code>load_kernel</code>) | |
| leave this as <code>None</code>.</li>`,We,se,nt=`<code>RepoInfos</code> has <code>repo_id</code>, <code>revision</code>, and <code>backend</code> fields. <code>backend</code> | |
| reflects the value passed by the caller — it is <code>None</code> when the caller | |
| relied on backend auto-detection.`,Fe,de,ot="The returned list is a new list; mutating it does not affect the registry.",Re,q,rt="<p>These arguments might be renamed / changed a bit.</p>",qe,Z,ye,X,we,S,Me,w,z,Xe,ie,lt="Get a pre-downloaded, locked kernel.",Se,ce,at="If <code>lockfile</code> is not specified, the lockfile will be loaded from the caller’s package metadata.",Ce,Q,Je,I,Y,ze,pe,st="Get a kernel using a lock file.",je,K,Ie,ue,Le;return $=new ft({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),x=new N({props:{title:"Kernels API Reference",local:"kernels-api-reference",headingTag:"h1"}}),H=new N({props:{title:"Main Functions",local:"main-functions",headingTag:"h2"}}),G=new N({props:{title:"get_kernel",local:"kernels.get_kernel",headingTag:"h3"}}),V=new ke({props:{name:"kernels.get_kernel",anchor:"kernels.get_kernel",parameters:[{name:"repo_id",val:": str"},{name:"revision",val:": str | None = None"},{name:"version",val:": int | None = None"},{name:"backend",val:": str | None = None"},{name:"user_agent",val:": str | dict | None = None"}],parametersDescription:[{anchor:"kernels.get_kernel.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) — | |
| The Hub repository containing the kernel.`,name:"repo_id"},{anchor:"kernels.get_kernel.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>"main"</code>) — | |
| The specific revision (branch, tag, or commit) to download. Cannot be used together with <code>version</code>.`,name:"revision"},{anchor:"kernels.get_kernel.version",description:`<strong>version</strong> (<code>int</code>, <em>optional</em>) — | |
| The kernel version to download. Cannot be used together with <code>revision</code>.`,name:"version"},{anchor:"kernels.get_kernel.backend",description:`<strong>backend</strong> (<code>str</code>, <em>optional</em>) — | |
| The backend to load the kernel for. Can only be <code>cpu</code> or the backend that Torch is compiled for. | |
| The backend will be detected automatically if not provided.`,name:"backend"},{anchor:"kernels.get_kernel.user_agent",description:`<strong>user_agent</strong> (<code>Union[str, dict]</code>, <em>optional</em>) — | |
| The <code>user_agent</code> info to pass to <code>snapshot_download()</code> for internal telemetry.`,name:"user_agent"}],source:"https://github.com/huggingface/kernels/blob/vr_497/kernels/src/kernels/utils.py#L309",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>The imported kernel module.</p> | |
| `,returnType:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>ModuleType</code></p> | |
| `}}),E=new dt({props:{anchor:"kernels.get_kernel.example",$$slots:{default:[_t]},$$scope:{ctx:O}}}),D=new N({props:{title:"get_local_kernel",local:"kernels.get_local_kernel",headingTag:"h3"}}),B=new ke({props:{name:"kernels.get_local_kernel",anchor:"kernels.get_local_kernel",parameters:[{name:"repo_path",val:": Path"},{name:"package_name",val:": str"},{name:"backend",val:": str | None = None"}],parametersDescription:[{anchor:"kernels.get_local_kernel.repo_path",description:`<strong>repo_path</strong> (<code>Path</code>) — | |
| The local path to the kernel repository.`,name:"repo_path"},{anchor:"kernels.get_local_kernel.package_name",description:`<strong>package_name</strong> (<code>str</code>) — | |
| The name of the package to import from the repository.`,name:"package_name"},{anchor:"kernels.get_local_kernel.backend",description:`<strong>backend</strong> (<code>str</code>, <em>optional</em>) — | |
| The backend to load the kernel for. Can only be <code>cpu</code> or the backend that Torch is compiled for. | |
| The backend will be detected automatically if not provided.`,name:"backend"}],source:"https://github.com/huggingface/kernels/blob/vr_497/kernels/src/kernels/utils.py#L368",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>The imported kernel module.</p> | |
| `,returnType:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>ModuleType</code></p> | |
| `}}),U=new N({props:{title:"has_kernel",local:"kernels.has_kernel",headingTag:"h3"}}),W=new ke({props:{name:"kernels.has_kernel",anchor:"kernels.has_kernel",parameters:[{name:"repo_id",val:": str"},{name:"revision",val:": str | None = None"},{name:"version",val:": int | None = None"},{name:"backend",val:": str | None = None"}],parametersDescription:[{anchor:"kernels.has_kernel.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) — | |
| The Hub repository containing the kernel.`,name:"repo_id"},{anchor:"kernels.has_kernel.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>"main"</code>) — | |
| The specific revision (branch, tag, or commit) to download. Cannot be used together with <code>version</code>.`,name:"revision"},{anchor:"kernels.has_kernel.version",description:`<strong>version</strong> (<code>int</code>, <em>optional</em>) — | |
| The kernel version to download. Cannot be used together with <code>revision</code>.`,name:"version"},{anchor:"kernels.has_kernel.backend",description:`<strong>backend</strong> (<code>str</code>, <em>optional</em>) — | |
| The backend to load the kernel for. Can only be <code>cpu</code> or the backend that Torch is compiled for. | |
| The backend will be detected automatically if not provided.`,name:"backend"}],source:"https://github.com/huggingface/kernels/blob/vr_497/kernels/src/kernels/utils.py#L404",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>True</code> if a kernel is available for the current environment.</p> | |
| `,returnType:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>bool</code></p> | |
| `}}),F=new N({props:{title:"get_loaded_kernels",local:"kernels.get_loaded_kernels",headingTag:"h3"}}),R=new ke({props:{name:"kernels.get_loaded_kernels",anchor:"kernels.get_loaded_kernels",parameters:[],source:"https://github.com/huggingface/kernels/blob/vr_497/kernels/src/kernels/utils.py#L54",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>one entry per distinct kernel variant path | |
| loaded in this process.</p> | |
| `,returnType:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>list[LoadedKernel]</code></p> | |
| `}}),Z=new dt({props:{anchor:"kernels.get_loaded_kernels.example",$$slots:{default:[$t]},$$scope:{ctx:O}}}),X=new N({props:{title:"Loading locked kernels",local:"loading-locked-kernels",headingTag:"h2"}}),S=new N({props:{title:"load_kernel",local:"kernels.load_kernel",headingTag:"h3"}}),z=new ke({props:{name:"kernels.load_kernel",anchor:"kernels.load_kernel",parameters:[{name:"repo_id",val:": str"},{name:"lockfile",val:": pathlib.Path | None"},{name:"backend",val:": str | None = None"}],parametersDescription:[{anchor:"kernels.load_kernel.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) — | |
| The Hub repository containing the kernel.`,name:"repo_id"},{anchor:"kernels.load_kernel.lockfile",description:`<strong>lockfile</strong> (<code>Path</code>, <em>optional</em>) — | |
| Path to the lockfile. If not provided, the lockfile will be loaded from the caller’s package metadata.`,name:"lockfile"},{anchor:"kernels.load_kernel.backend",description:`<strong>backend</strong> (<code>str</code>, <em>optional</em>) — | |
| The backend to load the kernel for. Can only be <code>cpu</code> or the backend that Torch is compiled for. | |
| The backend will be detected automatically if not provided.`,name:"backend"}],source:"https://github.com/huggingface/kernels/blob/vr_497/kernels/src/kernels/utils.py#L449",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>The imported kernel module.</p> | |
| `,returnType:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>ModuleType</code></p> | |
| `}}),Q=new N({props:{title:"get_locked_kernel",local:"kernels.get_locked_kernel",headingTag:"h3"}}),Y=new ke({props:{name:"kernels.get_locked_kernel",anchor:"kernels.get_locked_kernel",parameters:[{name:"repo_id",val:": str"},{name:"local_files_only",val:": bool = False"}],parametersDescription:[{anchor:"kernels.get_locked_kernel.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) — | |
| The Hub repository containing the kernel.`,name:"repo_id"},{anchor:"kernels.get_locked_kernel.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) — | |
| Whether to only use local files and not download from the Hub.`,name:"local_files_only"}],source:"https://github.com/huggingface/kernels/blob/vr_497/kernels/src/kernels/utils.py#L522",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>The imported kernel module.</p> | |
| `,returnType:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>ModuleType</code></p> | |
| `}}),K=new ht({props:{source:"https://github.com/huggingface/kernels/blob/main/docs/source/api/kernels.md"}}),{c(){d=i("meta"),C=o(),v=i("p"),_=o(),m($.$$.fragment),l=o(),m(x.$$.fragment),ge=o(),m(H.$$.fragment),fe=o(),m(G.$$.fragment),he=o(),y=i("div"),m(V.$$.fragment),Ze=o(),ee=i("p"),ee.textContent=Qe,Pe=o(),te=i("p"),te.textContent=Ye,He=o(),m(E.$$.fragment),_e=o(),m(D.$$.fragment),$e=o(),J=i("div"),m(B.$$.fragment),Ge=o(),ne=i("p"),ne.textContent=Ke,be=o(),m(U.$$.fragment),ve=o(),j=i("div"),m(W.$$.fragment),Ve=o(),oe=i("p"),oe.textContent=Ae,xe=o(),m(F.$$.fragment),Te=o(),p=i("div"),m(R.$$.fragment),De=o(),re=i("p"),re.textContent=Oe,Be=o(),le=i("p"),le.innerHTML=et,Ue=o(),ae=i("ul"),ae.innerHTML=tt,We=o(),se=i("p"),se.innerHTML=nt,Fe=o(),de=i("p"),de.textContent=ot,Re=o(),q=i("blockquote"),q.innerHTML=rt,qe=o(),m(Z.$$.fragment),ye=o(),m(X.$$.fragment),we=o(),m(S.$$.fragment),Me=o(),w=i("div"),m(z.$$.fragment),Xe=o(),ie=i("p"),ie.textContent=lt,Se=o(),ce=i("p"),ce.innerHTML=at,Ce=o(),m(Q.$$.fragment),Je=o(),I=i("div"),m(Y.$$.fragment),ze=o(),pe=i("p"),pe.textContent=st,je=o(),m(K.$$.fragment),Ie=o(),ue=i("p"),this.h()},l(e){const t=gt("svelte-u9bgzb",document.head);d=c(t,"META",{name:!0,content:!0}),t.forEach(n),C=r(e),v=c(e,"P",{}),P(v).forEach(n),_=r(e),k($.$$.fragment,e),l=r(e),k(x.$$.fragment,e),ge=r(e),k(H.$$.fragment,e),fe=r(e),k(G.$$.fragment,e),he=r(e),y=c(e,"DIV",{class:!0});var M=P(y);k(V.$$.fragment,M),Ze=r(M),ee=c(M,"P",{"data-svelte-h":!0}),T(ee)!=="svelte-v6pak5"&&(ee.textContent=Qe),Pe=r(M),te=c(M,"P",{"data-svelte-h":!0}),T(te)!=="svelte-1adbar6"&&(te.textContent=Ye),He=r(M),k(E.$$.fragment,M),M.forEach(n),_e=r(e),k(D.$$.fragment,e),$e=r(e),J=c(e,"DIV",{class:!0});var A=P(J);k(B.$$.fragment,A),Ge=r(A),ne=c(A,"P",{"data-svelte-h":!0}),T(ne)!=="svelte-ysgxyb"&&(ne.textContent=Ke),A.forEach(n),be=r(e),k(U.$$.fragment,e),ve=r(e),j=c(e,"DIV",{class:!0});var Ne=P(j);k(W.$$.fragment,Ne),Ve=r(Ne),oe=c(Ne,"P",{"data-svelte-h":!0}),T(oe)!=="svelte-oel36i"&&(oe.textContent=Ae),Ne.forEach(n),xe=r(e),k(F.$$.fragment,e),Te=r(e),p=c(e,"DIV",{class:!0});var b=P(p);k(R.$$.fragment,b),De=r(b),re=c(b,"P",{"data-svelte-h":!0}),T(re)!=="svelte-hargcl"&&(re.textContent=Oe),Be=r(b),le=c(b,"P",{"data-svelte-h":!0}),T(le)!=="svelte-1c0wljt"&&(le.innerHTML=et),Ue=r(b),ae=c(b,"UL",{"data-svelte-h":!0}),T(ae)!=="svelte-kaki5m"&&(ae.innerHTML=tt),We=r(b),se=c(b,"P",{"data-svelte-h":!0}),T(se)!=="svelte-l35kvz"&&(se.innerHTML=nt),Fe=r(b),de=c(b,"P",{"data-svelte-h":!0}),T(de)!=="svelte-bvc5k7"&&(de.textContent=ot),Re=r(b),q=c(b,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),T(q)!=="svelte-1qd1c58"&&(q.innerHTML=rt),qe=r(b),k(Z.$$.fragment,b),b.forEach(n),ye=r(e),k(X.$$.fragment,e),we=r(e),k(S.$$.fragment,e),Me=r(e),w=c(e,"DIV",{class:!0});var me=P(w);k(z.$$.fragment,me),Xe=r(me),ie=c(me,"P",{"data-svelte-h":!0}),T(ie)!=="svelte-1s7s7e5"&&(ie.textContent=lt),Se=r(me),ce=c(me,"P",{"data-svelte-h":!0}),T(ce)!=="svelte-16266qf"&&(ce.innerHTML=at),me.forEach(n),Ce=r(e),k(Q.$$.fragment,e),Je=r(e),I=c(e,"DIV",{class:!0});var Ee=P(I);k(Y.$$.fragment,Ee),ze=r(Ee),pe=c(Ee,"P",{"data-svelte-h":!0}),T(pe)!=="svelte-ui0v8u"&&(pe.textContent=st),Ee.forEach(n),je=r(e),k(K.$$.fragment,e),Ie=r(e),ue=c(e,"P",{}),P(ue).forEach(n),this.h()},h(){L(d,"name","hf:doc:metadata"),L(d,"content",vt),L(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),L(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),L(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),L(q,"class","note"),L(p,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),L(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),L(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,t){s(document.head,d),a(e,C,t),a(e,v,t),a(e,_,t),u($,e,t),a(e,l,t),u(x,e,t),a(e,ge,t),u(H,e,t),a(e,fe,t),u(G,e,t),a(e,he,t),a(e,y,t),u(V,y,null),s(y,Ze),s(y,ee),s(y,Pe),s(y,te),s(y,He),u(E,y,null),a(e,_e,t),u(D,e,t),a(e,$e,t),a(e,J,t),u(B,J,null),s(J,Ge),s(J,ne),a(e,be,t),u(U,e,t),a(e,ve,t),a(e,j,t),u(W,j,null),s(j,Ve),s(j,oe),a(e,xe,t),u(F,e,t),a(e,Te,t),a(e,p,t),u(R,p,null),s(p,De),s(p,re),s(p,Be),s(p,le),s(p,Ue),s(p,ae),s(p,We),s(p,se),s(p,Fe),s(p,de),s(p,Re),s(p,q),s(p,qe),u(Z,p,null),a(e,ye,t),u(X,e,t),a(e,we,t),u(S,e,t),a(e,Me,t),a(e,w,t),u(z,w,null),s(w,Xe),s(w,ie),s(w,Se),s(w,ce),a(e,Ce,t),u(Q,e,t),a(e,Je,t),a(e,I,t),u(Y,I,null),s(I,ze),s(I,pe),a(e,je,t),u(K,e,t),a(e,Ie,t),a(e,ue,t),Le=!0},p(e,[t]){const M={};t&2&&(M.$$scope={dirty:t,ctx:e}),E.$set(M);const A={};t&2&&(A.$$scope={dirty:t,ctx:e}),Z.$set(A)},i(e){Le||(g($.$$.fragment,e),g(x.$$.fragment,e),g(H.$$.fragment,e),g(G.$$.fragment,e),g(V.$$.fragment,e),g(E.$$.fragment,e),g(D.$$.fragment,e),g(B.$$.fragment,e),g(U.$$.fragment,e),g(W.$$.fragment,e),g(F.$$.fragment,e),g(R.$$.fragment,e),g(Z.$$.fragment,e),g(X.$$.fragment,e),g(S.$$.fragment,e),g(z.$$.fragment,e),g(Q.$$.fragment,e),g(Y.$$.fragment,e),g(K.$$.fragment,e),Le=!0)},o(e){f($.$$.fragment,e),f(x.$$.fragment,e),f(H.$$.fragment,e),f(G.$$.fragment,e),f(V.$$.fragment,e),f(E.$$.fragment,e),f(D.$$.fragment,e),f(B.$$.fragment,e),f(U.$$.fragment,e),f(W.$$.fragment,e),f(F.$$.fragment,e),f(R.$$.fragment,e),f(Z.$$.fragment,e),f(X.$$.fragment,e),f(S.$$.fragment,e),f(z.$$.fragment,e),f(Q.$$.fragment,e),f(Y.$$.fragment,e),f(K.$$.fragment,e),Le=!1},d(e){e&&(n(C),n(v),n(_),n(l),n(ge),n(fe),n(he),n(y),n(_e),n($e),n(J),n(be),n(ve),n(j),n(xe),n(Te),n(p),n(ye),n(we),n(Me),n(w),n(Ce),n(Je),n(I),n(je),n(Ie),n(ue)),n(d),h($,e),h(x,e),h(H,e),h(G,e),h(V),h(E),h(D,e),h(B),h(U,e),h(W),h(F,e),h(R),h(Z),h(X,e),h(S,e),h(z),h(Q,e),h(Y),h(K,e)}}}const vt='{"title":"Kernels API Reference","local":"kernels-api-reference","sections":[{"title":"Main Functions","local":"main-functions","sections":[{"title":"get_kernel","local":"kernels.get_kernel","sections":[],"depth":3},{"title":"get_local_kernel","local":"kernels.get_local_kernel","sections":[],"depth":3},{"title":"has_kernel","local":"kernels.has_kernel","sections":[],"depth":3},{"title":"get_loaded_kernels","local":"kernels.get_loaded_kernels","sections":[],"depth":3}],"depth":2},{"title":"Loading locked kernels","local":"loading-locked-kernels","sections":[{"title":"load_kernel","local":"kernels.load_kernel","sections":[],"depth":3},{"title":"get_locked_kernel","local":"kernels.get_locked_kernel","sections":[],"depth":3}],"depth":2}],"depth":1}';function xt(O){return mt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class jt extends kt{constructor(d){super(),ut(this,d,xt,bt,pt,{})}}export{jt as component}; | |
Xet Storage Details
- Size:
- 20.4 kB
- Xet hash:
- 71f99f8c27bc169b42854c89e76e4a3a1c7d0c995a199923466a669fc0b10b85
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.