Buckets:

HuggingFaceDocBuilder's picture
download
raw
20.2 kB
import{s as dt,o as it,n as at}from"../chunks/scheduler.f3b1e791.js";import{S as ct,i as pt,e as i,s as o,c as p,h as mt,a as c,d as n,b as r,f as Z,g as m,j as y,k as P,l as s,m as a,n as k,t as u,o as f,p as g}from"../chunks/index.023a9934.js";import{C as kt}from"../chunks/CopyLLMTxtMenu.3af54d86.js";import{D as me,E as lt}from"../chunks/ExampleCodeBlock.225c1249.js";import{C as st}from"../chunks/CodeBlock.ecff0838.js";import{H as N,E as ut}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.699f7a6c.js";function ft(A){let d,C="Example:",b,h,$;return h=new st({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">&quot;kernels-community/relu&quot;</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">&quot;cuda&quot;</span>)
out = torch.empty_like(x)
result = activation.relu(out, x)`,wrap:!1}}),{c(){d=i("p"),d.textContent=C,b=o(),p(h.$$.fragment)},l(l){d=c(l,"P",{"data-svelte-h":!0}),y(d)!=="svelte-11lpom8"&&(d.textContent=C),b=r(l),m(h.$$.fragment,l)},m(l,v){a(l,d,v),a(l,b,v),k(h,l,v),$=!0},p:at,i(l){$||(u(h.$$.fragment,l),$=!0)},o(l){f(h.$$.fragment,l),$=!1},d(l){l&&(n(d),n(b)),g(h,l)}}}function gt(A){let d,C="Example:",b,h,$;return h=new st({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">&quot;kernels-community/activation&quot;</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,b=o(),p(h.$$.fragment)},l(l){d=c(l,"P",{"data-svelte-h":!0}),y(d)!=="svelte-11lpom8"&&(d.textContent=C),b=r(l),m(h.$$.fragment,l)},m(l,v){a(l,d,v),a(l,b,v),k(h,l,v),$=!0},p:at,i(l){$||(u(h.$$.fragment,l),$=!0)},o(l){f(h.$$.fragment,l),$=!1},d(l){l&&(n(d),n(b)),g(h,l)}}}function ht(A){let d,C,b,h,$,l,v,ue,G,fe,H,ge,T,V,Le,O,Se="Load a kernel from the kernel hub.",Ze,ee,ze=`This function downloads a kernel to the local Hugging Face Hub cache directory (if it was not downloaded before)
and then loads the kernel.`,Pe,E,he,D,_e,J,B,Ge,te,Ye="Import a kernel from a local kernel repository path.",$e,W,be,j,F,He,ne,Qe="Check whether a kernel build exists for the current environment (Torch version and compute framework).",ve,U,xe,_,R,Ve,oe,Ke="Return a snapshot of every kernel that has been loaded into the current process.",De,re,Ae="Each entry is a <code>kernels.utils.LoadedKernel</code> dataclass with fields:",Be,le,Oe=`<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,ae,et=`<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,se,tt="The returned list is a new list; mutating it does not affect the registry.",Ue,L,ye,X,Te,q,we,w,S,Re,de,nt="Get a pre-downloaded, locked kernel.",Xe,ie,ot="If <code>lockfile</code> is not specified, the lockfile will be loaded from the caller’s package metadata.",Me,z,Ce,I,Y,qe,ce,rt="Get a kernel using a lock file.",Je,Q,je,ke,Ie;return $=new kt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),v=new N({props:{title:"Kernels API Reference",local:"kernels-api-reference",headingTag:"h1"}}),G=new N({props:{title:"Main Functions",local:"main-functions",headingTag:"h2"}}),H=new N({props:{title:"get_kernel",local:"kernels.get_kernel",headingTag:"h3"}}),V=new me({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>) &#x2014;
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>&quot;main&quot;</code>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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_490/kernels/src/kernels/utils.py#L298",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 lt({props:{anchor:"kernels.get_kernel.example",$$slots:{default:[ft]},$$scope:{ctx:A}}}),D=new N({props:{title:"get_local_kernel",local:"kernels.get_local_kernel",headingTag:"h3"}}),B=new me({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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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_490/kernels/src/kernels/utils.py#L357",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>
`}}),W=new N({props:{title:"has_kernel",local:"kernels.has_kernel",headingTag:"h3"}}),F=new me({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>) &#x2014;
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>&quot;main&quot;</code>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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_490/kernels/src/kernels/utils.py#L393",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>
`}}),U=new N({props:{title:"get_loaded_kernels",local:"kernels.get_loaded_kernels",headingTag:"h3"}}),R=new me({props:{name:"kernels.get_loaded_kernels",anchor:"kernels.get_loaded_kernels",parameters:[],source:"https://github.com/huggingface/kernels/blob/vr_490/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>
`}}),L=new lt({props:{anchor:"kernels.get_loaded_kernels.example",$$slots:{default:[gt]},$$scope:{ctx:A}}}),X=new N({props:{title:"Loading locked kernels",local:"loading-locked-kernels",headingTag:"h2"}}),q=new N({props:{title:"load_kernel",local:"kernels.load_kernel",headingTag:"h3"}}),S=new me({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>) &#x2014;
The Hub repository containing the kernel.`,name:"repo_id"},{anchor:"kernels.load_kernel.lockfile",description:`<strong>lockfile</strong> (<code>Path</code>, <em>optional</em>) &#x2014;
Path to the lockfile. If not provided, the lockfile will be loaded from the caller&#x2019;s package metadata.`,name:"lockfile"},{anchor:"kernels.load_kernel.backend",description:`<strong>backend</strong> (<code>str</code>, <em>optional</em>) &#x2014;
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_490/kernels/src/kernels/utils.py#L438",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>
`}}),z=new N({props:{title:"get_locked_kernel",local:"kernels.get_locked_kernel",headingTag:"h3"}}),Y=new me({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>) &#x2014;
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>) &#x2014;
Whether to only use local files and not download from the Hub.`,name:"local_files_only"}],source:"https://github.com/huggingface/kernels/blob/vr_490/kernels/src/kernels/utils.py#L511",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 ut({props:{source:"https://github.com/huggingface/kernels/blob/main/docs/source/api/kernels.md"}}),{c(){d=i("meta"),C=o(),b=i("p"),h=o(),p($.$$.fragment),l=o(),p(v.$$.fragment),ue=o(),p(G.$$.fragment),fe=o(),p(H.$$.fragment),ge=o(),T=i("div"),p(V.$$.fragment),Le=o(),O=i("p"),O.textContent=Se,Ze=o(),ee=i("p"),ee.textContent=ze,Pe=o(),p(E.$$.fragment),he=o(),p(D.$$.fragment),_e=o(),J=i("div"),p(B.$$.fragment),Ge=o(),te=i("p"),te.textContent=Ye,$e=o(),p(W.$$.fragment),be=o(),j=i("div"),p(F.$$.fragment),He=o(),ne=i("p"),ne.textContent=Qe,ve=o(),p(U.$$.fragment),xe=o(),_=i("div"),p(R.$$.fragment),Ve=o(),oe=i("p"),oe.textContent=Ke,De=o(),re=i("p"),re.innerHTML=Ae,Be=o(),le=i("ul"),le.innerHTML=Oe,We=o(),ae=i("p"),ae.innerHTML=et,Fe=o(),se=i("p"),se.textContent=tt,Ue=o(),p(L.$$.fragment),ye=o(),p(X.$$.fragment),Te=o(),p(q.$$.fragment),we=o(),w=i("div"),p(S.$$.fragment),Re=o(),de=i("p"),de.textContent=nt,Xe=o(),ie=i("p"),ie.innerHTML=ot,Me=o(),p(z.$$.fragment),Ce=o(),I=i("div"),p(Y.$$.fragment),qe=o(),ce=i("p"),ce.textContent=rt,Je=o(),p(Q.$$.fragment),je=o(),ke=i("p"),this.h()},l(e){const t=mt("svelte-u9bgzb",document.head);d=c(t,"META",{name:!0,content:!0}),t.forEach(n),C=r(e),b=c(e,"P",{}),Z(b).forEach(n),h=r(e),m($.$$.fragment,e),l=r(e),m(v.$$.fragment,e),ue=r(e),m(G.$$.fragment,e),fe=r(e),m(H.$$.fragment,e),ge=r(e),T=c(e,"DIV",{class:!0});var M=Z(T);m(V.$$.fragment,M),Le=r(M),O=c(M,"P",{"data-svelte-h":!0}),y(O)!=="svelte-v6pak5"&&(O.textContent=Se),Ze=r(M),ee=c(M,"P",{"data-svelte-h":!0}),y(ee)!=="svelte-1adbar6"&&(ee.textContent=ze),Pe=r(M),m(E.$$.fragment,M),M.forEach(n),he=r(e),m(D.$$.fragment,e),_e=r(e),J=c(e,"DIV",{class:!0});var K=Z(J);m(B.$$.fragment,K),Ge=r(K),te=c(K,"P",{"data-svelte-h":!0}),y(te)!=="svelte-ysgxyb"&&(te.textContent=Ye),K.forEach(n),$e=r(e),m(W.$$.fragment,e),be=r(e),j=c(e,"DIV",{class:!0});var Ne=Z(j);m(F.$$.fragment,Ne),He=r(Ne),ne=c(Ne,"P",{"data-svelte-h":!0}),y(ne)!=="svelte-oel36i"&&(ne.textContent=Qe),Ne.forEach(n),ve=r(e),m(U.$$.fragment,e),xe=r(e),_=c(e,"DIV",{class:!0});var x=Z(_);m(R.$$.fragment,x),Ve=r(x),oe=c(x,"P",{"data-svelte-h":!0}),y(oe)!=="svelte-hargcl"&&(oe.textContent=Ke),De=r(x),re=c(x,"P",{"data-svelte-h":!0}),y(re)!=="svelte-1c0wljt"&&(re.innerHTML=Ae),Be=r(x),le=c(x,"UL",{"data-svelte-h":!0}),y(le)!=="svelte-kaki5m"&&(le.innerHTML=Oe),We=r(x),ae=c(x,"P",{"data-svelte-h":!0}),y(ae)!=="svelte-l35kvz"&&(ae.innerHTML=et),Fe=r(x),se=c(x,"P",{"data-svelte-h":!0}),y(se)!=="svelte-bvc5k7"&&(se.textContent=tt),Ue=r(x),m(L.$$.fragment,x),x.forEach(n),ye=r(e),m(X.$$.fragment,e),Te=r(e),m(q.$$.fragment,e),we=r(e),w=c(e,"DIV",{class:!0});var pe=Z(w);m(S.$$.fragment,pe),Re=r(pe),de=c(pe,"P",{"data-svelte-h":!0}),y(de)!=="svelte-1s7s7e5"&&(de.textContent=nt),Xe=r(pe),ie=c(pe,"P",{"data-svelte-h":!0}),y(ie)!=="svelte-16266qf"&&(ie.innerHTML=ot),pe.forEach(n),Me=r(e),m(z.$$.fragment,e),Ce=r(e),I=c(e,"DIV",{class:!0});var Ee=Z(I);m(Y.$$.fragment,Ee),qe=r(Ee),ce=c(Ee,"P",{"data-svelte-h":!0}),y(ce)!=="svelte-ui0v8u"&&(ce.textContent=rt),Ee.forEach(n),Je=r(e),m(Q.$$.fragment,e),je=r(e),ke=c(e,"P",{}),Z(ke).forEach(n),this.h()},h(){P(d,"name","hf:doc:metadata"),P(d,"content",_t),P(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(_,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(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,b,t),a(e,h,t),k($,e,t),a(e,l,t),k(v,e,t),a(e,ue,t),k(G,e,t),a(e,fe,t),k(H,e,t),a(e,ge,t),a(e,T,t),k(V,T,null),s(T,Le),s(T,O),s(T,Ze),s(T,ee),s(T,Pe),k(E,T,null),a(e,he,t),k(D,e,t),a(e,_e,t),a(e,J,t),k(B,J,null),s(J,Ge),s(J,te),a(e,$e,t),k(W,e,t),a(e,be,t),a(e,j,t),k(F,j,null),s(j,He),s(j,ne),a(e,ve,t),k(U,e,t),a(e,xe,t),a(e,_,t),k(R,_,null),s(_,Ve),s(_,oe),s(_,De),s(_,re),s(_,Be),s(_,le),s(_,We),s(_,ae),s(_,Fe),s(_,se),s(_,Ue),k(L,_,null),a(e,ye,t),k(X,e,t),a(e,Te,t),k(q,e,t),a(e,we,t),a(e,w,t),k(S,w,null),s(w,Re),s(w,de),s(w,Xe),s(w,ie),a(e,Me,t),k(z,e,t),a(e,Ce,t),a(e,I,t),k(Y,I,null),s(I,qe),s(I,ce),a(e,Je,t),k(Q,e,t),a(e,je,t),a(e,ke,t),Ie=!0},p(e,[t]){const M={};t&2&&(M.$$scope={dirty:t,ctx:e}),E.$set(M);const K={};t&2&&(K.$$scope={dirty:t,ctx:e}),L.$set(K)},i(e){Ie||(u($.$$.fragment,e),u(v.$$.fragment,e),u(G.$$.fragment,e),u(H.$$.fragment,e),u(V.$$.fragment,e),u(E.$$.fragment,e),u(D.$$.fragment,e),u(B.$$.fragment,e),u(W.$$.fragment,e),u(F.$$.fragment,e),u(U.$$.fragment,e),u(R.$$.fragment,e),u(L.$$.fragment,e),u(X.$$.fragment,e),u(q.$$.fragment,e),u(S.$$.fragment,e),u(z.$$.fragment,e),u(Y.$$.fragment,e),u(Q.$$.fragment,e),Ie=!0)},o(e){f($.$$.fragment,e),f(v.$$.fragment,e),f(G.$$.fragment,e),f(H.$$.fragment,e),f(V.$$.fragment,e),f(E.$$.fragment,e),f(D.$$.fragment,e),f(B.$$.fragment,e),f(W.$$.fragment,e),f(F.$$.fragment,e),f(U.$$.fragment,e),f(R.$$.fragment,e),f(L.$$.fragment,e),f(X.$$.fragment,e),f(q.$$.fragment,e),f(S.$$.fragment,e),f(z.$$.fragment,e),f(Y.$$.fragment,e),f(Q.$$.fragment,e),Ie=!1},d(e){e&&(n(C),n(b),n(h),n(l),n(ue),n(fe),n(ge),n(T),n(he),n(_e),n(J),n($e),n(be),n(j),n(ve),n(xe),n(_),n(ye),n(Te),n(we),n(w),n(Me),n(Ce),n(I),n(Je),n(je),n(ke)),n(d),g($,e),g(v,e),g(G,e),g(H,e),g(V),g(E),g(D,e),g(B),g(W,e),g(F),g(U,e),g(R),g(L),g(X,e),g(q,e),g(S),g(z,e),g(Y),g(Q,e)}}}const _t='{"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 $t(A){return it(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Mt extends ct{constructor(d){super(),pt(this,d,$t,ht,dt,{})}}export{Mt as component};

Xet Storage Details

Size:
20.2 kB
·
Xet hash:
4e3365186221bb36b4d1ad3634906dd9db8cbda26731b6167f3de27120bbd8a5

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