Buckets:

download
raw
8.17 kB
import{s as He,n as Pe,o as ye}from"../chunks/scheduler.f3b1e791.js";import{S as ke,i as Ae,e as a,s as n,c as u,h as Ee,a as r,d as l,b as c,f as Ue,g as x,j as $,k as be,l as De,m as i,n as o,t as m,o as d,p}from"../chunks/index.023a9934.js";import{C as je}from"../chunks/CopyLLMTxtMenu.d8c1f5b0.js";import{H as s,E as qe}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.11da6958.js";function Se($e){let h,X,R,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>torch210-cpu-aarch64-darwin</code></li> <li><code>torch211-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>",V,L,W,M,_e="<li><code>torch210-cxx11-cpu-aarch64-linux</code></li> <li><code>torch211-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>",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>",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>",ne,A,ce,E,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>",ae,D,re,j,Ce="<li><code>torch210-cxx11-xpu20253-x86_64-linux</code></li> <li><code>torch211-cxx11-xpu20253-x86_64-linux</code></li>",ue,q,xe,S,Le=`Kernels that are in pure Python (e.g. Triton kernels) only need to provide
one or more of the following variants:`,oe,z,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>",me,O,de,B,pe;return f=new je({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"}}),U=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"}}),D=new s({props:{title:"XPU x86_64-linux",local:"xpu-x8664-linux",headingTag:"h2"}}),q=new s({props:{title:"Python-only kernels",local:"python-only-kernels",headingTag:"h2"}}),O=new qe({props:{source:"https://github.com/huggingface/kernels/blob/main/docs/source/builder/build-variants.md"}}),{c(){h=a("meta"),X=n(),R=a("p"),F=n(),u(f.$$.fragment),G=n(),u(_.$$.fragment),K=n(),v=a("p"),v.textContent=se,I=n(),u(w.$$.fragment),J=n(),g=a("ul"),g.innerHTML=he,N=n(),u(T.$$.fragment),Q=n(),C=a("ul"),C.innerHTML=fe,V=n(),u(L.$$.fragment),W=n(),M=a("ul"),M.innerHTML=_e,Y=n(),u(U.$$.fragment),Z=n(),b=a("ul"),b.innerHTML=ve,ee=n(),u(H.$$.fragment),te=n(),P=a("ul"),P.innerHTML=we,le=n(),u(y.$$.fragment),ie=n(),k=a("ul"),k.innerHTML=ge,ne=n(),u(A.$$.fragment),ce=n(),E=a("ul"),E.innerHTML=Te,ae=n(),u(D.$$.fragment),re=n(),j=a("ul"),j.innerHTML=Ce,ue=n(),u(q.$$.fragment),xe=n(),S=a("p"),S.textContent=Le,oe=n(),z=a("ul"),z.innerHTML=Me,me=n(),u(O.$$.fragment),de=n(),B=a("p"),this.h()},l(e){const t=Ee("svelte-u9bgzb",document.head);h=r(t,"META",{name:!0,content:!0}),t.forEach(l),X=c(e),R=r(e,"P",{}),Ue(R).forEach(l),F=c(e),x(f.$$.fragment,e),G=c(e),x(_.$$.fragment,e),K=c(e),v=r(e,"P",{"data-svelte-h":!0}),$(v)!=="svelte-1jx18hk"&&(v.textContent=se),I=c(e),x(w.$$.fragment,e),J=c(e),g=r(e,"UL",{"data-svelte-h":!0}),$(g)!=="svelte-1hudoxp"&&(g.innerHTML=he),N=c(e),x(T.$$.fragment,e),Q=c(e),C=r(e,"UL",{"data-svelte-h":!0}),$(C)!=="svelte-1aghs8p"&&(C.innerHTML=fe),V=c(e),x(L.$$.fragment,e),W=c(e),M=r(e,"UL",{"data-svelte-h":!0}),$(M)!=="svelte-clxk9d"&&(M.innerHTML=_e),Y=c(e),x(U.$$.fragment,e),Z=c(e),b=r(e,"UL",{"data-svelte-h":!0}),$(b)!=="svelte-16qkwwn"&&(b.innerHTML=ve),ee=c(e),x(H.$$.fragment,e),te=c(e),P=r(e,"UL",{"data-svelte-h":!0}),$(P)!=="svelte-100vzvl"&&(P.innerHTML=we),le=c(e),x(y.$$.fragment,e),ie=c(e),k=r(e,"UL",{"data-svelte-h":!0}),$(k)!=="svelte-wggd2d"&&(k.innerHTML=ge),ne=c(e),x(A.$$.fragment,e),ce=c(e),E=r(e,"UL",{"data-svelte-h":!0}),$(E)!=="svelte-ysc8qe"&&(E.innerHTML=Te),ae=c(e),x(D.$$.fragment,e),re=c(e),j=r(e,"UL",{"data-svelte-h":!0}),$(j)!=="svelte-q0pcij"&&(j.innerHTML=Ce),ue=c(e),x(q.$$.fragment,e),xe=c(e),S=r(e,"P",{"data-svelte-h":!0}),$(S)!=="svelte-1vxjwd6"&&(S.textContent=Le),oe=c(e),z=r(e,"UL",{"data-svelte-h":!0}),$(z)!=="svelte-837bvb"&&(z.innerHTML=Me),me=c(e),x(O.$$.fragment,e),de=c(e),B=r(e,"P",{}),Ue(B).forEach(l),this.h()},h(){be(h,"name","hf:doc:metadata"),be(h,"content",ze)},m(e,t){De(document.head,h),i(e,X,t),i(e,R,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,M,t),i(e,Y,t),o(U,e,t),i(e,Z,t),i(e,b,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,ce,t),i(e,E,t),i(e,ae,t),o(D,e,t),i(e,re,t),i(e,j,t),i(e,ue,t),o(q,e,t),i(e,xe,t),i(e,S,t),i(e,oe,t),i(e,z,t),i(e,me,t),o(O,e,t),i(e,de,t),i(e,B,t),pe=!0},p:Pe,i(e){pe||(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(A.$$.fragment,e),m(D.$$.fragment,e),m(q.$$.fragment,e),m(O.$$.fragment,e),pe=!0)},o(e){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(A.$$.fragment,e),d(D.$$.fragment,e),d(q.$$.fragment,e),d(O.$$.fragment,e),pe=!1},d(e){e&&(l(X),l(R),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(ne),l(ce),l(E),l(ae),l(re),l(j),l(ue),l(xe),l(S),l(oe),l(z),l(me),l(de),l(B)),l(h),p(f,e),p(_,e),p(w,e),p(T,e),p(L,e),p(U,e),p(H,e),p(y,e),p(A,e),p(D,e),p(q,e),p(O,e)}}}const ze='{"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 Oe($e){return ye(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ge extends ke{constructor(h){super(),Ae(this,h,Oe,Se,He,{})}}export{Ge as component};

Xet Storage Details

Size:
8.17 kB
·
Xet hash:
1ca55372983fd06da14e9b988388fe2798f38f9a99059b0d24ee46aa087b52db

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