import{s as V,o as W,n as X}from"../chunks/scheduler.6efaaf90.js";import{S as Y,i as Z,e as r,s as o,c as T,h as ee,a as p,d as n,b as i,f as N,g as b,j as F,k as Q,l as te,m as l,n as L,t as w,o as y,p as E}from"../chunks/index.eb3e1f0f.js";import{T as ne}from"../chunks/Tip.292c2c3d.js";import{C as le,H as q,E as ae}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.4cfb23c9.js";function oe(M){let a,u='📍 Find the complete example on GitHub <a href="https://github.com/huggingface/Google-Cloud-Containers/tree/main/examples/cloud-run" rel="nofollow">here</a>!';return{c(){a=r("p"),a.innerHTML=u},l(s){a=p(s,"P",{"data-svelte-h":!0}),F(a)!=="svelte-1g7fiyb"&&(a.innerHTML=u)},m(s,_){l(s,a,_)},p:X,d(s){s&&n(a)}}}function ie(M){let a,u,s,_,f,G,$,H,d,O="This directory contains usage examples of the Hugging Face Deep Learning Containers (DLCs) in Cloud Run with a focus on inference for Large Language Models (LLMs).",P,g,R,c,U='<thead><tr><th>Example</th> <th>Title</th></tr></thead> <tbody><tr><td><a href="https://github.com/huggingface/Google-Cloud-Containers/tree/main/examples/cloud-run/deploy-gemma-2-on-cloud-run" rel="nofollow">deploy-gemma-2-on-cloud-run</a></td> <td>Deploy Gemma2 9B with TGI DLC on Cloud Run</td></tr> <tr><td><a href="https://github.com/huggingface/Google-Cloud-Containers/tree/main/examples/cloud-run/deploy-llama-3-1-on-cloud-run" rel="nofollow">deploy-llama-3-1-on-cloud-run</a></td> <td>Deploy Llama 3.1 8B with TGI DLC on Cloud Run</td></tr></tbody>',D,h,I,x,J="Coming soon!",S,z,B,m,j,C,k,v,A;return f=new le({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),$=new q({props:{title:"Cloud Run Examples",local:"cloud-run-examples",headingTag:"h1"}}),g=new q({props:{title:"Inference Examples",local:"inference-examples",headingTag:"h2"}}),h=new q({props:{title:"Training Examples",local:"training-examples",headingTag:"h2"}}),m=new ne({props:{$$slots:{default:[oe]},$$scope:{ctx:M}}}),C=new ae({props:{source:"https://github.com/huggingface/Google-Cloud-Containers/blob/main/docs/source/examples/cloud-run-index.mdx"}}),{c(){a=r("meta"),u=o(),s=r("p"),_=o(),T(f.$$.fragment),G=o(),T($.$$.fragment),H=o(),d=r("p"),d.textContent=O,P=o(),T(g.$$.fragment),R=o(),c=r("table"),c.innerHTML=U,D=o(),T(h.$$.fragment),I=o(),x=r("p"),x.textContent=J,S=o(),z=r("hr"),B=o(),T(m.$$.fragment),j=o(),T(C.$$.fragment),k=o(),v=r("p"),this.h()},l(e){const t=ee("svelte-u9bgzb",document.head);a=p(t,"META",{name:!0,content:!0}),t.forEach(n),u=i(e),s=p(e,"P",{}),N(s).forEach(n),_=i(e),b(f.$$.fragment,e),G=i(e),b($.$$.fragment,e),H=i(e),d=p(e,"P",{"data-svelte-h":!0}),F(d)!=="svelte-7khcjg"&&(d.textContent=O),P=i(e),b(g.$$.fragment,e),R=i(e),c=p(e,"TABLE",{"data-svelte-h":!0}),F(c)!=="svelte-vg0xte"&&(c.innerHTML=U),D=i(e),b(h.$$.fragment,e),I=i(e),x=p(e,"P",{"data-svelte-h":!0}),F(x)!=="svelte-15n2n4z"&&(x.textContent=J),S=i(e),z=p(e,"HR",{}),B=i(e),b(m.$$.fragment,e),j=i(e),b(C.$$.fragment,e),k=i(e),v=p(e,"P",{}),N(v).forEach(n),this.h()},h(){Q(a,"name","hf:doc:metadata"),Q(a,"content",se)},m(e,t){te(document.head,a),l(e,u,t),l(e,s,t),l(e,_,t),L(f,e,t),l(e,G,t),L($,e,t),l(e,H,t),l(e,d,t),l(e,P,t),L(g,e,t),l(e,R,t),l(e,c,t),l(e,D,t),L(h,e,t),l(e,I,t),l(e,x,t),l(e,S,t),l(e,z,t),l(e,B,t),L(m,e,t),l(e,j,t),L(C,e,t),l(e,k,t),l(e,v,t),A=!0},p(e,[t]){const K={};t&2&&(K.$$scope={dirty:t,ctx:e}),m.$set(K)},i(e){A||(w(f.$$.fragment,e),w($.$$.fragment,e),w(g.$$.fragment,e),w(h.$$.fragment,e),w(m.$$.fragment,e),w(C.$$.fragment,e),A=!0)},o(e){y(f.$$.fragment,e),y($.$$.fragment,e),y(g.$$.fragment,e),y(h.$$.fragment,e),y(m.$$.fragment,e),y(C.$$.fragment,e),A=!1},d(e){e&&(n(u),n(s),n(_),n(G),n(H),n(d),n(P),n(R),n(c),n(D),n(I),n(x),n(S),n(z),n(B),n(j),n(k),n(v)),n(a),E(f,e),E($,e),E(g,e),E(h,e),E(m,e),E(C,e)}}}const se='{"title":"Cloud Run Examples","local":"cloud-run-examples","sections":[{"title":"Inference Examples","local":"inference-examples","sections":[],"depth":2},{"title":"Training Examples","local":"training-examples","sections":[],"depth":2}],"depth":1}';function me(M){return W(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class $e extends Y{constructor(a){super(),Z(this,a,me,ie,V,{})}}export{$e as component};
