Buckets:
| import{s as He,n as Pe,o as ye}from"../chunks/scheduler.f3b1e791.js";import{S as ke,i as Ae,e as c,s as n,c as u,h as Ee,a as r,d as l,b as a,f as Me,g as x,j as p,k as Ue,l as je,m as i,n as o,t as m,o as d,p as $}from"../chunks/index.023a9934.js";import{C as De}from"../chunks/CopyLLMTxtMenu.c780467c.js";import{H as s,E as Se}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.fb377ec3.js";function Oe(pe){let h,q,B,F,f,G,_,K,v,se=`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,he="<li><code>torch211-cpu-aarch64-darwin</code></li> <li><code>torch212-cpu-aarch64-darwin</code></li>",N,T,Q,C,fe="<li><code>torch211-metal-aarch64-darwin</code></li> <li><code>torch212-metal-aarch64-darwin</code></li>",V,L,W,b,_e="<li><code>torch211-cxx11-cpu-aarch64-linux</code></li> <li><code>torch212-cxx11-cpu-aarch64-linux</code></li>",Y,M,Z,U,ve="<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>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>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>",ne,A,ae,E,Te="<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>",ce,j,re,D,Ce="<li><code>torch211-cxx11-xpu20253-x86_64-linux</code></li> <li><code>torch212-cxx11-xpu20253-x86_64-linux</code></li>",ue,S,xe,O,Le=`Kernels that are in pure Python (e.g. Triton kernels) only need to provide | |
| one or more of the following variants:`,oe,R,be="<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>",me,z,de,X,$e;return f=new De({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),_=new s({props:{title:"Build variants",local:"build-variants",headingTag:"h1"}}),w=new s({props:{title:"CPU aarch64-darwin",local:"cpu-aarch64-darwin",headingTag:"h2"}}),T=new s({props:{title:"Metal aarch64-darwin",local:"metal-aarch64-darwin",headingTag:"h2"}}),L=new s({props:{title:"CPU aarch64-linux",local:"cpu-aarch64-linux",headingTag:"h2"}}),M=new s({props:{title:"CUDA aarch64-linux",local:"cuda-aarch64-linux",headingTag:"h2"}}),H=new s({props:{title:"CPU x86_64-linux",local:"cpu-x8664-linux",headingTag:"h2"}}),y=new s({props:{title:"CUDA x86_64-linux",local:"cuda-x8664-linux",headingTag:"h2"}}),A=new s({props:{title:"ROCm x86_64-linux",local:"rocm-x8664-linux",headingTag:"h2"}}),j=new s({props:{title:"XPU x86_64-linux",local:"xpu-x8664-linux",headingTag:"h2"}}),S=new s({props:{title:"Python-only kernels",local:"python-only-kernels",headingTag:"h2"}}),z=new Se({props:{source:"https://github.com/huggingface/kernels/blob/main/docs/source/builder/build-variants.md"}}),{c(){h=c("meta"),q=n(),B=c("p"),F=n(),u(f.$$.fragment),G=n(),u(_.$$.fragment),K=n(),v=c("p"),v.textContent=se,I=n(),u(w.$$.fragment),J=n(),g=c("ul"),g.innerHTML=he,N=n(),u(T.$$.fragment),Q=n(),C=c("ul"),C.innerHTML=fe,V=n(),u(L.$$.fragment),W=n(),b=c("ul"),b.innerHTML=_e,Y=n(),u(M.$$.fragment),Z=n(),U=c("ul"),U.innerHTML=ve,ee=n(),u(H.$$.fragment),te=n(),P=c("ul"),P.innerHTML=we,le=n(),u(y.$$.fragment),ie=n(),k=c("ul"),k.innerHTML=ge,ne=n(),u(A.$$.fragment),ae=n(),E=c("ul"),E.innerHTML=Te,ce=n(),u(j.$$.fragment),re=n(),D=c("ul"),D.innerHTML=Ce,ue=n(),u(S.$$.fragment),xe=n(),O=c("p"),O.textContent=Le,oe=n(),R=c("ul"),R.innerHTML=be,me=n(),u(z.$$.fragment),de=n(),X=c("p"),this.h()},l(e){const t=Ee("svelte-u9bgzb",document.head);h=r(t,"META",{name:!0,content:!0}),t.forEach(l),q=a(e),B=r(e,"P",{}),Me(B).forEach(l),F=a(e),x(f.$$.fragment,e),G=a(e),x(_.$$.fragment,e),K=a(e),v=r(e,"P",{"data-svelte-h":!0}),p(v)!=="svelte-1jx18hk"&&(v.textContent=se),I=a(e),x(w.$$.fragment,e),J=a(e),g=r(e,"UL",{"data-svelte-h":!0}),p(g)!=="svelte-8oblov"&&(g.innerHTML=he),N=a(e),x(T.$$.fragment,e),Q=a(e),C=r(e,"UL",{"data-svelte-h":!0}),p(C)!=="svelte-vdbsej"&&(C.innerHTML=fe),V=a(e),x(L.$$.fragment,e),W=a(e),b=r(e,"UL",{"data-svelte-h":!0}),p(b)!=="svelte-y85i7h"&&(b.innerHTML=_e),Y=a(e),x(M.$$.fragment,e),Z=a(e),U=r(e,"UL",{"data-svelte-h":!0}),p(U)!=="svelte-v5w5ii"&&(U.innerHTML=ve),ee=a(e),x(H.$$.fragment,e),te=a(e),P=r(e,"UL",{"data-svelte-h":!0}),p(P)!=="svelte-18ju0vf"&&(P.innerHTML=we),le=a(e),x(y.$$.fragment,e),ie=a(e),k=r(e,"UL",{"data-svelte-h":!0}),p(k)!=="svelte-1ae231e"&&(k.innerHTML=ge),ne=a(e),x(A.$$.fragment,e),ae=a(e),E=r(e,"UL",{"data-svelte-h":!0}),p(E)!=="svelte-4im4pe"&&(E.innerHTML=Te),ce=a(e),x(j.$$.fragment,e),re=a(e),D=r(e,"UL",{"data-svelte-h":!0}),p(D)!=="svelte-h7kgbr"&&(D.innerHTML=Ce),ue=a(e),x(S.$$.fragment,e),xe=a(e),O=r(e,"P",{"data-svelte-h":!0}),p(O)!=="svelte-1vxjwd6"&&(O.textContent=Le),oe=a(e),R=r(e,"UL",{"data-svelte-h":!0}),p(R)!=="svelte-837bvb"&&(R.innerHTML=be),me=a(e),x(z.$$.fragment,e),de=a(e),X=r(e,"P",{}),Me(X).forEach(l),this.h()},h(){Ue(h,"name","hf:doc:metadata"),Ue(h,"content",Re)},m(e,t){je(document.head,h),i(e,q,t),i(e,B,t),i(e,F,t),o(f,e,t),i(e,G,t),o(_,e,t),i(e,K,t),i(e,v,t),i(e,I,t),o(w,e,t),i(e,J,t),i(e,g,t),i(e,N,t),o(T,e,t),i(e,Q,t),i(e,C,t),i(e,V,t),o(L,e,t),i(e,W,t),i(e,b,t),i(e,Y,t),o(M,e,t),i(e,Z,t),i(e,U,t),i(e,ee,t),o(H,e,t),i(e,te,t),i(e,P,t),i(e,le,t),o(y,e,t),i(e,ie,t),i(e,k,t),i(e,ne,t),o(A,e,t),i(e,ae,t),i(e,E,t),i(e,ce,t),o(j,e,t),i(e,re,t),i(e,D,t),i(e,ue,t),o(S,e,t),i(e,xe,t),i(e,O,t),i(e,oe,t),i(e,R,t),i(e,me,t),o(z,e,t),i(e,de,t),i(e,X,t),$e=!0},p:Pe,i(e){$e||(m(f.$$.fragment,e),m(_.$$.fragment,e),m(w.$$.fragment,e),m(T.$$.fragment,e),m(L.$$.fragment,e),m(M.$$.fragment,e),m(H.$$.fragment,e),m(y.$$.fragment,e),m(A.$$.fragment,e),m(j.$$.fragment,e),m(S.$$.fragment,e),m(z.$$.fragment,e),$e=!0)},o(e){d(f.$$.fragment,e),d(_.$$.fragment,e),d(w.$$.fragment,e),d(T.$$.fragment,e),d(L.$$.fragment,e),d(M.$$.fragment,e),d(H.$$.fragment,e),d(y.$$.fragment,e),d(A.$$.fragment,e),d(j.$$.fragment,e),d(S.$$.fragment,e),d(z.$$.fragment,e),$e=!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(b),l(Y),l(Z),l(U),l(ee),l(te),l(P),l(le),l(ie),l(k),l(ne),l(ae),l(E),l(ce),l(re),l(D),l(ue),l(xe),l(O),l(oe),l(R),l(me),l(de),l(X)),l(h),$(f,e),$(_,e),$(w,e),$(T,e),$(L,e),$(M,e),$(H,e),$(y,e),$(A,e),$(j,e),$(S,e),$(z,e)}}}const Re='{"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 ze(pe){return ye(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ge extends ke{constructor(h){super(),Ae(this,h,ze,Oe,He,{})}}export{Ge as component}; | |
Xet Storage Details
- Size:
- 8.18 kB
- Xet hash:
- edb352ab041d7168bd1e5d4aeecf55122863c46dda4a82f545965b70e6a342d1
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.