import{s as Qn,o as Zn,n as Jn}from"../chunks/scheduler.6062bdaf.js";import{S as el,i as tl,g as o,s as l,r as f,A as il,h as s,f as i,c as a,j as jn,u,x as r,k as Vn,y as nl,a as n,v as d,d as h,t as c,w as p}from"../chunks/index.4bca734e.js";import{T as ll}from"../chunks/Tip.b9ac1f03.js";import{H as m,E as al}from"../chunks/index.60dd99e8.js";function ol(ot){let g,w="<code>hf_xet</code> is an alternative to <code>hf_transfer</code>. It provides efficient file transfers through a chunk-based deduplication strategy, custom Xet storage (replacing Git LFS), and a seamless integration with <code>huggingface_hub</code>.",T,$,b='<a href="https://huggingface.co/docs/hub/storage-backends" rel="nofollow">Read more about the package</a> and enable with <code>pip install &quot;huggingface_hub[hf_xet]&quot;</code>.';return{c(){g=o("p"),g.innerHTML=w,T=l(),$=o("p"),$.innerHTML=b},l(_){g=s(_,"P",{"data-svelte-h":!0}),r(g)!=="svelte-bk8zj0"&&(g.innerHTML=w),T=a(_),$=s(_,"P",{"data-svelte-h":!0}),r($)!=="svelte-o23x7g"&&($.innerHTML=b)},m(_,H){n(_,g,H),n(_,T,H),n(_,$,H)},p:Jn,d(_){_&&(i(g),i(T),i($))}}}function sl(ot){let g,w,T,$,b,_,H,Yi="<code>huggingface_hub</code> can be configured using environment variables.",st,E,zi=`If you are unfamiliar with environment variable, here are generic articles about them
<a href="https://linuxize.com/post/how-to-set-and-list-environment-variables-in-linux/" rel="nofollow">on macOS and Linux</a>
and on <a href="https://phoenixnap.com/kb/windows-set-environment-variable" rel="nofollow">Windows</a>.`,rt,L,Ki=`This page will guide you through all environment variables specific to <code>huggingface_hub</code>
and their meaning.`,ft,x,ut,C,dt,M,Wi=`To configure the inference api base url. You might want to set this variable if your organization
is pointing at an API Gateway rather than directly at the inference api.`,ht,y,ji="Defaults to <code>&quot;https://api-inference.huggingface.co&quot;</code>.",ct,F,pt,A,Vi=`To configure where <code>huggingface_hub</code> will locally store data. In particular, your token
and the cache will be stored in this folder.`,mt,I,Qi='Defaults to <code>&quot;~/.cache/huggingface&quot;</code> unless <a href="#xdgcachehome">XDG_CACHE_HOME</a> is set.',gt,S,_t,k,Zi=`To configure where repositories from the Hub will be cached locally (models, datasets and
spaces).`,$t,P,Ji="Defaults to <code>&quot;$HF_HOME/hub&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/hub&quot;</code> by default).",Ht,B,Tt,N,en="To configure where Xet chunks (byte ranges from files managed by Xet backend) are cached locally.",bt,q,tn="Defaults to <code>&quot;$HF_HOME/xet&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/xet&quot;</code> by default).",vt,U,wt,O,nn=`To configure where <a href="../guides/manage-cache#caching-assets">assets</a> created by downstream libraries
will be cached locally. Those assets can be preprocessed data, files downloaded from GitHub,
logs,…`,Et,R,ln="Defaults to <code>&quot;$HF_HOME/assets&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/assets&quot;</code> by default).",Lt,D,xt,G,an=`To configure the User Access Token to authenticate to the Hub. If set, this value will
overwrite the token stored on the machine (in either <code>$HF_TOKEN_PATH</code> or <code>&quot;$HF_HOME/token&quot;</code> if the former is not set).`,Ct,X,on='For more details about authentication, check out <a href="../quick-start#authentication">this section</a>.',Mt,Y,yt,z,sn="To configure where <code>huggingface_hub</code> should store the User Access Token. Defaults to <code>&quot;$HF_HOME/token&quot;</code> (e.g. <code>~/.cache/huggingface/token</code> by default).",Ft,K,At,W,rn=`Set the verbosity level of the <code>huggingface_hub</code>’s logger. Must be one of
<code>{&quot;debug&quot;, &quot;info&quot;, &quot;warning&quot;, &quot;error&quot;, &quot;critical&quot;}</code>.`,It,j,fn="Defaults to <code>&quot;warning&quot;</code>.",St,V,un='For more details, see <a href="../package_reference/utilities#huggingface_hub.utils.logging.get_verbosity">logging reference</a>.',kt,Q,Pt,Z,dn="This environment variable has been deprecated and is now ignored by <code>huggingface_hub</code>. Downloading files to the local dir does not rely on symlinks anymore.",Bt,J,Nt,ee,hn="Integer value to define the number of seconds to wait for server response when fetching the latest metadata from a repo before downloading a file. If the request times out, <code>huggingface_hub</code> will default to the locally cached files. Setting a lower value speeds up the workflow for machines with a slow connection that have already cached files. A higher value guarantees the metadata call to succeed in more cases. Default to 10s.",qt,te,Ut,ie,cn="Integer value to define the number of seconds to wait for server response when downloading a file. If the request times out, a TimeoutError is raised. Setting a higher value is beneficial on machine with a slow connection. A smaller value makes the process fail quicker in case of complete network outage. Default to 10s.",Ot,ne,Rt,le,Dt,ae,pn='<li><a href="../package_reference/environment_variables#hfhubdisablexet"><code>HF_HUB_DISABLE_XET</code></a></li> <li><a href="../package_reference/environment_variables#hfxetcache"><code>HF_XET_CACHE</code></a></li> <li><a href="../package_reference/environment_variables#hfxethighperformance"><code>HF_XET_HIGH_PERFORMANCE</code></a></li> <li><a href="../package_reference/environment_variables#hfxetreconstructwritesequentially"><code>HF_XET_RECONSTRUCT_WRITE_SEQUENTIALLY</code></a></li>',Gt,oe,Xt,se,mn="To set the size of the Xet cache locally. Increasing this will give more space for caching terms/chunks fetched from S3. A larger cache can better take advantage of deduplication across repos &amp; files. If your network speed is much greater than your local disk speed (ex 10Gbps vs SSD or worse) then consider disabling the Xet cache for increased performance. To disable the Xet cache, set <code>HF_XET_CHUNK_CACHE_SIZE_BYTES=0</code>.",Yt,re,gn="Defaults to <code>10737418240</code> (10GiB).",zt,fe,Kt,ue,_n="To set the number of concurrent terms (range of bytes from within a xorb, often called a chunk) downloaded from S3 per file. Increasing this will help with the speed of downloading a file if there is network bandwidth available.",Wt,de,$n="Defaults to <code>16</code>.",jt,he,Vt,ce,Hn=`The following environment variables expect a boolean value. The variable will be considered
as <code>True</code> if its value is one of <code>{&quot;1&quot;, &quot;ON&quot;, &quot;YES&quot;, &quot;TRUE&quot;}</code> (case-insensitive). Any other value
(or undefined) will be considered as <code>False</code>.`,Qt,pe,Zt,me,Tn="If set, the log level for the <code>huggingface_hub</code> logger is set to DEBUG. Additionally, all requests made by HF libraries will be logged as equivalent cURL commands for easier debugging and reproducibility.",Jt,ge,ei,_e,bn="If set, no HTTP calls will be made to the Hugging Face Hub. If you try to download files, only the cached files will be accessed. If no cache file is detected, an error is raised This is useful in case your network is slow and you don’t care about having the latest version of a file.",ti,$e,vn='If <code>HF_HUB_OFFLINE=1</code> is set as environment variable and you call any method of <a href="/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi">HfApi</a>, an <a href="/docs/huggingface_hub/main/en/package_reference/utilities#huggingface_hub.errors.OfflineModeIsEnabled">OfflineModeIsEnabled</a> exception will be raised.',ii,He,wn="<strong>Note:</strong> even if the latest version of a file is cached, calling <code>hf_hub_download</code> still triggers a HTTP request to check that a new version is not available. Setting <code>HF_HUB_OFFLINE=1</code> will skip this call which speeds up your loading time.",ni,Te,li,be,En=`Authentication is not mandatory for every requests to the Hub. For instance, requesting
details about <code>&quot;gpt2&quot;</code> model does not require to be authenticated. However, if a user is
<a href="../package_reference/login">logged in</a>, the default behavior will be to always send the token
in order to ease user experience (never get a HTTP 401 Unauthorized) when accessing private or gated repositories. For privacy, you can
disable this behavior by setting <code>HF_HUB_DISABLE_IMPLICIT_TOKEN=1</code>. In this case,
the token will be sent only for “write-access” calls (example: create a commit).`,ai,ve,Ln=`<strong>Note:</strong> disabling implicit sending of token can have weird side effects. For example,
if you want to list all models on the Hub, your private models will not be listed. You
would need to explicitly pass <code>token=True</code> argument in your script.`,oi,we,si,Ee,xn=`For time consuming tasks, <code>huggingface_hub</code> displays a progress bar by default (using tqdm).
You can disable all the progress bars at once by setting <code>HF_HUB_DISABLE_PROGRESS_BARS=1</code>.`,ri,Le,fi,xe,Cn=`If you are on a Windows machine, it is recommended to enable the developer mode or to run
<code>huggingface_hub</code> in admin mode. If not, <code>huggingface_hub</code> will not be able to create
symlinks in your cache system. You will be able to execute any script but your user experience
will be degraded as some huge files might end-up duplicated on your hard-drive. A warning
message is triggered to warn you about this behavior. Set <code>HF_HUB_DISABLE_SYMLINKS_WARNING=1</code>,
to disable this warning.`,ui,Ce,Mn='For more details, see <a href="../guides/manage-cache#limitations">cache limitations</a>.',di,Me,hi,ye,yn=`Some features of <code>huggingface_hub</code> are experimental. This means you can use them but we do not guarantee they will be
maintained in the future. In particular, we might update the API or behavior of such features without any deprecation
cycle. A warning message is triggered when using an experimental feature to warn you about it. If you’re comfortable debugging any potential issues using an experimental feature, you can set <code>HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1</code> to disable the warning.`,ci,Fe,Fn="If you are using an experimental feature, please let us know! Your feedback can help us design and improve it.",pi,Ae,mi,Ie,An=`By default, some data is collected by HF libraries (<code>transformers</code>, <code>datasets</code>, <code>gradio</code>,..) to monitor usage, debug issues and help prioritize features.
Each library defines its own policy (i.e. which usage to monitor) but the core implementation happens in <code>huggingface_hub</code> (see <code>send_telemetry</code>).`,gi,Se,In="You can set <code>HF_HUB_DISABLE_TELEMETRY=1</code> as environment variable to globally disable telemetry.",_i,ke,$i,Pe,Sn="Set to disable using <code>hf-xet</code>, even if it is available in your Python environment. This is since <code>hf-xet</code> will be used automatically if it is found, this allows explicitly disabling its usage.",Hi,Be,Ti,Ne,kn="Set to <code>True</code> for faster uploads and downloads from the Hub using <code>hf_transfer</code>.",bi,qe,Pn=`By default, <code>huggingface_hub</code> uses the Python-based <code>requests.get</code> and <code>requests.post</code> functions.
Although these are reliable and versatile,
they may not be the most efficient choice for machines with high bandwidth.
<a href="https://github.com/huggingface/hf_transfer" rel="nofollow"><code>hf_transfer</code></a> is a Rust-based package developed to
maximize the bandwidth used by dividing large files into smaller parts
and transferring them simultaneously using multiple threads.
This approach can potentially double the transfer speed.
To use <code>hf_transfer</code>:`,vi,Ue,Bn=`<li>Specify the <code>hf_transfer</code> extra when installing <code>huggingface_hub</code>
(e.g. <code>pip install huggingface_hub[hf_transfer]</code>).</li> <li>Set <code>HF_HUB_ENABLE_HF_TRANSFER=1</code> as an environment variable.</li>`,wi,Oe,Nn="Please note that using <code>hf_transfer</code> comes with certain limitations. Since it is not purely Python-based, debugging errors may be challenging. Additionally, <code>hf_transfer</code> lacks several user-friendly features such as resumable downloads and proxies. These omissions are intentional to maintain the simplicity and speed of the Rust logic. Consequently, <code>hf_transfer</code> is not enabled by default in <code>huggingface_hub</code>.",Ei,v,Li,Re,xi,De,qn="Set <code>hf-xet</code> to operate with increased settings to maximize network and disk resources on the machine. Enabling high performance mode will try to saturate the network bandwidth of this machine and utilize all CPU cores for parallel upload/download activity. Consider this analogous to setting <code>HF_HUB_ENABLE_HF_TRANSFER=True</code> when uploading / downloading using <code>hf-xet</code> to the Xet storage backend.",Ci,Ge,Mi,Xe,Un="To have <code>hf-xet</code> write sequentially to local disk, instead of in parallel. <code>hf-xet</code> is designed for SSD/NVMe disks (using parallel writes with direct addressing). If you are using an HDD (spinning hard disk), setting this will change disk writes to be sequential instead of parallel. For slower hard disks, this can improve overall write performance, as the disk is not spinning to seek for parallel writes.",yi,Ye,Fi,ze,On="In order to standardize all environment variables within the Hugging Face ecosystem, some variables have been marked as deprecated. Although they remain functional, they no longer take precedence over their replacements. The following table outlines the deprecated variables and their corresponding alternatives:",Ai,Ke,Rn="<thead><tr><th>Deprecated Variable</th> <th>Replacement</th></tr></thead> <tbody><tr><td><code>HUGGINGFACE_HUB_CACHE</code></td> <td><code>HF_HUB_CACHE</code></td></tr> <tr><td><code>HUGGINGFACE_ASSETS_CACHE</code></td> <td><code>HF_ASSETS_CACHE</code></td></tr> <tr><td><code>HUGGING_FACE_HUB_TOKEN</code></td> <td><code>HF_TOKEN</code></td></tr> <tr><td><code>HUGGINGFACE_HUB_VERBOSITY</code></td> <td><code>HF_HUB_VERBOSITY</code></td></tr></tbody>",Ii,We,Si,je,Dn="Some environment variables are not specific to <code>huggingface_hub</code> but are still taken into account when they are set.",ki,Ve,Pi,Qe,Gn='Boolean value. Equivalent to <code>HF_HUB_DISABLE_TELEMETRY</code>. When set to true, telemetry is globally disabled in the Hugging Face Python ecosystem (<code>transformers</code>, <code>diffusers</code>, <code>gradio</code>, etc.). See <a href="https://consoledonottrack.com/" rel="nofollow">https://consoledonottrack.com/</a> for more details.',Bi,Ze,Ni,Je,Xn=`Boolean value. When set, <code>huggingface-cli</code> tool will not print any ANSI color.
See <a href="https://no-color.org/" rel="nofollow">no-color.org</a>.`,qi,et,Ui,tt,Yn="Used only when <code>HF_HOME</code> is not set!",Oi,it,zn=`This is the default way to configure where <a href="https://wiki.archlinux.org/title/XDG_Base_Directory" rel="nofollow">user-specific non-essential (cached) data should be written</a>
on linux machines.`,Ri,nt,Kn=`If <code>HF_HOME</code> is not set, the default home will be <code>&quot;$XDG_CACHE_HOME/huggingface&quot;</code> instead
of <code>&quot;~/.cache/huggingface&quot;</code>.`,Di,lt,Gi,at,Xi;return b=new m({props:{title:"Environment variables",local:"environment-variables",headingTag:"h1"}}),x=new m({props:{title:"Generic",local:"generic",headingTag:"h2"}}),C=new m({props:{title:"HF_INFERENCE_ENDPOINT",local:"hfinferenceendpoint",headingTag:"h3"}}),F=new m({props:{title:"HF_HOME",local:"hfhome",headingTag:"h3"}}),S=new m({props:{title:"HF_HUB_CACHE",local:"hfhubcache",headingTag:"h3"}}),B=new m({props:{title:"HF_XET_CACHE",local:"hfxetcache",headingTag:"h3"}}),U=new m({props:{title:"HF_ASSETS_CACHE",local:"hfassetscache",headingTag:"h3"}}),D=new m({props:{title:"HF_TOKEN",local:"hftoken",headingTag:"h3"}}),Y=new m({props:{title:"HF_TOKEN_PATH",local:"hftokenpath",headingTag:"h3"}}),K=new m({props:{title:"HF_HUB_VERBOSITY",local:"hfhubverbosity",headingTag:"h3"}}),Q=new m({props:{title:"HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD",local:"hfhublocaldirautosymlinkthreshold",headingTag:"h3"}}),J=new m({props:{title:"HF_HUB_ETAG_TIMEOUT",local:"hfhubetagtimeout",headingTag:"h3"}}),te=new m({props:{title:"HF_HUB_DOWNLOAD_TIMEOUT",local:"hfhubdownloadtimeout",headingTag:"h3"}}),ne=new m({props:{title:"Xet",local:"xet",headingTag:"h2"}}),le=new m({props:{title:"Other Xet environment variables",local:"other-xet-environment-variables",headingTag:"h3"}}),oe=new m({props:{title:"HF_XET_CHUNK_CACHE_SIZE_BYTES",local:"hfxetchunkcachesizebytes",headingTag:"h3"}}),fe=new m({props:{title:"HF_XET_NUM_CONCURRENT_RANGE_GETS",local:"hfxetnumconcurrentrangegets",headingTag:"h3"}}),he=new m({props:{title:"Boolean values",local:"boolean-values",headingTag:"h2"}}),pe=new m({props:{title:"HF_DEBUG",local:"hfdebug",headingTag:"h3"}}),ge=new m({props:{title:"HF_HUB_OFFLINE",local:"hfhuboffline",headingTag:"h3"}}),Te=new m({props:{title:"HF_HUB_DISABLE_IMPLICIT_TOKEN",local:"hfhubdisableimplicittoken",headingTag:"h3"}}),we=new m({props:{title:"HF_HUB_DISABLE_PROGRESS_BARS",local:"hfhubdisableprogressbars",headingTag:"h3"}}),Le=new m({props:{title:"HF_HUB_DISABLE_SYMLINKS_WARNING",local:"hfhubdisablesymlinkswarning",headingTag:"h3"}}),Me=new m({props:{title:"HF_HUB_DISABLE_EXPERIMENTAL_WARNING",local:"hfhubdisableexperimentalwarning",headingTag:"h3"}}),Ae=new m({props:{title:"HF_HUB_DISABLE_TELEMETRY",local:"hfhubdisabletelemetry",headingTag:"h3"}}),ke=new m({props:{title:"HF_HUB_DISABLE_XET",local:"hfhubdisablexet",headingTag:"h3"}}),Be=new m({props:{title:"HF_HUB_ENABLE_HF_TRANSFER",local:"hfhubenablehftransfer",headingTag:"h3"}}),v=new ll({props:{$$slots:{default:[ol]},$$scope:{ctx:ot}}}),Re=new m({props:{title:"HF_XET_HIGH_PERFORMANCE",local:"hfxethighperformance",headingTag:"h3"}}),Ge=new m({props:{title:"HF_XET_RECONSTRUCT_WRITE_SEQUENTIALLY",local:"hfxetreconstructwritesequentially",headingTag:"h3"}}),Ye=new m({props:{title:"Deprecated environment variables",local:"deprecated-environment-variables",headingTag:"h2"}}),We=new m({props:{title:"From external tools",local:"from-external-tools",headingTag:"h2"}}),Ve=new m({props:{title:"DO_NOT_TRACK",local:"donottrack",headingTag:"h3"}}),Ze=new m({props:{title:"NO_COLOR",local:"nocolor",headingTag:"h3"}}),et=new m({props:{title:"XDG_CACHE_HOME",local:"xdgcachehome",headingTag:"h3"}}),lt=new al({props:{source:"https://github.com/huggingface/huggingface_hub/blob/main/docs/source/en/package_reference/environment_variables.md"}}),{c(){g=o("meta"),w=l(),T=o("p"),$=l(),f(b.$$.fragment),_=l(),H=o("p"),H.innerHTML=Yi,st=l(),E=o("p"),E.innerHTML=zi,rt=l(),L=o("p"),L.innerHTML=Ki,ft=l(),f(x.$$.fragment),ut=l(),f(C.$$.fragment),dt=l(),M=o("p"),M.textContent=Wi,ht=l(),y=o("p"),y.innerHTML=ji,ct=l(),f(F.$$.fragment),pt=l(),A=o("p"),A.innerHTML=Vi,mt=l(),I=o("p"),I.innerHTML=Qi,gt=l(),f(S.$$.fragment),_t=l(),k=o("p"),k.textContent=Zi,$t=l(),P=o("p"),P.innerHTML=Ji,Ht=l(),f(B.$$.fragment),Tt=l(),N=o("p"),N.textContent=en,bt=l(),q=o("p"),q.innerHTML=tn,vt=l(),f(U.$$.fragment),wt=l(),O=o("p"),O.innerHTML=nn,Et=l(),R=o("p"),R.innerHTML=ln,Lt=l(),f(D.$$.fragment),xt=l(),G=o("p"),G.innerHTML=an,Ct=l(),X=o("p"),X.innerHTML=on,Mt=l(),f(Y.$$.fragment),yt=l(),z=o("p"),z.innerHTML=sn,Ft=l(),f(K.$$.fragment),At=l(),W=o("p"),W.innerHTML=rn,It=l(),j=o("p"),j.innerHTML=fn,St=l(),V=o("p"),V.innerHTML=un,kt=l(),f(Q.$$.fragment),Pt=l(),Z=o("p"),Z.innerHTML=dn,Bt=l(),f(J.$$.fragment),Nt=l(),ee=o("p"),ee.innerHTML=hn,qt=l(),f(te.$$.fragment),Ut=l(),ie=o("p"),ie.textContent=cn,Ot=l(),f(ne.$$.fragment),Rt=l(),f(le.$$.fragment),Dt=l(),ae=o("ul"),ae.innerHTML=pn,Gt=l(),f(oe.$$.fragment),Xt=l(),se=o("p"),se.innerHTML=mn,Yt=l(),re=o("p"),re.innerHTML=gn,zt=l(),f(fe.$$.fragment),Kt=l(),ue=o("p"),ue.textContent=_n,Wt=l(),de=o("p"),de.innerHTML=$n,jt=l(),f(he.$$.fragment),Vt=l(),ce=o("p"),ce.innerHTML=Hn,Qt=l(),f(pe.$$.fragment),Zt=l(),me=o("p"),me.innerHTML=Tn,Jt=l(),f(ge.$$.fragment),ei=l(),_e=o("p"),_e.textContent=bn,ti=l(),$e=o("p"),$e.innerHTML=vn,ii=l(),He=o("p"),He.innerHTML=wn,ni=l(),f(Te.$$.fragment),li=l(),be=o("p"),be.innerHTML=En,ai=l(),ve=o("p"),ve.innerHTML=Ln,oi=l(),f(we.$$.fragment),si=l(),Ee=o("p"),Ee.innerHTML=xn,ri=l(),f(Le.$$.fragment),fi=l(),xe=o("p"),xe.innerHTML=Cn,ui=l(),Ce=o("p"),Ce.innerHTML=Mn,di=l(),f(Me.$$.fragment),hi=l(),ye=o("p"),ye.innerHTML=yn,ci=l(),Fe=o("p"),Fe.textContent=Fn,pi=l(),f(Ae.$$.fragment),mi=l(),Ie=o("p"),Ie.innerHTML=An,gi=l(),Se=o("p"),Se.innerHTML=In,_i=l(),f(ke.$$.fragment),$i=l(),Pe=o("p"),Pe.innerHTML=Sn,Hi=l(),f(Be.$$.fragment),Ti=l(),Ne=o("p"),Ne.innerHTML=kn,bi=l(),qe=o("p"),qe.innerHTML=Pn,vi=l(),Ue=o("ol"),Ue.innerHTML=Bn,wi=l(),Oe=o("p"),Oe.innerHTML=Nn,Ei=l(),f(v.$$.fragment),Li=l(),f(Re.$$.fragment),xi=l(),De=o("p"),De.innerHTML=qn,Ci=l(),f(Ge.$$.fragment),Mi=l(),Xe=o("p"),Xe.innerHTML=Un,yi=l(),f(Ye.$$.fragment),Fi=l(),ze=o("p"),ze.textContent=On,Ai=l(),Ke=o("table"),Ke.innerHTML=Rn,Ii=l(),f(We.$$.fragment),Si=l(),je=o("p"),je.innerHTML=Dn,ki=l(),f(Ve.$$.fragment),Pi=l(),Qe=o("p"),Qe.innerHTML=Gn,Bi=l(),f(Ze.$$.fragment),Ni=l(),Je=o("p"),Je.innerHTML=Xn,qi=l(),f(et.$$.fragment),Ui=l(),tt=o("p"),tt.innerHTML=Yn,Oi=l(),it=o("p"),it.innerHTML=zn,Ri=l(),nt=o("p"),nt.innerHTML=Kn,Di=l(),f(lt.$$.fragment),Gi=l(),at=o("p"),this.h()},l(e){const t=il("svelte-u9bgzb",document.head);g=s(t,"META",{name:!0,content:!0}),t.forEach(i),w=a(e),T=s(e,"P",{}),jn(T).forEach(i),$=a(e),u(b.$$.fragment,e),_=a(e),H=s(e,"P",{"data-svelte-h":!0}),r(H)!=="svelte-1xuew16"&&(H.innerHTML=Yi),st=a(e),E=s(e,"P",{"data-svelte-h":!0}),r(E)!=="svelte-1by1ave"&&(E.innerHTML=zi),rt=a(e),L=s(e,"P",{"data-svelte-h":!0}),r(L)!=="svelte-5z5k2g"&&(L.innerHTML=Ki),ft=a(e),u(x.$$.fragment,e),ut=a(e),u(C.$$.fragment,e),dt=a(e),M=s(e,"P",{"data-svelte-h":!0}),r(M)!=="svelte-178hqev"&&(M.textContent=Wi),ht=a(e),y=s(e,"P",{"data-svelte-h":!0}),r(y)!=="svelte-3un1ol"&&(y.innerHTML=ji),ct=a(e),u(F.$$.fragment,e),pt=a(e),A=s(e,"P",{"data-svelte-h":!0}),r(A)!=="svelte-uz9mxv"&&(A.innerHTML=Vi),mt=a(e),I=s(e,"P",{"data-svelte-h":!0}),r(I)!=="svelte-1x0d3ca"&&(I.innerHTML=Qi),gt=a(e),u(S.$$.fragment,e),_t=a(e),k=s(e,"P",{"data-svelte-h":!0}),r(k)!=="svelte-lfw4ab"&&(k.textContent=Zi),$t=a(e),P=s(e,"P",{"data-svelte-h":!0}),r(P)!=="svelte-a5p60a"&&(P.innerHTML=Ji),Ht=a(e),u(B.$$.fragment,e),Tt=a(e),N=s(e,"P",{"data-svelte-h":!0}),r(N)!=="svelte-1actej4"&&(N.textContent=en),bt=a(e),q=s(e,"P",{"data-svelte-h":!0}),r(q)!=="svelte-15fupku"&&(q.innerHTML=tn),vt=a(e),u(U.$$.fragment,e),wt=a(e),O=s(e,"P",{"data-svelte-h":!0}),r(O)!=="svelte-ksjawo"&&(O.innerHTML=nn),Et=a(e),R=s(e,"P",{"data-svelte-h":!0}),r(R)!=="svelte-3wzlwo"&&(R.innerHTML=ln),Lt=a(e),u(D.$$.fragment,e),xt=a(e),G=s(e,"P",{"data-svelte-h":!0}),r(G)!=="svelte-81jzle"&&(G.innerHTML=an),Ct=a(e),X=s(e,"P",{"data-svelte-h":!0}),r(X)!=="svelte-pa4dpn"&&(X.innerHTML=on),Mt=a(e),u(Y.$$.fragment,e),yt=a(e),z=s(e,"P",{"data-svelte-h":!0}),r(z)!=="svelte-ks6kva"&&(z.innerHTML=sn),Ft=a(e),u(K.$$.fragment,e),At=a(e),W=s(e,"P",{"data-svelte-h":!0}),r(W)!=="svelte-t9rwl1"&&(W.innerHTML=rn),It=a(e),j=s(e,"P",{"data-svelte-h":!0}),r(j)!=="svelte-4zt9wc"&&(j.innerHTML=fn),St=a(e),V=s(e,"P",{"data-svelte-h":!0}),r(V)!=="svelte-5rzz4d"&&(V.innerHTML=un),kt=a(e),u(Q.$$.fragment,e),Pt=a(e),Z=s(e,"P",{"data-svelte-h":!0}),r(Z)!=="svelte-1kpds0m"&&(Z.innerHTML=dn),Bt=a(e),u(J.$$.fragment,e),Nt=a(e),ee=s(e,"P",{"data-svelte-h":!0}),r(ee)!=="svelte-14q9j1n"&&(ee.innerHTML=hn),qt=a(e),u(te.$$.fragment,e),Ut=a(e),ie=s(e,"P",{"data-svelte-h":!0}),r(ie)!=="svelte-8qjsc"&&(ie.textContent=cn),Ot=a(e),u(ne.$$.fragment,e),Rt=a(e),u(le.$$.fragment,e),Dt=a(e),ae=s(e,"UL",{"data-svelte-h":!0}),r(ae)!=="svelte-egfzye"&&(ae.innerHTML=pn),Gt=a(e),u(oe.$$.fragment,e),Xt=a(e),se=s(e,"P",{"data-svelte-h":!0}),r(se)!=="svelte-19v6dbf"&&(se.innerHTML=mn),Yt=a(e),re=s(e,"P",{"data-svelte-h":!0}),r(re)!=="svelte-183qxhd"&&(re.innerHTML=gn),zt=a(e),u(fe.$$.fragment,e),Kt=a(e),ue=s(e,"P",{"data-svelte-h":!0}),r(ue)!=="svelte-131g5cp"&&(ue.textContent=_n),Wt=a(e),de=s(e,"P",{"data-svelte-h":!0}),r(de)!=="svelte-13faio5"&&(de.innerHTML=$n),jt=a(e),u(he.$$.fragment,e),Vt=a(e),ce=s(e,"P",{"data-svelte-h":!0}),r(ce)!=="svelte-1enkv8e"&&(ce.innerHTML=Hn),Qt=a(e),u(pe.$$.fragment,e),Zt=a(e),me=s(e,"P",{"data-svelte-h":!0}),r(me)!=="svelte-1ir96u3"&&(me.innerHTML=Tn),Jt=a(e),u(ge.$$.fragment,e),ei=a(e),_e=s(e,"P",{"data-svelte-h":!0}),r(_e)!=="svelte-1uojfms"&&(_e.textContent=bn),ti=a(e),$e=s(e,"P",{"data-svelte-h":!0}),r($e)!=="svelte-12xdqcw"&&($e.innerHTML=vn),ii=a(e),He=s(e,"P",{"data-svelte-h":!0}),r(He)!=="svelte-p6ydxq"&&(He.innerHTML=wn),ni=a(e),u(Te.$$.fragment,e),li=a(e),be=s(e,"P",{"data-svelte-h":!0}),r(be)!=="svelte-1gxpflx"&&(be.innerHTML=En),ai=a(e),ve=s(e,"P",{"data-svelte-h":!0}),r(ve)!=="svelte-d0rh1g"&&(ve.innerHTML=Ln),oi=a(e),u(we.$$.fragment,e),si=a(e),Ee=s(e,"P",{"data-svelte-h":!0}),r(Ee)!=="svelte-192tmol"&&(Ee.innerHTML=xn),ri=a(e),u(Le.$$.fragment,e),fi=a(e),xe=s(e,"P",{"data-svelte-h":!0}),r(xe)!=="svelte-1a5ggf9"&&(xe.innerHTML=Cn),ui=a(e),Ce=s(e,"P",{"data-svelte-h":!0}),r(Ce)!=="svelte-1wsb5xe"&&(Ce.innerHTML=Mn),di=a(e),u(Me.$$.fragment,e),hi=a(e),ye=s(e,"P",{"data-svelte-h":!0}),r(ye)!=="svelte-16gkjc3"&&(ye.innerHTML=yn),ci=a(e),Fe=s(e,"P",{"data-svelte-h":!0}),r(Fe)!=="svelte-140g1ix"&&(Fe.textContent=Fn),pi=a(e),u(Ae.$$.fragment,e),mi=a(e),Ie=s(e,"P",{"data-svelte-h":!0}),r(Ie)!=="svelte-yphpce"&&(Ie.innerHTML=An),gi=a(e),Se=s(e,"P",{"data-svelte-h":!0}),r(Se)!=="svelte-h3tzls"&&(Se.innerHTML=In),_i=a(e),u(ke.$$.fragment,e),$i=a(e),Pe=s(e,"P",{"data-svelte-h":!0}),r(Pe)!=="svelte-19t0n3t"&&(Pe.innerHTML=Sn),Hi=a(e),u(Be.$$.fragment,e),Ti=a(e),Ne=s(e,"P",{"data-svelte-h":!0}),r(Ne)!=="svelte-1nmal47"&&(Ne.innerHTML=kn),bi=a(e),qe=s(e,"P",{"data-svelte-h":!0}),r(qe)!=="svelte-1qiqswm"&&(qe.innerHTML=Pn),vi=a(e),Ue=s(e,"OL",{"data-svelte-h":!0}),r(Ue)!=="svelte-qiartd"&&(Ue.innerHTML=Bn),wi=a(e),Oe=s(e,"P",{"data-svelte-h":!0}),r(Oe)!=="svelte-a4nd83"&&(Oe.innerHTML=Nn),Ei=a(e),u(v.$$.fragment,e),Li=a(e),u(Re.$$.fragment,e),xi=a(e),De=s(e,"P",{"data-svelte-h":!0}),r(De)!=="svelte-1e9jyu4"&&(De.innerHTML=qn),Ci=a(e),u(Ge.$$.fragment,e),Mi=a(e),Xe=s(e,"P",{"data-svelte-h":!0}),r(Xe)!=="svelte-werts4"&&(Xe.innerHTML=Un),yi=a(e),u(Ye.$$.fragment,e),Fi=a(e),ze=s(e,"P",{"data-svelte-h":!0}),r(ze)!=="svelte-1xlsmjd"&&(ze.textContent=On),Ai=a(e),Ke=s(e,"TABLE",{"data-svelte-h":!0}),r(Ke)!=="svelte-19wux3d"&&(Ke.innerHTML=Rn),Ii=a(e),u(We.$$.fragment,e),Si=a(e),je=s(e,"P",{"data-svelte-h":!0}),r(je)!=="svelte-6ntlb2"&&(je.innerHTML=Dn),ki=a(e),u(Ve.$$.fragment,e),Pi=a(e),Qe=s(e,"P",{"data-svelte-h":!0}),r(Qe)!=="svelte-yngnil"&&(Qe.innerHTML=Gn),Bi=a(e),u(Ze.$$.fragment,e),Ni=a(e),Je=s(e,"P",{"data-svelte-h":!0}),r(Je)!=="svelte-16nqegp"&&(Je.innerHTML=Xn),qi=a(e),u(et.$$.fragment,e),Ui=a(e),tt=s(e,"P",{"data-svelte-h":!0}),r(tt)!=="svelte-38e7oi"&&(tt.innerHTML=Yn),Oi=a(e),it=s(e,"P",{"data-svelte-h":!0}),r(it)!=="svelte-khdsxn"&&(it.innerHTML=zn),Ri=a(e),nt=s(e,"P",{"data-svelte-h":!0}),r(nt)!=="svelte-hhj9xt"&&(nt.innerHTML=Kn),Di=a(e),u(lt.$$.fragment,e),Gi=a(e),at=s(e,"P",{}),jn(at).forEach(i),this.h()},h(){Vn(g,"name","hf:doc:metadata"),Vn(g,"content",rl)},m(e,t){nl(document.head,g),n(e,w,t),n(e,T,t),n(e,$,t),d(b,e,t),n(e,_,t),n(e,H,t),n(e,st,t),n(e,E,t),n(e,rt,t),n(e,L,t),n(e,ft,t),d(x,e,t),n(e,ut,t),d(C,e,t),n(e,dt,t),n(e,M,t),n(e,ht,t),n(e,y,t),n(e,ct,t),d(F,e,t),n(e,pt,t),n(e,A,t),n(e,mt,t),n(e,I,t),n(e,gt,t),d(S,e,t),n(e,_t,t),n(e,k,t),n(e,$t,t),n(e,P,t),n(e,Ht,t),d(B,e,t),n(e,Tt,t),n(e,N,t),n(e,bt,t),n(e,q,t),n(e,vt,t),d(U,e,t),n(e,wt,t),n(e,O,t),n(e,Et,t),n(e,R,t),n(e,Lt,t),d(D,e,t),n(e,xt,t),n(e,G,t),n(e,Ct,t),n(e,X,t),n(e,Mt,t),d(Y,e,t),n(e,yt,t),n(e,z,t),n(e,Ft,t),d(K,e,t),n(e,At,t),n(e,W,t),n(e,It,t),n(e,j,t),n(e,St,t),n(e,V,t),n(e,kt,t),d(Q,e,t),n(e,Pt,t),n(e,Z,t),n(e,Bt,t),d(J,e,t),n(e,Nt,t),n(e,ee,t),n(e,qt,t),d(te,e,t),n(e,Ut,t),n(e,ie,t),n(e,Ot,t),d(ne,e,t),n(e,Rt,t),d(le,e,t),n(e,Dt,t),n(e,ae,t),n(e,Gt,t),d(oe,e,t),n(e,Xt,t),n(e,se,t),n(e,Yt,t),n(e,re,t),n(e,zt,t),d(fe,e,t),n(e,Kt,t),n(e,ue,t),n(e,Wt,t),n(e,de,t),n(e,jt,t),d(he,e,t),n(e,Vt,t),n(e,ce,t),n(e,Qt,t),d(pe,e,t),n(e,Zt,t),n(e,me,t),n(e,Jt,t),d(ge,e,t),n(e,ei,t),n(e,_e,t),n(e,ti,t),n(e,$e,t),n(e,ii,t),n(e,He,t),n(e,ni,t),d(Te,e,t),n(e,li,t),n(e,be,t),n(e,ai,t),n(e,ve,t),n(e,oi,t),d(we,e,t),n(e,si,t),n(e,Ee,t),n(e,ri,t),d(Le,e,t),n(e,fi,t),n(e,xe,t),n(e,ui,t),n(e,Ce,t),n(e,di,t),d(Me,e,t),n(e,hi,t),n(e,ye,t),n(e,ci,t),n(e,Fe,t),n(e,pi,t),d(Ae,e,t),n(e,mi,t),n(e,Ie,t),n(e,gi,t),n(e,Se,t),n(e,_i,t),d(ke,e,t),n(e,$i,t),n(e,Pe,t),n(e,Hi,t),d(Be,e,t),n(e,Ti,t),n(e,Ne,t),n(e,bi,t),n(e,qe,t),n(e,vi,t),n(e,Ue,t),n(e,wi,t),n(e,Oe,t),n(e,Ei,t),d(v,e,t),n(e,Li,t),d(Re,e,t),n(e,xi,t),n(e,De,t),n(e,Ci,t),d(Ge,e,t),n(e,Mi,t),n(e,Xe,t),n(e,yi,t),d(Ye,e,t),n(e,Fi,t),n(e,ze,t),n(e,Ai,t),n(e,Ke,t),n(e,Ii,t),d(We,e,t),n(e,Si,t),n(e,je,t),n(e,ki,t),d(Ve,e,t),n(e,Pi,t),n(e,Qe,t),n(e,Bi,t),d(Ze,e,t),n(e,Ni,t),n(e,Je,t),n(e,qi,t),d(et,e,t),n(e,Ui,t),n(e,tt,t),n(e,Oi,t),n(e,it,t),n(e,Ri,t),n(e,nt,t),n(e,Di,t),d(lt,e,t),n(e,Gi,t),n(e,at,t),Xi=!0},p(e,[t]){const Wn={};t&2&&(Wn.$$scope={dirty:t,ctx:e}),v.$set(Wn)},i(e){Xi||(h(b.$$.fragment,e),h(x.$$.fragment,e),h(C.$$.fragment,e),h(F.$$.fragment,e),h(S.$$.fragment,e),h(B.$$.fragment,e),h(U.$$.fragment,e),h(D.$$.fragment,e),h(Y.$$.fragment,e),h(K.$$.fragment,e),h(Q.$$.fragment,e),h(J.$$.fragment,e),h(te.$$.fragment,e),h(ne.$$.fragment,e),h(le.$$.fragment,e),h(oe.$$.fragment,e),h(fe.$$.fragment,e),h(he.$$.fragment,e),h(pe.$$.fragment,e),h(ge.$$.fragment,e),h(Te.$$.fragment,e),h(we.$$.fragment,e),h(Le.$$.fragment,e),h(Me.$$.fragment,e),h(Ae.$$.fragment,e),h(ke.$$.fragment,e),h(Be.$$.fragment,e),h(v.$$.fragment,e),h(Re.$$.fragment,e),h(Ge.$$.fragment,e),h(Ye.$$.fragment,e),h(We.$$.fragment,e),h(Ve.$$.fragment,e),h(Ze.$$.fragment,e),h(et.$$.fragment,e),h(lt.$$.fragment,e),Xi=!0)},o(e){c(b.$$.fragment,e),c(x.$$.fragment,e),c(C.$$.fragment,e),c(F.$$.fragment,e),c(S.$$.fragment,e),c(B.$$.fragment,e),c(U.$$.fragment,e),c(D.$$.fragment,e),c(Y.$$.fragment,e),c(K.$$.fragment,e),c(Q.$$.fragment,e),c(J.$$.fragment,e),c(te.$$.fragment,e),c(ne.$$.fragment,e),c(le.$$.fragment,e),c(oe.$$.fragment,e),c(fe.$$.fragment,e),c(he.$$.fragment,e),c(pe.$$.fragment,e),c(ge.$$.fragment,e),c(Te.$$.fragment,e),c(we.$$.fragment,e),c(Le.$$.fragment,e),c(Me.$$.fragment,e),c(Ae.$$.fragment,e),c(ke.$$.fragment,e),c(Be.$$.fragment,e),c(v.$$.fragment,e),c(Re.$$.fragment,e),c(Ge.$$.fragment,e),c(Ye.$$.fragment,e),c(We.$$.fragment,e),c(Ve.$$.fragment,e),c(Ze.$$.fragment,e),c(et.$$.fragment,e),c(lt.$$.fragment,e),Xi=!1},d(e){e&&(i(w),i(T),i($),i(_),i(H),i(st),i(E),i(rt),i(L),i(ft),i(ut),i(dt),i(M),i(ht),i(y),i(ct),i(pt),i(A),i(mt),i(I),i(gt),i(_t),i(k),i($t),i(P),i(Ht),i(Tt),i(N),i(bt),i(q),i(vt),i(wt),i(O),i(Et),i(R),i(Lt),i(xt),i(G),i(Ct),i(X),i(Mt),i(yt),i(z),i(Ft),i(At),i(W),i(It),i(j),i(St),i(V),i(kt),i(Pt),i(Z),i(Bt),i(Nt),i(ee),i(qt),i(Ut),i(ie),i(Ot),i(Rt),i(Dt),i(ae),i(Gt),i(Xt),i(se),i(Yt),i(re),i(zt),i(Kt),i(ue),i(Wt),i(de),i(jt),i(Vt),i(ce),i(Qt),i(Zt),i(me),i(Jt),i(ei),i(_e),i(ti),i($e),i(ii),i(He),i(ni),i(li),i(be),i(ai),i(ve),i(oi),i(si),i(Ee),i(ri),i(fi),i(xe),i(ui),i(Ce),i(di),i(hi),i(ye),i(ci),i(Fe),i(pi),i(mi),i(Ie),i(gi),i(Se),i(_i),i($i),i(Pe),i(Hi),i(Ti),i(Ne),i(bi),i(qe),i(vi),i(Ue),i(wi),i(Oe),i(Ei),i(Li),i(xi),i(De),i(Ci),i(Mi),i(Xe),i(yi),i(Fi),i(ze),i(Ai),i(Ke),i(Ii),i(Si),i(je),i(ki),i(Pi),i(Qe),i(Bi),i(Ni),i(Je),i(qi),i(Ui),i(tt),i(Oi),i(it),i(Ri),i(nt),i(Di),i(Gi),i(at)),i(g),p(b,e),p(x,e),p(C,e),p(F,e),p(S,e),p(B,e),p(U,e),p(D,e),p(Y,e),p(K,e),p(Q,e),p(J,e),p(te,e),p(ne,e),p(le,e),p(oe,e),p(fe,e),p(he,e),p(pe,e),p(ge,e),p(Te,e),p(we,e),p(Le,e),p(Me,e),p(Ae,e),p(ke,e),p(Be,e),p(v,e),p(Re,e),p(Ge,e),p(Ye,e),p(We,e),p(Ve,e),p(Ze,e),p(et,e),p(lt,e)}}}const rl='{"title":"Environment variables","local":"environment-variables","sections":[{"title":"Generic","local":"generic","sections":[{"title":"HF_INFERENCE_ENDPOINT","local":"hfinferenceendpoint","sections":[],"depth":3},{"title":"HF_HOME","local":"hfhome","sections":[],"depth":3},{"title":"HF_HUB_CACHE","local":"hfhubcache","sections":[],"depth":3},{"title":"HF_XET_CACHE","local":"hfxetcache","sections":[],"depth":3},{"title":"HF_ASSETS_CACHE","local":"hfassetscache","sections":[],"depth":3},{"title":"HF_TOKEN","local":"hftoken","sections":[],"depth":3},{"title":"HF_TOKEN_PATH","local":"hftokenpath","sections":[],"depth":3},{"title":"HF_HUB_VERBOSITY","local":"hfhubverbosity","sections":[],"depth":3},{"title":"HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD","local":"hfhublocaldirautosymlinkthreshold","sections":[],"depth":3},{"title":"HF_HUB_ETAG_TIMEOUT","local":"hfhubetagtimeout","sections":[],"depth":3},{"title":"HF_HUB_DOWNLOAD_TIMEOUT","local":"hfhubdownloadtimeout","sections":[],"depth":3}],"depth":2},{"title":"Xet","local":"xet","sections":[{"title":"Other Xet environment variables","local":"other-xet-environment-variables","sections":[],"depth":3},{"title":"HF_XET_CHUNK_CACHE_SIZE_BYTES","local":"hfxetchunkcachesizebytes","sections":[],"depth":3},{"title":"HF_XET_NUM_CONCURRENT_RANGE_GETS","local":"hfxetnumconcurrentrangegets","sections":[],"depth":3}],"depth":2},{"title":"Boolean values","local":"boolean-values","sections":[{"title":"HF_DEBUG","local":"hfdebug","sections":[],"depth":3},{"title":"HF_HUB_OFFLINE","local":"hfhuboffline","sections":[],"depth":3},{"title":"HF_HUB_DISABLE_IMPLICIT_TOKEN","local":"hfhubdisableimplicittoken","sections":[],"depth":3},{"title":"HF_HUB_DISABLE_PROGRESS_BARS","local":"hfhubdisableprogressbars","sections":[],"depth":3},{"title":"HF_HUB_DISABLE_SYMLINKS_WARNING","local":"hfhubdisablesymlinkswarning","sections":[],"depth":3},{"title":"HF_HUB_DISABLE_EXPERIMENTAL_WARNING","local":"hfhubdisableexperimentalwarning","sections":[],"depth":3},{"title":"HF_HUB_DISABLE_TELEMETRY","local":"hfhubdisabletelemetry","sections":[],"depth":3},{"title":"HF_HUB_DISABLE_XET","local":"hfhubdisablexet","sections":[],"depth":3},{"title":"HF_HUB_ENABLE_HF_TRANSFER","local":"hfhubenablehftransfer","sections":[],"depth":3},{"title":"HF_XET_HIGH_PERFORMANCE","local":"hfxethighperformance","sections":[],"depth":3},{"title":"HF_XET_RECONSTRUCT_WRITE_SEQUENTIALLY","local":"hfxetreconstructwritesequentially","sections":[],"depth":3}],"depth":2},{"title":"Deprecated environment variables","local":"deprecated-environment-variables","sections":[],"depth":2},{"title":"From external tools","local":"from-external-tools","sections":[{"title":"DO_NOT_TRACK","local":"donottrack","sections":[],"depth":3},{"title":"NO_COLOR","local":"nocolor","sections":[],"depth":3},{"title":"XDG_CACHE_HOME","local":"xdgcachehome","sections":[],"depth":3}],"depth":2}],"depth":1}';function fl(ot){return Zn(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class pl extends el{constructor(g){super(),tl(this,g,fl,sl,Qn,{})}}export{pl as component};
