import{s as Ar,n as Pr,o as Dr}from"../chunks/scheduler.b9285784.js";import{S as Ir,i as Hr,e as c,s as a,c as l,h as Nr,a as i,d as r,b as n,f as h,g as d,j as b,k,l as t,m as s,n as m,t as g,o as p,p as u}from"../chunks/index.26bc89a1.js";import{C as Sr,H as A,E as Vr}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.7242ff19.js";import{D as $}from"../chunks/Docstring.9ffdb58c.js";function Br(rr){let P,Qe,Je,Ye,S,Ze,V,et,B,tt,f,O,Lt,fe,ar="A base Tracker class to be used for all logging integration implementations.",xt,he,nr=`Each function should take in <code>**kwargs</code> that will automatically be passed in from a base dictionary provided to
<a href="/docs/accelerate/main/en/package_reference/accelerator#accelerate.Accelerator">Accelerator</a>.`,Mt,ke,or="Should implement <code>name</code>, <code>requires_logging_directory</code>, and <code>tracker</code> properties such that:",Ct,$e,cr=`<code>name</code> (<code>str</code>): String representation of the tracker class name, such as “TensorBoard” <code>requires_logging_directory</code>
(<code>bool</code>): Whether the logger requires a directory to store their logs. <code>tracker</code> (<code>object</code>): Should return internal
tracking mechanism used by a tracker class (such as the <code>run</code> for wandb)`,Et,_e,ir=`Implementations can also include a <code>main_process_only</code> (<code>bool</code>) attribute to toggle if relevant logging, init, and
other functions should occur on the main process or across all processes (by default will use <code>True</code>)`,At,D,z,Pt,be,sr=`Should run any finalizing functions within the tracking API. If the API should not have one, just don’t
overwrite that method.`,Dt,I,G,It,ve,lr="Logs <code>values</code> to the current run. Base <code>log</code> implementations of a tracking API should go in here, along with\nspecial behavior for the `step parameter.",Ht,H,W,Nt,Te,dr=`Lazy initialization of the tracker inside Accelerator to avoid initializing PartialState before
InitProcessGroupKwargs.`,St,N,U,Vt,we,mr=`Logs <code>values</code> as hyperparameters for the run. Implementations should use the experiment configuration
functionality of a tracking API.`,rt,q,at,T,F,Bt,ye,gr="A <code>Tracker</code> class that supports <code>tensorboard</code>. Should be initialized at the start of your script.",Ot,Le,R,nt,j,ot,w,K,zt,xe,pr="A <code>Tracker</code> class that supports <code>wandb</code>. Should be initialized at the start of your script.",Gt,Me,J,ct,X,it,y,Q,Wt,Ce,ur="A <code>Tracker</code> class that supports <code>trackio</code>. Should be initialized at the start of your script.",Ut,Ee,Y,st,Z,lt,v,ee,qt,Ae,fr="A <code>Tracker</code> class that supports <code>comet_ml</code>. Should be initialized at the start of your script.",Ft,Pe,hr="API keys must be stored in a Comet config file.",Rt,De,kr=`Note:
For <code>comet_ml</code> versions &lt; 3.41.0, additional keyword arguments are passed to <code>comet_ml.Experiment</code> instead:
<a href="https://www.comet.com/docs/v2/api-and-sdk/python-sdk/reference/Experiment/#comet_ml.Experiment.__init" rel="nofollow">https://www.comet.com/docs/v2/api-and-sdk/python-sdk/reference/Experiment/#comet_ml.Experiment.__init</a>__`,jt,Ie,te,dt,re,mt,L,ae,Kt,He,$r="A <code>Tracker</code> class that supports <code>aim</code>. Should be initialized at the start of your script.",Jt,Ne,ne,gt,oe,pt,x,ce,Xt,Se,_r="A <code>Tracker</code> class that supports <code>mlflow</code>. Should be initialized at the start of your script.",Qt,Ve,ie,ut,se,ft,M,le,Yt,Be,br="A <code>Tracker</code> class that supports <code>clearml</code>. Should be initialized at the start of your script.",Zt,Oe,de,ht,me,kt,C,ge,er,ze,vr="A <code>Tracker</code> class that supports <code>swanlab</code>. Should be initialized at the start of your script.",tr,Ge,pe,$t,ue,_t,Xe,bt;return S=new Sr({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),V=new A({props:{title:"Experiment Trackers",local:"experiment-trackers",headingTag:"h1"}}),B=new A({props:{title:"GeneralTracker",local:"accelerate.tracking.GeneralTracker",headingTag:"h2"}}),O=new $({props:{name:"class accelerate.tracking.GeneralTracker",anchor:"accelerate.tracking.GeneralTracker",parameters:[{name:"_blank",val:" = False"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L101"}}),z=new $({props:{name:"finish",anchor:"accelerate.tracking.GeneralTracker.finish",parameters:[],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L174"}}),G=new $({props:{name:"log",anchor:"accelerate.tracking.GeneralTracker.log",parameters:[{name:"values",val:": dict"},{name:"step",val:": typing.Optional[int]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"accelerate.tracking.GeneralTracker.log.values",description:`<strong>values</strong> (Dictionary <code>str</code> to <code>str</code>, <code>float</code>, or <code>int</code>) &#x2014;
Values to be logged as key-value pairs. The values need to have type <code>str</code>, <code>float</code>, or <code>int</code>.`,name:"values"},{anchor:"accelerate.tracking.GeneralTracker.log.step",description:`<strong>step</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The run step. If included, the log will be affiliated with this step.`,name:"step"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L161"}}),W=new $({props:{name:"start",anchor:"accelerate.tracking.GeneralTracker.start",parameters:[],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L142"}}),U=new $({props:{name:"store_init_configuration",anchor:"accelerate.tracking.GeneralTracker.store_init_configuration",parameters:[{name:"values",val:": dict"}],parametersDescription:[{anchor:"accelerate.tracking.GeneralTracker.store_init_configuration.values",description:`<strong>values</strong> (Dictionary <code>str</code> to <code>bool</code>, <code>str</code>, <code>float</code> or <code>int</code>) &#x2014;
Values to be stored as initial hyperparameters as key-value pairs. The values need to have type <code>bool</code>,
<code>str</code>, <code>float</code>, <code>int</code>, or <code>None</code>.`,name:"values"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L149"}}),q=new A({props:{title:"TensorBoardTracker",local:"accelerate.tracking.TensorBoardTracker",headingTag:"h2"}}),F=new $({props:{name:"class accelerate.tracking.TensorBoardTracker",anchor:"accelerate.tracking.TensorBoardTracker",parameters:[{name:"run_name",val:": str"},{name:"logging_dir",val:": typing.Union[str, os.PathLike]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"accelerate.tracking.TensorBoardTracker.run_name",description:`<strong>run_name</strong> (<code>str</code>) &#x2014;
The name of the experiment run`,name:"run_name"},{anchor:"accelerate.tracking.TensorBoardTracker.logging_dir",description:`<strong>logging_dir</strong> (<code>str</code>, <code>os.PathLike</code>) &#x2014;
Location for TensorBoard logs to be stored.`,name:"logging_dir"},{anchor:"accelerate.tracking.TensorBoardTracker.*kwargs",description:`*<strong>*kwargs</strong> (additional keyword arguments, <em>optional</em>) &#x2014;
Additional key word arguments passed along to the <code>tensorboard.SummaryWriter.__init__</code> method.`,name:"*kwargs"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L182"}}),R=new $({props:{name:"__init__",anchor:"accelerate.tracking.TensorBoardTracker.__init__",parameters:[{name:"run_name",val:": str"},{name:"logging_dir",val:": typing.Union[str, os.PathLike]"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L198"}}),j=new A({props:{title:"WandBTracker",local:"accelerate.tracking.WandBTracker",headingTag:"h2"}}),K=new $({props:{name:"class accelerate.tracking.WandBTracker",anchor:"accelerate.tracking.WandBTracker",parameters:[{name:"run_name",val:": str"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"accelerate.tracking.WandBTracker.run_name",description:`<strong>run_name</strong> (<code>str</code>) &#x2014;
The name of the experiment run.`,name:"run_name"},{anchor:"accelerate.tracking.WandBTracker.*kwargs",description:`*<strong>*kwargs</strong> (additional keyword arguments, <em>optional</em>) &#x2014;
Additional key word arguments passed along to the <code>wandb.init</code> method.`,name:"*kwargs"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L297"}}),J=new $({props:{name:"__init__",anchor:"accelerate.tracking.WandBTracker.__init__",parameters:[{name:"run_name",val:": str"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L312"}}),X=new A({props:{title:"Trackio",local:"accelerate.tracking.TrackioTracker",headingTag:"h2"}}),Q=new $({props:{name:"class accelerate.tracking.TrackioTracker",anchor:"accelerate.tracking.TrackioTracker",parameters:[{name:"run_name",val:": str"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"accelerate.tracking.TrackioTracker.run_name",description:`<strong>run_name</strong> (<code>str</code>) &#x2014;
The name of the experiment run. Will be used as the <code>project</code> name when instantiating trackio.`,name:"run_name"},{anchor:"accelerate.tracking.TrackioTracker.*kwargs",description:`*<strong>*kwargs</strong> (additional keyword arguments, <em>optional</em>) &#x2014;
Additional key word arguments passed along to the <code>trackio.init</code> method. Refer to this
<a href="https://github.com/gradio-app/trackio/blob/814809552310468b13f84f33764f1369b4e5136c/trackio/__init__.py#L22" rel="nofollow">init</a>
to see all supported key word arguments.`,name:"*kwargs"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L431"}}),Y=new $({props:{name:"__init__",anchor:"accelerate.tracking.TrackioTracker.__init__",parameters:[{name:"run_name",val:": str"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L448"}}),Z=new A({props:{title:"CometMLTracker",local:"accelerate.tracking.CometMLTracker",headingTag:"h2"}}),ee=new $({props:{name:"class accelerate.tracking.CometMLTracker",anchor:"accelerate.tracking.CometMLTracker",parameters:[{name:"run_name",val:": str"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"accelerate.tracking.CometMLTracker.run_name",description:`<strong>run_name</strong> (<code>str</code>) &#x2014;
The name of the experiment run.`,name:"run_name"},{anchor:"accelerate.tracking.CometMLTracker.*kwargs",description:`*<strong>*kwargs</strong> (additional keyword arguments, <em>optional</em>) &#x2014;
Additional key word arguments passed along to the <code>comet_ml.start</code> method:
<a href="https://www.comet.com/docs/v2/api-and-sdk/python-sdk/reference/start/" rel="nofollow">https://www.comet.com/docs/v2/api-and-sdk/python-sdk/reference/start/</a>`,name:"*kwargs"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L508"}}),te=new $({props:{name:"__init__",anchor:"accelerate.tracking.CometMLTracker.__init__",parameters:[{name:"run_name",val:": str"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L529"}}),re=new A({props:{title:"AimTracker",local:"accelerate.tracking.AimTracker",headingTag:"h2"}}),ae=new $({props:{name:"class accelerate.tracking.AimTracker",anchor:"accelerate.tracking.AimTracker",parameters:[{name:"run_name",val:": str"},{name:"logging_dir",val:": typing.Union[str, os.PathLike, NoneType] = '.'"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"accelerate.tracking.AimTracker.run_name",description:`<strong>run_name</strong> (<code>str</code>) &#x2014;
The name of the experiment run.`,name:"run_name"},{anchor:"accelerate.tracking.AimTracker.*kwargs",description:`*<strong>*kwargs</strong> (additional keyword arguments, <em>optional</em>) &#x2014;
Additional key word arguments passed along to the <code>Run.__init__</code> method.`,name:"*kwargs"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L602"}}),ne=new $({props:{name:"__init__",anchor:"accelerate.tracking.AimTracker.__init__",parameters:[{name:"run_name",val:": str"},{name:"logging_dir",val:": typing.Union[str, os.PathLike, NoneType] = '.'"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L616"}}),oe=new A({props:{title:"MLflowTracker",local:"accelerate.tracking.MLflowTracker",headingTag:"h2"}}),ce=new $({props:{name:"class accelerate.tracking.MLflowTracker",anchor:"accelerate.tracking.MLflowTracker",parameters:[{name:"experiment_name",val:": typing.Optional[str] = None"},{name:"logging_dir",val:": typing.Union[str, os.PathLike, NoneType] = None"},{name:"run_id",val:": typing.Optional[str] = None"},{name:"tags",val:": typing.Union[dict[str, typing.Any], str, NoneType] = None"},{name:"nested_run",val:": typing.Optional[bool] = False"},{name:"run_name",val:": typing.Optional[str] = None"},{name:"description",val:": typing.Optional[str] = None"}],parametersDescription:[{anchor:"accelerate.tracking.MLflowTracker.experiment_name",description:`<strong>experiment_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Name of the experiment. Environment variable MLFLOW_EXPERIMENT_NAME has priority over this argument.`,name:"experiment_name"},{anchor:"accelerate.tracking.MLflowTracker.logging_dir",description:`<strong>logging_dir</strong> (<code>str</code> or <code>os.PathLike</code>, defaults to <code>&quot;.&quot;</code>) &#x2014;
Location for mlflow logs to be stored.`,name:"logging_dir"},{anchor:"accelerate.tracking.MLflowTracker.run_id",description:`<strong>run_id</strong> (<code>str</code>, <em>optional</em>) &#x2014;
If specified, get the run with the specified UUID and log parameters and metrics under that run. The run&#x2019;s
end time is unset and its status is set to running, but the run&#x2019;s other attributes (source_version,
source_type, etc.) are not changed. Environment variable MLFLOW_RUN_ID has priority over this argument.`,name:"run_id"},{anchor:"accelerate.tracking.MLflowTracker.tags",description:`<strong>tags</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
An optional <code>dict</code> of <code>str</code> keys and values, or a <code>str</code> dump from a <code>dict</code>, to set as tags on the run. If a
run is being resumed, these tags are set on the resumed run. If a new run is being created, these tags are
set on the new run. Environment variable MLFLOW_TAGS has priority over this argument.`,name:"tags"},{anchor:"accelerate.tracking.MLflowTracker.nested_run",description:`<strong>nested_run</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Controls whether run is nested in parent run. True creates a nested run. Environment variable
MLFLOW_NESTED_RUN has priority over this argument.`,name:"nested_run"},{anchor:"accelerate.tracking.MLflowTracker.run_name",description:`<strong>run_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Name of new run (stored as a mlflow.runName tag). Used only when <code>run_id</code> is unspecified.`,name:"run_name"},{anchor:"accelerate.tracking.MLflowTracker.description",description:`<strong>description</strong> (<code>str</code>, <em>optional</em>) &#x2014;
An optional string that populates the description box of the run. If a run is being resumed, the
description is set on the resumed run. If a new run is being created, the description is set on the new
run.`,name:"description"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L705"}}),ie=new $({props:{name:"__init__",anchor:"accelerate.tracking.MLflowTracker.__init__",parameters:[{name:"experiment_name",val:": typing.Optional[str] = None"},{name:"logging_dir",val:": typing.Union[str, os.PathLike, NoneType] = None"},{name:"run_id",val:": typing.Optional[str] = None"},{name:"tags",val:": typing.Union[dict[str, typing.Any], str, NoneType] = None"},{name:"nested_run",val:": typing.Optional[bool] = False"},{name:"run_name",val:": typing.Optional[str] = None"},{name:"description",val:": typing.Optional[str] = None"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L736"}}),se=new A({props:{title:"ClearMLTracker",local:"accelerate.tracking.ClearMLTracker",headingTag:"h2"}}),le=new $({props:{name:"class accelerate.tracking.ClearMLTracker",anchor:"accelerate.tracking.ClearMLTracker",parameters:[{name:"run_name",val:": typing.Optional[str] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"accelerate.tracking.ClearMLTracker.run_name",description:`<strong>run_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Name of the experiment. Environment variables <code>CLEARML_PROJECT</code> and <code>CLEARML_TASK</code> have priority over this
argument.`,name:"run_name"},{anchor:"accelerate.tracking.ClearMLTracker.*kwargs",description:`*<strong>*kwargs</strong> (additional keyword arguments, <em>optional</em>) &#x2014;
Kwargs passed along to the <code>Task.__init__</code> method.`,name:"*kwargs"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L912"}}),de=new $({props:{name:"__init__",anchor:"accelerate.tracking.ClearMLTracker.__init__",parameters:[{name:"run_name",val:": typing.Optional[str] = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L927"}}),me=new A({props:{title:"SwanLabTracker",local:"accelerate.tracking.SwanLabTracker",headingTag:"h2"}}),ge=new $({props:{name:"class accelerate.tracking.SwanLabTracker",anchor:"accelerate.tracking.SwanLabTracker",parameters:[{name:"run_name",val:": str"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"accelerate.tracking.SwanLabTracker.run_name",description:`<strong>run_name</strong> (<code>str</code>) &#x2014;
The name of the experiment run.`,name:"run_name"},{anchor:"accelerate.tracking.SwanLabTracker.*kwargs",description:`*<strong>*kwargs</strong> (additional keyword arguments, <em>optional</em>) &#x2014;
Additional key word arguments passed along to the <code>swanlab.init</code> method.`,name:"*kwargs"}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L1158"}}),pe=new $({props:{name:"__init__",anchor:"accelerate.tracking.SwanLabTracker.__init__",parameters:[{name:"run_name",val:": str"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/accelerate/blob/main/src/accelerate/tracking.py#L1173"}}),ue=new Vr({props:{source:"https://github.com/huggingface/accelerate/blob/main/docs/source/package_reference/tracking.md"}}),{c(){P=c("meta"),Qe=a(),Je=c("p"),Ye=a(),l(S.$$.fragment),Ze=a(),l(V.$$.fragment),et=a(),l(B.$$.fragment),tt=a(),f=c("div"),l(O.$$.fragment),Lt=a(),fe=c("p"),fe.textContent=ar,xt=a(),he=c("p"),he.innerHTML=nr,Mt=a(),ke=c("p"),ke.innerHTML=or,Ct=a(),$e=c("p"),$e.innerHTML=cr,Et=a(),_e=c("p"),_e.innerHTML=ir,At=a(),D=c("div"),l(z.$$.fragment),Pt=a(),be=c("p"),be.textContent=sr,Dt=a(),I=c("div"),l(G.$$.fragment),It=a(),ve=c("p"),ve.innerHTML=lr,Ht=a(),H=c("div"),l(W.$$.fragment),Nt=a(),Te=c("p"),Te.textContent=dr,St=a(),N=c("div"),l(U.$$.fragment),Vt=a(),we=c("p"),we.innerHTML=mr,rt=a(),l(q.$$.fragment),at=a(),T=c("div"),l(F.$$.fragment),Bt=a(),ye=c("p"),ye.innerHTML=gr,Ot=a(),Le=c("div"),l(R.$$.fragment),nt=a(),l(j.$$.fragment),ot=a(),w=c("div"),l(K.$$.fragment),zt=a(),xe=c("p"),xe.innerHTML=pr,Gt=a(),Me=c("div"),l(J.$$.fragment),ct=a(),l(X.$$.fragment),it=a(),y=c("div"),l(Q.$$.fragment),Wt=a(),Ce=c("p"),Ce.innerHTML=ur,Ut=a(),Ee=c("div"),l(Y.$$.fragment),st=a(),l(Z.$$.fragment),lt=a(),v=c("div"),l(ee.$$.fragment),qt=a(),Ae=c("p"),Ae.innerHTML=fr,Ft=a(),Pe=c("p"),Pe.textContent=hr,Rt=a(),De=c("p"),De.innerHTML=kr,jt=a(),Ie=c("div"),l(te.$$.fragment),dt=a(),l(re.$$.fragment),mt=a(),L=c("div"),l(ae.$$.fragment),Kt=a(),He=c("p"),He.innerHTML=$r,Jt=a(),Ne=c("div"),l(ne.$$.fragment),gt=a(),l(oe.$$.fragment),pt=a(),x=c("div"),l(ce.$$.fragment),Xt=a(),Se=c("p"),Se.innerHTML=_r,Qt=a(),Ve=c("div"),l(ie.$$.fragment),ut=a(),l(se.$$.fragment),ft=a(),M=c("div"),l(le.$$.fragment),Yt=a(),Be=c("p"),Be.innerHTML=br,Zt=a(),Oe=c("div"),l(de.$$.fragment),ht=a(),l(me.$$.fragment),kt=a(),C=c("div"),l(ge.$$.fragment),er=a(),ze=c("p"),ze.innerHTML=vr,tr=a(),Ge=c("div"),l(pe.$$.fragment),$t=a(),l(ue.$$.fragment),_t=a(),Xe=c("p"),this.h()},l(e){const o=Nr("svelte-u9bgzb",document.head);P=i(o,"META",{name:!0,content:!0}),o.forEach(r),Qe=n(e),Je=i(e,"P",{}),h(Je).forEach(r),Ye=n(e),d(S.$$.fragment,e),Ze=n(e),d(V.$$.fragment,e),et=n(e),d(B.$$.fragment,e),tt=n(e),f=i(e,"DIV",{class:!0});var _=h(f);d(O.$$.fragment,_),Lt=n(_),fe=i(_,"P",{"data-svelte-h":!0}),b(fe)!=="svelte-m7ldax"&&(fe.textContent=ar),xt=n(_),he=i(_,"P",{"data-svelte-h":!0}),b(he)!=="svelte-nxw2h6"&&(he.innerHTML=nr),Mt=n(_),ke=i(_,"P",{"data-svelte-h":!0}),b(ke)!=="svelte-sgpklc"&&(ke.innerHTML=or),Ct=n(_),$e=i(_,"P",{"data-svelte-h":!0}),b($e)!=="svelte-fdst8q"&&($e.innerHTML=cr),Et=n(_),_e=i(_,"P",{"data-svelte-h":!0}),b(_e)!=="svelte-m1ywk4"&&(_e.innerHTML=ir),At=n(_),D=i(_,"DIV",{class:!0});var vt=h(D);d(z.$$.fragment,vt),Pt=n(vt),be=i(vt,"P",{"data-svelte-h":!0}),b(be)!=="svelte-va87im"&&(be.textContent=sr),vt.forEach(r),Dt=n(_),I=i(_,"DIV",{class:!0});var Tt=h(I);d(G.$$.fragment,Tt),It=n(Tt),ve=i(Tt,"P",{"data-svelte-h":!0}),b(ve)!=="svelte-czjed5"&&(ve.innerHTML=lr),Tt.forEach(r),Ht=n(_),H=i(_,"DIV",{class:!0});var wt=h(H);d(W.$$.fragment,wt),Nt=n(wt),Te=i(wt,"P",{"data-svelte-h":!0}),b(Te)!=="svelte-ww9re8"&&(Te.textContent=dr),wt.forEach(r),St=n(_),N=i(_,"DIV",{class:!0});var yt=h(N);d(U.$$.fragment,yt),Vt=n(yt),we=i(yt,"P",{"data-svelte-h":!0}),b(we)!=="svelte-ijycp8"&&(we.innerHTML=mr),yt.forEach(r),_.forEach(r),rt=n(e),d(q.$$.fragment,e),at=n(e),T=i(e,"DIV",{class:!0});var We=h(T);d(F.$$.fragment,We),Bt=n(We),ye=i(We,"P",{"data-svelte-h":!0}),b(ye)!=="svelte-4bz4fo"&&(ye.innerHTML=gr),Ot=n(We),Le=i(We,"DIV",{class:!0});var Tr=h(Le);d(R.$$.fragment,Tr),Tr.forEach(r),We.forEach(r),nt=n(e),d(j.$$.fragment,e),ot=n(e),w=i(e,"DIV",{class:!0});var Ue=h(w);d(K.$$.fragment,Ue),zt=n(Ue),xe=i(Ue,"P",{"data-svelte-h":!0}),b(xe)!=="svelte-1funvbl"&&(xe.innerHTML=pr),Gt=n(Ue),Me=i(Ue,"DIV",{class:!0});var wr=h(Me);d(J.$$.fragment,wr),wr.forEach(r),Ue.forEach(r),ct=n(e),d(X.$$.fragment,e),it=n(e),y=i(e,"DIV",{class:!0});var qe=h(y);d(Q.$$.fragment,qe),Wt=n(qe),Ce=i(qe,"P",{"data-svelte-h":!0}),b(Ce)!=="svelte-1sal94w"&&(Ce.innerHTML=ur),Ut=n(qe),Ee=i(qe,"DIV",{class:!0});var yr=h(Ee);d(Y.$$.fragment,yr),yr.forEach(r),qe.forEach(r),st=n(e),d(Z.$$.fragment,e),lt=n(e),v=i(e,"DIV",{class:!0});var E=h(v);d(ee.$$.fragment,E),qt=n(E),Ae=i(E,"P",{"data-svelte-h":!0}),b(Ae)!=="svelte-46z6qn"&&(Ae.innerHTML=fr),Ft=n(E),Pe=i(E,"P",{"data-svelte-h":!0}),b(Pe)!=="svelte-1byed2r"&&(Pe.textContent=hr),Rt=n(E),De=i(E,"P",{"data-svelte-h":!0}),b(De)!=="svelte-1wab79n"&&(De.innerHTML=kr),jt=n(E),Ie=i(E,"DIV",{class:!0});var Lr=h(Ie);d(te.$$.fragment,Lr),Lr.forEach(r),E.forEach(r),dt=n(e),d(re.$$.fragment,e),mt=n(e),L=i(e,"DIV",{class:!0});var Fe=h(L);d(ae.$$.fragment,Fe),Kt=n(Fe),He=i(Fe,"P",{"data-svelte-h":!0}),b(He)!=="svelte-1wn9vfq"&&(He.innerHTML=$r),Jt=n(Fe),Ne=i(Fe,"DIV",{class:!0});var xr=h(Ne);d(ne.$$.fragment,xr),xr.forEach(r),Fe.forEach(r),gt=n(e),d(oe.$$.fragment,e),pt=n(e),x=i(e,"DIV",{class:!0});var Re=h(x);d(ce.$$.fragment,Re),Xt=n(Re),Se=i(Re,"P",{"data-svelte-h":!0}),b(Se)!=="svelte-109p8cy"&&(Se.innerHTML=_r),Qt=n(Re),Ve=i(Re,"DIV",{class:!0});var Mr=h(Ve);d(ie.$$.fragment,Mr),Mr.forEach(r),Re.forEach(r),ut=n(e),d(se.$$.fragment,e),ft=n(e),M=i(e,"DIV",{class:!0});var je=h(M);d(le.$$.fragment,je),Yt=n(je),Be=i(je,"P",{"data-svelte-h":!0}),b(Be)!=="svelte-b632ft"&&(Be.innerHTML=br),Zt=n(je),Oe=i(je,"DIV",{class:!0});var Cr=h(Oe);d(de.$$.fragment,Cr),Cr.forEach(r),je.forEach(r),ht=n(e),d(me.$$.fragment,e),kt=n(e),C=i(e,"DIV",{class:!0});var Ke=h(C);d(ge.$$.fragment,Ke),er=n(Ke),ze=i(Ke,"P",{"data-svelte-h":!0}),b(ze)!=="svelte-1y64pkx"&&(ze.innerHTML=vr),tr=n(Ke),Ge=i(Ke,"DIV",{class:!0});var Er=h(Ge);d(pe.$$.fragment,Er),Er.forEach(r),Ke.forEach(r),$t=n(e),d(ue.$$.fragment,e),_t=n(e),Xe=i(e,"P",{}),h(Xe).forEach(r),this.h()},h(){k(P,"name","hf:doc:metadata"),k(P,"content",Or),k(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(f,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(v,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ve,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Oe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,o){t(document.head,P),s(e,Qe,o),s(e,Je,o),s(e,Ye,o),m(S,e,o),s(e,Ze,o),m(V,e,o),s(e,et,o),m(B,e,o),s(e,tt,o),s(e,f,o),m(O,f,null),t(f,Lt),t(f,fe),t(f,xt),t(f,he),t(f,Mt),t(f,ke),t(f,Ct),t(f,$e),t(f,Et),t(f,_e),t(f,At),t(f,D),m(z,D,null),t(D,Pt),t(D,be),t(f,Dt),t(f,I),m(G,I,null),t(I,It),t(I,ve),t(f,Ht),t(f,H),m(W,H,null),t(H,Nt),t(H,Te),t(f,St),t(f,N),m(U,N,null),t(N,Vt),t(N,we),s(e,rt,o),m(q,e,o),s(e,at,o),s(e,T,o),m(F,T,null),t(T,Bt),t(T,ye),t(T,Ot),t(T,Le),m(R,Le,null),s(e,nt,o),m(j,e,o),s(e,ot,o),s(e,w,o),m(K,w,null),t(w,zt),t(w,xe),t(w,Gt),t(w,Me),m(J,Me,null),s(e,ct,o),m(X,e,o),s(e,it,o),s(e,y,o),m(Q,y,null),t(y,Wt),t(y,Ce),t(y,Ut),t(y,Ee),m(Y,Ee,null),s(e,st,o),m(Z,e,o),s(e,lt,o),s(e,v,o),m(ee,v,null),t(v,qt),t(v,Ae),t(v,Ft),t(v,Pe),t(v,Rt),t(v,De),t(v,jt),t(v,Ie),m(te,Ie,null),s(e,dt,o),m(re,e,o),s(e,mt,o),s(e,L,o),m(ae,L,null),t(L,Kt),t(L,He),t(L,Jt),t(L,Ne),m(ne,Ne,null),s(e,gt,o),m(oe,e,o),s(e,pt,o),s(e,x,o),m(ce,x,null),t(x,Xt),t(x,Se),t(x,Qt),t(x,Ve),m(ie,Ve,null),s(e,ut,o),m(se,e,o),s(e,ft,o),s(e,M,o),m(le,M,null),t(M,Yt),t(M,Be),t(M,Zt),t(M,Oe),m(de,Oe,null),s(e,ht,o),m(me,e,o),s(e,kt,o),s(e,C,o),m(ge,C,null),t(C,er),t(C,ze),t(C,tr),t(C,Ge),m(pe,Ge,null),s(e,$t,o),m(ue,e,o),s(e,_t,o),s(e,Xe,o),bt=!0},p:Pr,i(e){bt||(g(S.$$.fragment,e),g(V.$$.fragment,e),g(B.$$.fragment,e),g(O.$$.fragment,e),g(z.$$.fragment,e),g(G.$$.fragment,e),g(W.$$.fragment,e),g(U.$$.fragment,e),g(q.$$.fragment,e),g(F.$$.fragment,e),g(R.$$.fragment,e),g(j.$$.fragment,e),g(K.$$.fragment,e),g(J.$$.fragment,e),g(X.$$.fragment,e),g(Q.$$.fragment,e),g(Y.$$.fragment,e),g(Z.$$.fragment,e),g(ee.$$.fragment,e),g(te.$$.fragment,e),g(re.$$.fragment,e),g(ae.$$.fragment,e),g(ne.$$.fragment,e),g(oe.$$.fragment,e),g(ce.$$.fragment,e),g(ie.$$.fragment,e),g(se.$$.fragment,e),g(le.$$.fragment,e),g(de.$$.fragment,e),g(me.$$.fragment,e),g(ge.$$.fragment,e),g(pe.$$.fragment,e),g(ue.$$.fragment,e),bt=!0)},o(e){p(S.$$.fragment,e),p(V.$$.fragment,e),p(B.$$.fragment,e),p(O.$$.fragment,e),p(z.$$.fragment,e),p(G.$$.fragment,e),p(W.$$.fragment,e),p(U.$$.fragment,e),p(q.$$.fragment,e),p(F.$$.fragment,e),p(R.$$.fragment,e),p(j.$$.fragment,e),p(K.$$.fragment,e),p(J.$$.fragment,e),p(X.$$.fragment,e),p(Q.$$.fragment,e),p(Y.$$.fragment,e),p(Z.$$.fragment,e),p(ee.$$.fragment,e),p(te.$$.fragment,e),p(re.$$.fragment,e),p(ae.$$.fragment,e),p(ne.$$.fragment,e),p(oe.$$.fragment,e),p(ce.$$.fragment,e),p(ie.$$.fragment,e),p(se.$$.fragment,e),p(le.$$.fragment,e),p(de.$$.fragment,e),p(me.$$.fragment,e),p(ge.$$.fragment,e),p(pe.$$.fragment,e),p(ue.$$.fragment,e),bt=!1},d(e){e&&(r(Qe),r(Je),r(Ye),r(Ze),r(et),r(tt),r(f),r(rt),r(at),r(T),r(nt),r(ot),r(w),r(ct),r(it),r(y),r(st),r(lt),r(v),r(dt),r(mt),r(L),r(gt),r(pt),r(x),r(ut),r(ft),r(M),r(ht),r(kt),r(C),r($t),r(_t),r(Xe)),r(P),u(S,e),u(V,e),u(B,e),u(O),u(z),u(G),u(W),u(U),u(q,e),u(F),u(R),u(j,e),u(K),u(J),u(X,e),u(Q),u(Y),u(Z,e),u(ee),u(te),u(re,e),u(ae),u(ne),u(oe,e),u(ce),u(ie),u(se,e),u(le),u(de),u(me,e),u(ge),u(pe),u(ue,e)}}}const Or='{"title":"Experiment Trackers","local":"experiment-trackers","sections":[{"title":"GeneralTracker","local":"accelerate.tracking.GeneralTracker","sections":[],"depth":2},{"title":"TensorBoardTracker","local":"accelerate.tracking.TensorBoardTracker","sections":[],"depth":2},{"title":"WandBTracker","local":"accelerate.tracking.WandBTracker","sections":[],"depth":2},{"title":"Trackio","local":"accelerate.tracking.TrackioTracker","sections":[],"depth":2},{"title":"CometMLTracker","local":"accelerate.tracking.CometMLTracker","sections":[],"depth":2},{"title":"AimTracker","local":"accelerate.tracking.AimTracker","sections":[],"depth":2},{"title":"MLflowTracker","local":"accelerate.tracking.MLflowTracker","sections":[],"depth":2},{"title":"ClearMLTracker","local":"accelerate.tracking.ClearMLTracker","sections":[],"depth":2},{"title":"SwanLabTracker","local":"accelerate.tracking.SwanLabTracker","sections":[],"depth":2}],"depth":1}';function zr(rr){return Dr(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Fr extends Ir{constructor(P){super(),Hr(this,P,zr,Br,Ar,{})}}export{Fr as component};
