Buckets:
| import{s as He,n as Pe,o as ye}from"../chunks/scheduler.f3b1e791.js";import{S as ke,i as je,e as a,s as c,c as r,h as Ae,a as x,d as l,b as n,f as Ue,g as o,j as p,k as be,l as Ee,m as i,n as u,t as d,o as m,p as h}from"../chunks/index.023a9934.js";import{C as De}from"../chunks/CopyLLMTxtMenu.6a283b74.js";import{H as $,E as ze}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.69a3f880.js";function Se(pe){let s,q,B,F,f,G,_,K,v,$e=`A kernel can be compliant for a specific compute framework (e.g. CUDA) or | |
| architecture (e.g. x86_64). For compliance with a compute framework and | |
| architecture combination, all the build variants listed below must be | |
| available. This list will be updated as new PyTorch versions are released.`,I,w,J,g,se="<li><code>torch210-cpu-aarch64-darwin</code></li> <li><code>torch211-cpu-aarch64-darwin</code></li> <li><code>torch212-cpu-aarch64-darwin</code></li>",N,T,Q,C,fe="<li><code>torch210-metal-aarch64-darwin</code></li> <li><code>torch211-metal-aarch64-darwin</code></li> <li><code>torch212-metal-aarch64-darwin</code></li>",V,L,W,M,_e="<li><code>torch210-cxx11-cpu-aarch64-linux</code></li> <li><code>torch211-cxx11-cpu-aarch64-linux</code></li> <li><code>torch212-cxx11-cpu-aarch64-linux</code></li>",Y,U,Z,b,ve="<li><code>torch210-cxx11-cu126-aarch64-linux</code></li> <li><code>torch210-cxx11-cu128-aarch64-linux</code></li> <li><code>torch210-cxx11-cu130-aarch64-linux</code></li> <li><code>torch211-cxx11-cu126-aarch64-linux</code></li> <li><code>torch211-cxx11-cu128-aarch64-linux</code></li> <li><code>torch211-cxx11-cu130-aarch64-linux</code></li> <li><code>torch212-cxx11-cu126-aarch64-linux</code></li> <li><code>torch212-cxx11-cu130-aarch64-linux</code></li> <li><code>torch212-cxx11-cu132-aarch64-linux</code></li>",ee,H,te,P,we="<li><code>torch210-cxx11-cpu-x86_64-linux</code></li> <li><code>torch211-cxx11-cpu-x86_64-linux</code></li> <li><code>torch212-cxx11-cpu-x86_64-linux</code></li>",le,y,ie,k,ge="<li><code>torch210-cxx11-cu126-x86_64-linux</code></li> <li><code>torch210-cxx11-cu128-x86_64-linux</code></li> <li><code>torch210-cxx11-cu130-x86_64-linux</code></li> <li><code>torch211-cxx11-cu126-x86_64-linux</code></li> <li><code>torch211-cxx11-cu128-x86_64-linux</code></li> <li><code>torch211-cxx11-cu130-x86_64-linux</code></li> <li><code>torch212-cxx11-cu126-x86_64-linux</code></li> <li><code>torch212-cxx11-cu130-x86_64-linux</code></li> <li><code>torch212-cxx11-cu132-x86_64-linux</code></li>",ce,j,ne,A,Te="<li><code>torch210-cxx11-rocm70-x86_64-linux</code></li> <li><code>torch210-cxx11-rocm71-x86_64-linux</code></li> <li><code>torch211-cxx11-rocm71-x86_64-linux</code></li> <li><code>torch211-cxx11-rocm72-x86_64-linux</code></li> <li><code>torch212-cxx11-rocm71-x86_64-linux</code></li> <li><code>torch212-cxx11-rocm72-x86_64-linux</code></li>",ae,E,xe,D,Ce="<li><code>torch210-cxx11-xpu20253-x86_64-linux</code></li> <li><code>torch211-cxx11-xpu20253-x86_64-linux</code></li> <li><code>torch212-cxx11-xpu20253-x86_64-linux</code></li>",re,z,oe,S,Le=`Kernels that are in pure Python (e.g. Triton kernels) only need to provide | |
| one or more of the following variants:`,ue,O,Me="<li><code>torch-cpu</code></li> <li><code>torch-cuda</code></li> <li><code>torch-metal</code></li> <li><code>torch-rocm</code></li> <li><code>torch-xpu</code></li>",de,R,me,X,he;return f=new De({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),_=new $({props:{title:"Build variants",local:"build-variants",headingTag:"h1"}}),w=new $({props:{title:"CPU aarch64-darwin",local:"cpu-aarch64-darwin",headingTag:"h2"}}),T=new $({props:{title:"Metal aarch64-darwin",local:"metal-aarch64-darwin",headingTag:"h2"}}),L=new $({props:{title:"CPU aarch64-linux",local:"cpu-aarch64-linux",headingTag:"h2"}}),U=new $({props:{title:"CUDA aarch64-linux",local:"cuda-aarch64-linux",headingTag:"h2"}}),H=new $({props:{title:"CPU x86_64-linux",local:"cpu-x8664-linux",headingTag:"h2"}}),y=new $({props:{title:"CUDA x86_64-linux",local:"cuda-x8664-linux",headingTag:"h2"}}),j=new $({props:{title:"ROCm x86_64-linux",local:"rocm-x8664-linux",headingTag:"h2"}}),E=new $({props:{title:"XPU x86_64-linux",local:"xpu-x8664-linux",headingTag:"h2"}}),z=new $({props:{title:"Python-only kernels",local:"python-only-kernels",headingTag:"h2"}}),R=new ze({props:{source:"https://github.com/huggingface/kernels/blob/main/docs/source/builder/build-variants.md"}}),{c(){s=a("meta"),q=c(),B=a("p"),F=c(),r(f.$$.fragment),G=c(),r(_.$$.fragment),K=c(),v=a("p"),v.textContent=$e,I=c(),r(w.$$.fragment),J=c(),g=a("ul"),g.innerHTML=se,N=c(),r(T.$$.fragment),Q=c(),C=a("ul"),C.innerHTML=fe,V=c(),r(L.$$.fragment),W=c(),M=a("ul"),M.innerHTML=_e,Y=c(),r(U.$$.fragment),Z=c(),b=a("ul"),b.innerHTML=ve,ee=c(),r(H.$$.fragment),te=c(),P=a("ul"),P.innerHTML=we,le=c(),r(y.$$.fragment),ie=c(),k=a("ul"),k.innerHTML=ge,ce=c(),r(j.$$.fragment),ne=c(),A=a("ul"),A.innerHTML=Te,ae=c(),r(E.$$.fragment),xe=c(),D=a("ul"),D.innerHTML=Ce,re=c(),r(z.$$.fragment),oe=c(),S=a("p"),S.textContent=Le,ue=c(),O=a("ul"),O.innerHTML=Me,de=c(),r(R.$$.fragment),me=c(),X=a("p"),this.h()},l(e){const t=Ae("svelte-u9bgzb",document.head);s=x(t,"META",{name:!0,content:!0}),t.forEach(l),q=n(e),B=x(e,"P",{}),Ue(B).forEach(l),F=n(e),o(f.$$.fragment,e),G=n(e),o(_.$$.fragment,e),K=n(e),v=x(e,"P",{"data-svelte-h":!0}),p(v)!=="svelte-1jx18hk"&&(v.textContent=$e),I=n(e),o(w.$$.fragment,e),J=n(e),g=x(e,"UL",{"data-svelte-h":!0}),p(g)!=="svelte-19xigm3"&&(g.innerHTML=se),N=n(e),o(T.$$.fragment,e),Q=n(e),C=x(e,"UL",{"data-svelte-h":!0}),p(C)!=="svelte-28vtjw"&&(C.innerHTML=fe),V=n(e),o(L.$$.fragment,e),W=n(e),M=x(e,"UL",{"data-svelte-h":!0}),p(M)!=="svelte-1d8pova"&&(M.innerHTML=_e),Y=n(e),o(U.$$.fragment,e),Z=n(e),b=x(e,"UL",{"data-svelte-h":!0}),p(b)!=="svelte-1skuzrj"&&(b.innerHTML=ve),ee=n(e),o(H.$$.fragment,e),te=n(e),P=x(e,"UL",{"data-svelte-h":!0}),p(P)!=="svelte-97rnls"&&(P.innerHTML=we),le=n(e),o(y.$$.fragment,e),ie=n(e),k=x(e,"UL",{"data-svelte-h":!0}),p(k)!=="svelte-9x9ext"&&(k.innerHTML=ge),ce=n(e),o(j.$$.fragment,e),ne=n(e),A=x(e,"UL",{"data-svelte-h":!0}),p(A)!=="svelte-78z24p"&&(A.innerHTML=Te),ae=n(e),o(E.$$.fragment,e),xe=n(e),D=x(e,"UL",{"data-svelte-h":!0}),p(D)!=="svelte-13juejd"&&(D.innerHTML=Ce),re=n(e),o(z.$$.fragment,e),oe=n(e),S=x(e,"P",{"data-svelte-h":!0}),p(S)!=="svelte-1vxjwd6"&&(S.textContent=Le),ue=n(e),O=x(e,"UL",{"data-svelte-h":!0}),p(O)!=="svelte-837bvb"&&(O.innerHTML=Me),de=n(e),o(R.$$.fragment,e),me=n(e),X=x(e,"P",{}),Ue(X).forEach(l),this.h()},h(){be(s,"name","hf:doc:metadata"),be(s,"content",Oe)},m(e,t){Ee(document.head,s),i(e,q,t),i(e,B,t),i(e,F,t),u(f,e,t),i(e,G,t),u(_,e,t),i(e,K,t),i(e,v,t),i(e,I,t),u(w,e,t),i(e,J,t),i(e,g,t),i(e,N,t),u(T,e,t),i(e,Q,t),i(e,C,t),i(e,V,t),u(L,e,t),i(e,W,t),i(e,M,t),i(e,Y,t),u(U,e,t),i(e,Z,t),i(e,b,t),i(e,ee,t),u(H,e,t),i(e,te,t),i(e,P,t),i(e,le,t),u(y,e,t),i(e,ie,t),i(e,k,t),i(e,ce,t),u(j,e,t),i(e,ne,t),i(e,A,t),i(e,ae,t),u(E,e,t),i(e,xe,t),i(e,D,t),i(e,re,t),u(z,e,t),i(e,oe,t),i(e,S,t),i(e,ue,t),i(e,O,t),i(e,de,t),u(R,e,t),i(e,me,t),i(e,X,t),he=!0},p:Pe,i(e){he||(d(f.$$.fragment,e),d(_.$$.fragment,e),d(w.$$.fragment,e),d(T.$$.fragment,e),d(L.$$.fragment,e),d(U.$$.fragment,e),d(H.$$.fragment,e),d(y.$$.fragment,e),d(j.$$.fragment,e),d(E.$$.fragment,e),d(z.$$.fragment,e),d(R.$$.fragment,e),he=!0)},o(e){m(f.$$.fragment,e),m(_.$$.fragment,e),m(w.$$.fragment,e),m(T.$$.fragment,e),m(L.$$.fragment,e),m(U.$$.fragment,e),m(H.$$.fragment,e),m(y.$$.fragment,e),m(j.$$.fragment,e),m(E.$$.fragment,e),m(z.$$.fragment,e),m(R.$$.fragment,e),he=!1},d(e){e&&(l(q),l(B),l(F),l(G),l(K),l(v),l(I),l(J),l(g),l(N),l(Q),l(C),l(V),l(W),l(M),l(Y),l(Z),l(b),l(ee),l(te),l(P),l(le),l(ie),l(k),l(ce),l(ne),l(A),l(ae),l(xe),l(D),l(re),l(oe),l(S),l(ue),l(O),l(de),l(me),l(X)),l(s),h(f,e),h(_,e),h(w,e),h(T,e),h(L,e),h(U,e),h(H,e),h(y,e),h(j,e),h(E,e),h(z,e),h(R,e)}}}const Oe='{"title":"Build variants","local":"build-variants","sections":[{"title":"CPU aarch64-darwin","local":"cpu-aarch64-darwin","sections":[],"depth":2},{"title":"Metal aarch64-darwin","local":"metal-aarch64-darwin","sections":[],"depth":2},{"title":"CPU aarch64-linux","local":"cpu-aarch64-linux","sections":[],"depth":2},{"title":"CUDA aarch64-linux","local":"cuda-aarch64-linux","sections":[],"depth":2},{"title":"CPU x86_64-linux","local":"cpu-x8664-linux","sections":[],"depth":2},{"title":"CUDA x86_64-linux","local":"cuda-x8664-linux","sections":[],"depth":2},{"title":"ROCm x86_64-linux","local":"rocm-x8664-linux","sections":[],"depth":2},{"title":"XPU x86_64-linux","local":"xpu-x8664-linux","sections":[],"depth":2},{"title":"Python-only kernels","local":"python-only-kernels","sections":[],"depth":2}],"depth":1}';function Re(pe){return ye(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ge extends ke{constructor(s){super(),je(this,s,Re,Se,He,{})}}export{Ge as component}; | |
Xet Storage Details
- Size:
- 8.9 kB
- Xet hash:
- 3e4a7111345bc230700cf736b6313203d14973bcd48a5a8be85783b55749ddc5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.