import{s as L,n as S,o as z}from"../chunks/scheduler.6efaaf90.js";import{S as k,i as j,e as x,s as m,c as b,h as q,a as P,d as n,b as u,f as G,g as T,j as A,k as H,l as F,m as a,n as C,t as y,o as U,p as v}from"../chunks/index.eb3e1f0f.js";import{C as O,H as R,E as B}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.4cfb23c9.js";function D(E){let o,f,p,g,s,d,i,$,l,M='To learn how to use Google Cloud TPUs with Hugging Face libraries, check out <a href="https://huggingface.co/docs/optimum-tpu" rel="nofollow">optimum-tpu</a>, our dedicated library for TPU support.',h,r,_,c,w;return s=new O({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),i=new R({props:{title:"Using TPUs on Google Cloud",local:"using-tpus-on-google-cloud",headingTag:"h1"}}),r=new B({props:{source:"https://github.com/huggingface/Google-Cloud-Containers/blob/main/docs/source/tpu.mdx"}}),{c(){o=x("meta"),f=m(),p=x("p"),g=m(),b(s.$$.fragment),d=m(),b(i.$$.fragment),$=m(),l=x("p"),l.innerHTML=M,h=m(),b(r.$$.fragment),_=m(),c=x("p"),this.h()},l(t){const e=q("svelte-u9bgzb",document.head);o=P(e,"META",{name:!0,content:!0}),e.forEach(n),f=u(t),p=P(t,"P",{}),G(p).forEach(n),g=u(t),T(s.$$.fragment,t),d=u(t),T(i.$$.fragment,t),$=u(t),l=P(t,"P",{"data-svelte-h":!0}),A(l)!=="svelte-zwpixo"&&(l.innerHTML=M),h=u(t),T(r.$$.fragment,t),_=u(t),c=P(t,"P",{}),G(c).forEach(n),this.h()},h(){H(o,"name","hf:doc:metadata"),H(o,"content",I)},m(t,e){F(document.head,o),a(t,f,e),a(t,p,e),a(t,g,e),C(s,t,e),a(t,d,e),C(i,t,e),a(t,$,e),a(t,l,e),a(t,h,e),C(r,t,e),a(t,_,e),a(t,c,e),w=!0},p:S,i(t){w||(y(s.$$.fragment,t),y(i.$$.fragment,t),y(r.$$.fragment,t),w=!0)},o(t){U(s.$$.fragment,t),U(i.$$.fragment,t),U(r.$$.fragment,t),w=!1},d(t){t&&(n(f),n(p),n(g),n(d),n($),n(l),n(h),n(_),n(c)),n(o),v(s,t),v(i,t),v(r,t)}}}const I='{"title":"Using TPUs on Google Cloud","local":"using-tpus-on-google-cloud","sections":[],"depth":1}';function J(E){return z(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class V extends k{constructor(o){super(),j(this,o,J,D,L,{})}}export{V as component};
