import{s as G,n as R,o as U}from"../chunks/scheduler.b9285784.js";import{S as W,i as Y,e as f,s as i,c as T,h as B,a as h,d as a,b as s,f as z,g as k,j as E,k as I,l as D,m as n,n as M,t as A,o as L,p as H}from"../chunks/index.26bc89a1.js";import{C as F,H as J,E as K}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.7242ff19.js";function N(S){let o,w,d,v,l,y,r,_,m,q=`Welcome to the Accelerate tutorials! These introductory guides will help catch you up to speed on working with Accelerate.
You’ll learn how to modify your code to have it work with the API seamlessly, how to launch your script properly,
and more!`,g,c,O="These tutorials assume some basic knowledge of Python and familiarity with the PyTorch framework.",x,u,j='If you have any questions about Accelerate, feel free to join and ask the community on our <a href="https://discuss.huggingface.co/c/accelerate/18" rel="nofollow">forum</a>.',b,p,P,$,C;return l=new F({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),r=new J({props:{title:"Overview",local:"overview",headingTag:"h1"}}),p=new K({props:{source:"https://github.com/huggingface/accelerate/blob/main/docs/source/basic_tutorials/overview.md"}}),{c(){o=f("meta"),w=i(),d=f("p"),v=i(),T(l.$$.fragment),y=i(),T(r.$$.fragment),_=i(),m=f("p"),m.textContent=q,g=i(),c=f("p"),c.textContent=O,x=i(),u=f("p"),u.innerHTML=j,b=i(),T(p.$$.fragment),P=i(),$=f("p"),this.h()},l(e){const t=B("svelte-u9bgzb",document.head);o=h(t,"META",{name:!0,content:!0}),t.forEach(a),w=s(e),d=h(e,"P",{}),z(d).forEach(a),v=s(e),k(l.$$.fragment,e),y=s(e),k(r.$$.fragment,e),_=s(e),m=h(e,"P",{"data-svelte-h":!0}),E(m)!=="svelte-1poa4lh"&&(m.textContent=q),g=s(e),c=h(e,"P",{"data-svelte-h":!0}),E(c)!=="svelte-1eqchxb"&&(c.textContent=O),x=s(e),u=h(e,"P",{"data-svelte-h":!0}),E(u)!=="svelte-10i1w0u"&&(u.innerHTML=j),b=s(e),k(p.$$.fragment,e),P=s(e),$=h(e,"P",{}),z($).forEach(a),this.h()},h(){I(o,"name","hf:doc:metadata"),I(o,"content",Q)},m(e,t){D(document.head,o),n(e,w,t),n(e,d,t),n(e,v,t),M(l,e,t),n(e,y,t),M(r,e,t),n(e,_,t),n(e,m,t),n(e,g,t),n(e,c,t),n(e,x,t),n(e,u,t),n(e,b,t),M(p,e,t),n(e,P,t),n(e,$,t),C=!0},p:R,i(e){C||(A(l.$$.fragment,e),A(r.$$.fragment,e),A(p.$$.fragment,e),C=!0)},o(e){L(l.$$.fragment,e),L(r.$$.fragment,e),L(p.$$.fragment,e),C=!1},d(e){e&&(a(w),a(d),a(v),a(y),a(_),a(m),a(g),a(c),a(x),a(u),a(b),a(P),a($)),a(o),H(l,e),H(r,e),H(p,e)}}}const Q='{"title":"Overview","local":"overview","sections":[],"depth":1}';function V(S){return U(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class te extends W{constructor(o){super(),Y(this,o,V,N,G,{})}}export{te as component};
