import{s as F,n as K,o as U}from"../chunks/scheduler.9bc65507.js";import{S as j,i as q,g as h,s as f,r as S,A as G,h as p,f as a,c,j as L,u as v,x as C,k as D,y as O,a as n,v as P,d as H,t as y,w as z}from"../chunks/index.707bf1b6.js";import{H as R,E as B}from"../chunks/EditOnGithub.922df6ba.js";function I(x){let o,d,g,$,s,_,r,A='The documentation has been moved to <a href="https://huggingface.co/docs/sagemaker" rel="nofollow">hf.co/docs/sagemaker</a>. This page will be removed in <code>transformers</code> 5.0.',k,i,w,l,E='<li><a href="https://huggingface.co/docs/sagemaker/train" rel="nofollow">Train Hugging Face models on Amazon SageMaker with the SageMaker Python SDK</a></li> <li><a href="https://huggingface.co/docs/sagemaker/inference" rel="nofollow">Deploy Hugging Face models to Amazon SageMaker with the SageMaker Python SDK</a></li>',b,m,M,u,T;return s=new R({props:{title:"Run training on Amazon SageMaker",local:"run-training-on-amazon-sagemaker",headingTag:"h1"}}),i=new R({props:{title:"Table of Content",local:"table-of-content",headingTag:"h3"}}),m=new B({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/en/sagemaker.md"}}),{c(){o=h("meta"),d=f(),g=h("p"),$=f(),S(s.$$.fragment),_=f(),r=h("p"),r.innerHTML=A,k=f(),S(i.$$.fragment),w=f(),l=h("ul"),l.innerHTML=E,b=f(),S(m.$$.fragment),M=f(),u=h("p"),this.h()},l(e){const t=G("svelte-u9bgzb",document.head);o=p(t,"META",{name:!0,content:!0}),t.forEach(a),d=c(e),g=p(e,"P",{}),L(g).forEach(a),$=c(e),v(s.$$.fragment,e),_=c(e),r=p(e,"P",{"data-svelte-h":!0}),C(r)!=="svelte-fu1d5k"&&(r.innerHTML=A),k=c(e),v(i.$$.fragment,e),w=c(e),l=p(e,"UL",{"data-svelte-h":!0}),C(l)!=="svelte-2rln1k"&&(l.innerHTML=E),b=c(e),v(m.$$.fragment,e),M=c(e),u=p(e,"P",{}),L(u).forEach(a),this.h()},h(){D(o,"name","hf:doc:metadata"),D(o,"content",J)},m(e,t){O(document.head,o),n(e,d,t),n(e,g,t),n(e,$,t),P(s,e,t),n(e,_,t),n(e,r,t),n(e,k,t),P(i,e,t),n(e,w,t),n(e,l,t),n(e,b,t),P(m,e,t),n(e,M,t),n(e,u,t),T=!0},p:K,i(e){T||(H(s.$$.fragment,e),H(i.$$.fragment,e),H(m.$$.fragment,e),T=!0)},o(e){y(s.$$.fragment,e),y(i.$$.fragment,e),y(m.$$.fragment,e),T=!1},d(e){e&&(a(d),a(g),a($),a(_),a(r),a(k),a(w),a(l),a(b),a(M),a(u)),a(o),z(s,e),z(i,e),z(m,e)}}}const J='{"title":"Run training on Amazon SageMaker","local":"run-training-on-amazon-sagemaker","sections":[{"title":"Table of Content","local":"table-of-content","sections":[],"depth":3}],"depth":1}';function N(x){return U(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class X extends j{constructor(o){super(),q(this,o,N,I,F,{})}}export{X as component};
