import{s as jl,n as Vl,o as Ql}from"../chunks/scheduler.0cf4ef2e.js";import{S as Zl,i as Jl,e as o,s as n,c as f,h as en,a as s,d as i,b as a,f as Wl,g as u,j as r,k as Xi,l as tn,m as l,n as h,t as d,o as c,p}from"../chunks/index.abc433bf.js";import{C as ln}from"../chunks/CopyLLMTxtMenu.efc6b005.js";import{H as m,E as nn}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.86d448e2.js";function an(zi){let g,lt,tt,nt,$,at,H,ot,T,Yi="<code>huggingface_hub</code> can be configured using environment variables.",st,b,Ki=`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,v,Wi=`This page will guide you through all environment variables specific to <code>huggingface_hub</code>
and their meaning.`,ft,w,ut,E,ht,x,ji=`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.`,dt,L,Vi="Defaults to <code>&quot;https://api-inference.huggingface.co&quot;</code>.",ct,C,pt,y,Qi=`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,M,Zi='Defaults to <code>&quot;~/.cache/huggingface&quot;</code> unless <a href="#xdgcachehome">XDG_CACHE_HOME</a> is set.',gt,F,_t,I,Ji=`To configure where repositories from the Hub will be cached locally (models, datasets and
spaces).`,$t,A,el="Defaults to <code>&quot;$HF_HOME/hub&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/hub&quot;</code> by default).",Ht,k,Tt,S,tl="To configure where Xet chunks (byte ranges from files managed by Xet backend) are cached locally.",bt,P,il="Defaults to <code>&quot;$HF_HOME/xet&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/xet&quot;</code> by default).",vt,B,wt,N,ll=`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,q,nl="Defaults to <code>&quot;$HF_HOME/assets&quot;</code> (e.g. <code>&quot;~/.cache/huggingface/assets&quot;</code> by default).",xt,O,Lt,U,al=`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,R,ol='For more details about authentication, check out <a href="../quick-start#authentication">this section</a>.',yt,D,Mt,G,sl="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,X,It,z,rl=`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>.`,At,Y,fl="Defaults to <code>&quot;warning&quot;</code>.",kt,K,ul='For more details, see <a href="../package_reference/utilities#huggingface_hub.utils.logging.get_verbosity">logging reference</a>.',St,W,Pt,j,hl="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.",Bt,V,Nt,Q,dl="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.",qt,Z,Ot,J,Ut,ee,cl='<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>',Rt,te,Dt,ie,pl="To set the size of the Xet chunk cache locally. By default, the chunk cache is disabled. The chunk cache can be beneficial if you are generating new revisions to existing models or datasets as this is used to cache terms/chunks that are fetched from S3. A larger cache can better take advantage of deduplication across repos & files. To enable the chunk cache set the environment variable to a large number (10GB) or greater. However, in most cases when downloading or uploading new data, disabling the chunk cache will have better performance, which is why it is disabled by default.",Gt,le,ml="Defaults to <code>0</code> (0 bytes, means chunk cache is disabled).",Xt,ne,zt,ae,gl="To set the size of the Xet shard cache locally. Increasing this will improve upload efficiency as chunks referenced in cached shard files are not re-uploaded. Note that the default soft limit is likely sufficient for most workloads.",Yt,oe,_l="Defaults to <code>4000000000</code> (4GB).",Kt,se,Wt,re,$l="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.",jt,fe,Hl="Defaults to <code>16</code>.",Vt,ue,Qt,he,Tl=`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>.`,Zt,de,Jt,ce,bl="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.",ei,pe,ti,me,vl="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.",ii,ge,wl='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.',li,_e,El="<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,$e,ai,He,xl=`Authentication is not mandatory for every request 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).`,oi,Te,Ll=`<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.`,si,be,ri,ve,Cl=`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>.`,fi,we,ui,Ee,yl=`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.`,hi,xe,Ml='For more details, see <a href="../guides/manage-cache#limitations">cache limitations</a>.',di,Le,ci,Ce,Fl=`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.`,pi,ye,Il="If you are using an experimental feature, please let us know! Your feedback can help us design and improve it.",mi,Me,gi,Fe,Al=`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>).`,_i,Ie,kl="You can set <code>HF_HUB_DISABLE_TELEMETRY=1</code> as environment variable to globally disable telemetry.",$i,Ae,Hi,ke,Sl='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. If you are disabling Xet, please consider <a href="https://github.com/huggingface/xet-core?tab=readme-ov-file#issues-diagnostics--debugging" rel="nofollow">filing an issue and including the diagnostics</a> information to help us understand why Xet is not working for you.',Ti,Se,bi,_,Pl=`<p>This is a deprecated environment variable.
Now that the Hugging Face Hub is fully powered by the Xet storage backend, all file transfers go through the <code>hf-xet</code> binary package. It provides efficient transfers using a chunk-based deduplication strategy and integrates seamlessly with <code>huggingface_hub</code>.
This means <code>hf_transfer</code> can’t be used anymore. If you are interested in higher performance, check out the <a href="#hf_xet_high_performance"><code>HF_XET_HIGH_PERFORMANCE</code> section</a></p>`,vi,Pe,wi,Be,Bl="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.",Ei,Ne,Nl="Consider this analogous to the legacy <code>HF_HUB_ENABLE_HF_TRANSFER=1</code> environment variable but applied to <code>hf-xet</code>.",xi,qe,ql='To learn more about the benefits of Xet storage and <code>hf_xet</code>, refer to this <a href="https://huggingface.co/docs/hub/xet/index" rel="nofollow">section</a>.',Li,Oe,Ci,Ue,Ol="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,Re,Mi,De,Ul="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:",Fi,Ge,Rl="<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,Xe,Ai,ze,Dl="Some environment variables are not specific to <code>huggingface_hub</code> but are still taken into account when they are set.",ki,Ye,Si,Ke,Gl='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.',Pi,We,Bi,je,Xl=`Boolean value. When set, <code>hf</code> CLI will not print any ANSI color.
See <a href="https://no-color.org/" rel="nofollow">no-color.org</a>.`,Ni,Ve,qi,Qe,zl="Used only when <code>HF_HOME</code> is not set!",Oi,Ze,Yl=`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.`,Ui,Je,Kl=`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>.`,Ri,et,Di,it,Gi;return $=new ln({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),H=new m({props:{title:"Environment variables",local:"environment-variables",headingTag:"h1"}}),w=new m({props:{title:"Generic",local:"generic",headingTag:"h2"}}),E=new m({props:{title:"HF_INFERENCE_ENDPOINT",local:"hfinferenceendpoint",headingTag:"h3"}}),C=new m({props:{title:"HF_HOME",local:"hfhome",headingTag:"h3"}}),F=new m({props:{title:"HF_HUB_CACHE",local:"hfhubcache",headingTag:"h3"}}),k=new m({props:{title:"HF_XET_CACHE",local:"hfxetcache",headingTag:"h3"}}),B=new m({props:{title:"HF_ASSETS_CACHE",local:"hfassetscache",headingTag:"h3"}}),O=new m({props:{title:"HF_TOKEN",local:"hftoken",headingTag:"h3"}}),D=new m({props:{title:"HF_TOKEN_PATH",local:"hftokenpath",headingTag:"h3"}}),X=new m({props:{title:"HF_HUB_VERBOSITY",local:"hfhubverbosity",headingTag:"h3"}}),W=new m({props:{title:"HF_HUB_ETAG_TIMEOUT",local:"hfhubetagtimeout",headingTag:"h3"}}),V=new m({props:{title:"HF_HUB_DOWNLOAD_TIMEOUT",local:"hfhubdownloadtimeout",headingTag:"h3"}}),Z=new m({props:{title:"Xet",local:"xet",headingTag:"h2"}}),J=new m({props:{title:"Other Xet environment variables",local:"other-xet-environment-variables",headingTag:"h3"}}),te=new m({props:{title:"HF_XET_CHUNK_CACHE_SIZE_BYTES",local:"hfxetchunkcachesizebytes",headingTag:"h3"}}),ne=new m({props:{title:"HF_XET_SHARD_CACHE_SIZE_LIMIT",local:"hfxetshardcachesizelimit",headingTag:"h3"}}),se=new m({props:{title:"HF_XET_NUM_CONCURRENT_RANGE_GETS",local:"hfxetnumconcurrentrangegets",headingTag:"h3"}}),ue=new m({props:{title:"Boolean values",local:"boolean-values",headingTag:"h2"}}),de=new m({props:{title:"HF_DEBUG",local:"hfdebug",headingTag:"h3"}}),pe=new m({props:{title:"HF_HUB_OFFLINE",local:"hfhuboffline",headingTag:"h3"}}),$e=new m({props:{title:"HF_HUB_DISABLE_IMPLICIT_TOKEN",local:"hfhubdisableimplicittoken",headingTag:"h3"}}),be=new m({props:{title:"HF_HUB_DISABLE_PROGRESS_BARS",local:"hfhubdisableprogressbars",headingTag:"h3"}}),we=new m({props:{title:"HF_HUB_DISABLE_SYMLINKS_WARNING",local:"hfhubdisablesymlinkswarning",headingTag:"h3"}}),Le=new m({props:{title:"HF_HUB_DISABLE_EXPERIMENTAL_WARNING",local:"hfhubdisableexperimentalwarning",headingTag:"h3"}}),Me=new m({props:{title:"HF_HUB_DISABLE_TELEMETRY",local:"hfhubdisabletelemetry",headingTag:"h3"}}),Ae=new m({props:{title:"HF_HUB_DISABLE_XET",local:"hfhubdisablexet",headingTag:"h3"}}),Se=new m({props:{title:"HF_HUB_ENABLE_HF_TRANSFER",local:"hfhubenablehftransfer",headingTag:"h3"}}),Pe=new m({props:{title:"HF_XET_HIGH_PERFORMANCE",local:"hfxethighperformance",headingTag:"h3"}}),Oe=new m({props:{title:"HF_XET_RECONSTRUCT_WRITE_SEQUENTIALLY",local:"hfxetreconstructwritesequentially",headingTag:"h3"}}),Re=new m({props:{title:"Deprecated environment variables",local:"deprecated-environment-variables",headingTag:"h2"}}),Xe=new m({props:{title:"From external tools",local:"from-external-tools",headingTag:"h2"}}),Ye=new m({props:{title:"DO_NOT_TRACK",local:"donottrack",headingTag:"h3"}}),We=new m({props:{title:"NO_COLOR",local:"nocolor",headingTag:"h3"}}),Ve=new m({props:{title:"XDG_CACHE_HOME",local:"xdgcachehome",headingTag:"h3"}}),et=new nn({props:{source:"https://github.com/huggingface/huggingface_hub/blob/main/docs/source/en/package_reference/environment_variables.md"}}),{c(){g=o("meta"),lt=n(),tt=o("p"),nt=n(),f($.$$.fragment),at=n(),f(H.$$.fragment),ot=n(),T=o("p"),T.innerHTML=Yi,st=n(),b=o("p"),b.innerHTML=Ki,rt=n(),v=o("p"),v.innerHTML=Wi,ft=n(),f(w.$$.fragment),ut=n(),f(E.$$.fragment),ht=n(),x=o("p"),x.textContent=ji,dt=n(),L=o("p"),L.innerHTML=Vi,ct=n(),f(C.$$.fragment),pt=n(),y=o("p"),y.innerHTML=Qi,mt=n(),M=o("p"),M.innerHTML=Zi,gt=n(),f(F.$$.fragment),_t=n(),I=o("p"),I.textContent=Ji,$t=n(),A=o("p"),A.innerHTML=el,Ht=n(),f(k.$$.fragment),Tt=n(),S=o("p"),S.textContent=tl,bt=n(),P=o("p"),P.innerHTML=il,vt=n(),f(B.$$.fragment),wt=n(),N=o("p"),N.innerHTML=ll,Et=n(),q=o("p"),q.innerHTML=nl,xt=n(),f(O.$$.fragment),Lt=n(),U=o("p"),U.innerHTML=al,Ct=n(),R=o("p"),R.innerHTML=ol,yt=n(),f(D.$$.fragment),Mt=n(),G=o("p"),G.innerHTML=sl,Ft=n(),f(X.$$.fragment),It=n(),z=o("p"),z.innerHTML=rl,At=n(),Y=o("p"),Y.innerHTML=fl,kt=n(),K=o("p"),K.innerHTML=ul,St=n(),f(W.$$.fragment),Pt=n(),j=o("p"),j.innerHTML=hl,Bt=n(),f(V.$$.fragment),Nt=n(),Q=o("p"),Q.textContent=dl,qt=n(),f(Z.$$.fragment),Ot=n(),f(J.$$.fragment),Ut=n(),ee=o("ul"),ee.innerHTML=cl,Rt=n(),f(te.$$.fragment),Dt=n(),ie=o("p"),ie.textContent=pl,Gt=n(),le=o("p"),le.innerHTML=ml,Xt=n(),f(ne.$$.fragment),zt=n(),ae=o("p"),ae.textContent=gl,Yt=n(),oe=o("p"),oe.innerHTML=_l,Kt=n(),f(se.$$.fragment),Wt=n(),re=o("p"),re.textContent=$l,jt=n(),fe=o("p"),fe.innerHTML=Hl,Vt=n(),f(ue.$$.fragment),Qt=n(),he=o("p"),he.innerHTML=Tl,Zt=n(),f(de.$$.fragment),Jt=n(),ce=o("p"),ce.innerHTML=bl,ei=n(),f(pe.$$.fragment),ti=n(),me=o("p"),me.textContent=vl,ii=n(),ge=o("p"),ge.innerHTML=wl,li=n(),_e=o("p"),_e.innerHTML=El,ni=n(),f($e.$$.fragment),ai=n(),He=o("p"),He.innerHTML=xl,oi=n(),Te=o("p"),Te.innerHTML=Ll,si=n(),f(be.$$.fragment),ri=n(),ve=o("p"),ve.innerHTML=Cl,fi=n(),f(we.$$.fragment),ui=n(),Ee=o("p"),Ee.innerHTML=yl,hi=n(),xe=o("p"),xe.innerHTML=Ml,di=n(),f(Le.$$.fragment),ci=n(),Ce=o("p"),Ce.innerHTML=Fl,pi=n(),ye=o("p"),ye.textContent=Il,mi=n(),f(Me.$$.fragment),gi=n(),Fe=o("p"),Fe.innerHTML=Al,_i=n(),Ie=o("p"),Ie.innerHTML=kl,$i=n(),f(Ae.$$.fragment),Hi=n(),ke=o("p"),ke.innerHTML=Sl,Ti=n(),f(Se.$$.fragment),bi=n(),_=o("blockquote"),_.innerHTML=Pl,vi=n(),f(Pe.$$.fragment),wi=n(),Be=o("p"),Be.innerHTML=Bl,Ei=n(),Ne=o("p"),Ne.innerHTML=Nl,xi=n(),qe=o("p"),qe.innerHTML=ql,Li=n(),f(Oe.$$.fragment),Ci=n(),Ue=o("p"),Ue.innerHTML=Ol,yi=n(),f(Re.$$.fragment),Mi=n(),De=o("p"),De.textContent=Ul,Fi=n(),Ge=o("table"),Ge.innerHTML=Rl,Ii=n(),f(Xe.$$.fragment),Ai=n(),ze=o("p"),ze.innerHTML=Dl,ki=n(),f(Ye.$$.fragment),Si=n(),Ke=o("p"),Ke.innerHTML=Gl,Pi=n(),f(We.$$.fragment),Bi=n(),je=o("p"),je.innerHTML=Xl,Ni=n(),f(Ve.$$.fragment),qi=n(),Qe=o("p"),Qe.innerHTML=zl,Oi=n(),Ze=o("p"),Ze.innerHTML=Yl,Ui=n(),Je=o("p"),Je.innerHTML=Kl,Ri=n(),f(et.$$.fragment),Di=n(),it=o("p"),this.h()},l(e){const t=en("svelte-u9bgzb",document.head);g=s(t,"META",{name:!0,content:!0}),t.forEach(i),lt=a(e),tt=s(e,"P",{}),Wl(tt).forEach(i),nt=a(e),u($.$$.fragment,e),at=a(e),u(H.$$.fragment,e),ot=a(e),T=s(e,"P",{"data-svelte-h":!0}),r(T)!=="svelte-1xuew16"&&(T.innerHTML=Yi),st=a(e),b=s(e,"P",{"data-svelte-h":!0}),r(b)!=="svelte-1by1ave"&&(b.innerHTML=Ki),rt=a(e),v=s(e,"P",{"data-svelte-h":!0}),r(v)!=="svelte-5z5k2g"&&(v.innerHTML=Wi),ft=a(e),u(w.$$.fragment,e),ut=a(e),u(E.$$.fragment,e),ht=a(e),x=s(e,"P",{"data-svelte-h":!0}),r(x)!=="svelte-178hqev"&&(x.textContent=ji),dt=a(e),L=s(e,"P",{"data-svelte-h":!0}),r(L)!=="svelte-3un1ol"&&(L.innerHTML=Vi),ct=a(e),u(C.$$.fragment,e),pt=a(e),y=s(e,"P",{"data-svelte-h":!0}),r(y)!=="svelte-uz9mxv"&&(y.innerHTML=Qi),mt=a(e),M=s(e,"P",{"data-svelte-h":!0}),r(M)!=="svelte-1x0d3ca"&&(M.innerHTML=Zi),gt=a(e),u(F.$$.fragment,e),_t=a(e),I=s(e,"P",{"data-svelte-h":!0}),r(I)!=="svelte-lfw4ab"&&(I.textContent=Ji),$t=a(e),A=s(e,"P",{"data-svelte-h":!0}),r(A)!=="svelte-a5p60a"&&(A.innerHTML=el),Ht=a(e),u(k.$$.fragment,e),Tt=a(e),S=s(e,"P",{"data-svelte-h":!0}),r(S)!=="svelte-1actej4"&&(S.textContent=tl),bt=a(e),P=s(e,"P",{"data-svelte-h":!0}),r(P)!=="svelte-15fupku"&&(P.innerHTML=il),vt=a(e),u(B.$$.fragment,e),wt=a(e),N=s(e,"P",{"data-svelte-h":!0}),r(N)!=="svelte-ksjawo"&&(N.innerHTML=ll),Et=a(e),q=s(e,"P",{"data-svelte-h":!0}),r(q)!=="svelte-3wzlwo"&&(q.innerHTML=nl),xt=a(e),u(O.$$.fragment,e),Lt=a(e),U=s(e,"P",{"data-svelte-h":!0}),r(U)!=="svelte-81jzle"&&(U.innerHTML=al),Ct=a(e),R=s(e,"P",{"data-svelte-h":!0}),r(R)!=="svelte-pa4dpn"&&(R.innerHTML=ol),yt=a(e),u(D.$$.fragment,e),Mt=a(e),G=s(e,"P",{"data-svelte-h":!0}),r(G)!=="svelte-ks6kva"&&(G.innerHTML=sl),Ft=a(e),u(X.$$.fragment,e),It=a(e),z=s(e,"P",{"data-svelte-h":!0}),r(z)!=="svelte-t9rwl1"&&(z.innerHTML=rl),At=a(e),Y=s(e,"P",{"data-svelte-h":!0}),r(Y)!=="svelte-4zt9wc"&&(Y.innerHTML=fl),kt=a(e),K=s(e,"P",{"data-svelte-h":!0}),r(K)!=="svelte-5rzz4d"&&(K.innerHTML=ul),St=a(e),u(W.$$.fragment,e),Pt=a(e),j=s(e,"P",{"data-svelte-h":!0}),r(j)!=="svelte-14q9j1n"&&(j.innerHTML=hl),Bt=a(e),u(V.$$.fragment,e),Nt=a(e),Q=s(e,"P",{"data-svelte-h":!0}),r(Q)!=="svelte-8qjsc"&&(Q.textContent=dl),qt=a(e),u(Z.$$.fragment,e),Ot=a(e),u(J.$$.fragment,e),Ut=a(e),ee=s(e,"UL",{"data-svelte-h":!0}),r(ee)!=="svelte-egfzye"&&(ee.innerHTML=cl),Rt=a(e),u(te.$$.fragment,e),Dt=a(e),ie=s(e,"P",{"data-svelte-h":!0}),r(ie)!=="svelte-1h7t06r"&&(ie.textContent=pl),Gt=a(e),le=s(e,"P",{"data-svelte-h":!0}),r(le)!=="svelte-1saw02r"&&(le.innerHTML=ml),Xt=a(e),u(ne.$$.fragment,e),zt=a(e),ae=s(e,"P",{"data-svelte-h":!0}),r(ae)!=="svelte-10qddk9"&&(ae.textContent=gl),Yt=a(e),oe=s(e,"P",{"data-svelte-h":!0}),r(oe)!=="svelte-11kq16s"&&(oe.innerHTML=_l),Kt=a(e),u(se.$$.fragment,e),Wt=a(e),re=s(e,"P",{"data-svelte-h":!0}),r(re)!=="svelte-131g5cp"&&(re.textContent=$l),jt=a(e),fe=s(e,"P",{"data-svelte-h":!0}),r(fe)!=="svelte-13faio5"&&(fe.innerHTML=Hl),Vt=a(e),u(ue.$$.fragment,e),Qt=a(e),he=s(e,"P",{"data-svelte-h":!0}),r(he)!=="svelte-1enkv8e"&&(he.innerHTML=Tl),Zt=a(e),u(de.$$.fragment,e),Jt=a(e),ce=s(e,"P",{"data-svelte-h":!0}),r(ce)!=="svelte-1ir96u3"&&(ce.innerHTML=bl),ei=a(e),u(pe.$$.fragment,e),ti=a(e),me=s(e,"P",{"data-svelte-h":!0}),r(me)!=="svelte-1uojfms"&&(me.textContent=vl),ii=a(e),ge=s(e,"P",{"data-svelte-h":!0}),r(ge)!=="svelte-12xdqcw"&&(ge.innerHTML=wl),li=a(e),_e=s(e,"P",{"data-svelte-h":!0}),r(_e)!=="svelte-p6ydxq"&&(_e.innerHTML=El),ni=a(e),u($e.$$.fragment,e),ai=a(e),He=s(e,"P",{"data-svelte-h":!0}),r(He)!=="svelte-dak2q4"&&(He.innerHTML=xl),oi=a(e),Te=s(e,"P",{"data-svelte-h":!0}),r(Te)!=="svelte-d0rh1g"&&(Te.innerHTML=Ll),si=a(e),u(be.$$.fragment,e),ri=a(e),ve=s(e,"P",{"data-svelte-h":!0}),r(ve)!=="svelte-j4bdq6"&&(ve.innerHTML=Cl),fi=a(e),u(we.$$.fragment,e),ui=a(e),Ee=s(e,"P",{"data-svelte-h":!0}),r(Ee)!=="svelte-1a5ggf9"&&(Ee.innerHTML=yl),hi=a(e),xe=s(e,"P",{"data-svelte-h":!0}),r(xe)!=="svelte-1wsb5xe"&&(xe.innerHTML=Ml),di=a(e),u(Le.$$.fragment,e),ci=a(e),Ce=s(e,"P",{"data-svelte-h":!0}),r(Ce)!=="svelte-16gkjc3"&&(Ce.innerHTML=Fl),pi=a(e),ye=s(e,"P",{"data-svelte-h":!0}),r(ye)!=="svelte-140g1ix"&&(ye.textContent=Il),mi=a(e),u(Me.$$.fragment,e),gi=a(e),Fe=s(e,"P",{"data-svelte-h":!0}),r(Fe)!=="svelte-yphpce"&&(Fe.innerHTML=Al),_i=a(e),Ie=s(e,"P",{"data-svelte-h":!0}),r(Ie)!=="svelte-h3tzls"&&(Ie.innerHTML=kl),$i=a(e),u(Ae.$$.fragment,e),Hi=a(e),ke=s(e,"P",{"data-svelte-h":!0}),r(ke)!=="svelte-17qd2nm"&&(ke.innerHTML=Sl),Ti=a(e),u(Se.$$.fragment,e),bi=a(e),_=s(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),r(_)!=="svelte-1078dku"&&(_.innerHTML=Pl),vi=a(e),u(Pe.$$.fragment,e),wi=a(e),Be=s(e,"P",{"data-svelte-h":!0}),r(Be)!=="svelte-qpyuw9"&&(Be.innerHTML=Bl),Ei=a(e),Ne=s(e,"P",{"data-svelte-h":!0}),r(Ne)!=="svelte-1j2757w"&&(Ne.innerHTML=Nl),xi=a(e),qe=s(e,"P",{"data-svelte-h":!0}),r(qe)!=="svelte-18myguy"&&(qe.innerHTML=ql),Li=a(e),u(Oe.$$.fragment,e),Ci=a(e),Ue=s(e,"P",{"data-svelte-h":!0}),r(Ue)!=="svelte-werts4"&&(Ue.innerHTML=Ol),yi=a(e),u(Re.$$.fragment,e),Mi=a(e),De=s(e,"P",{"data-svelte-h":!0}),r(De)!=="svelte-1xlsmjd"&&(De.textContent=Ul),Fi=a(e),Ge=s(e,"TABLE",{"data-svelte-h":!0}),r(Ge)!=="svelte-19wux3d"&&(Ge.innerHTML=Rl),Ii=a(e),u(Xe.$$.fragment,e),Ai=a(e),ze=s(e,"P",{"data-svelte-h":!0}),r(ze)!=="svelte-6ntlb2"&&(ze.innerHTML=Dl),ki=a(e),u(Ye.$$.fragment,e),Si=a(e),Ke=s(e,"P",{"data-svelte-h":!0}),r(Ke)!=="svelte-yngnil"&&(Ke.innerHTML=Gl),Pi=a(e),u(We.$$.fragment,e),Bi=a(e),je=s(e,"P",{"data-svelte-h":!0}),r(je)!=="svelte-hj4q1w"&&(je.innerHTML=Xl),Ni=a(e),u(Ve.$$.fragment,e),qi=a(e),Qe=s(e,"P",{"data-svelte-h":!0}),r(Qe)!=="svelte-38e7oi"&&(Qe.innerHTML=zl),Oi=a(e),Ze=s(e,"P",{"data-svelte-h":!0}),r(Ze)!=="svelte-khdsxn"&&(Ze.innerHTML=Yl),Ui=a(e),Je=s(e,"P",{"data-svelte-h":!0}),r(Je)!=="svelte-hhj9xt"&&(Je.innerHTML=Kl),Ri=a(e),u(et.$$.fragment,e),Di=a(e),it=s(e,"P",{}),Wl(it).forEach(i),this.h()},h(){Xi(g,"name","hf:doc:metadata"),Xi(g,"content",on),Xi(_,"class","warning")},m(e,t){tn(document.head,g),l(e,lt,t),l(e,tt,t),l(e,nt,t),h($,e,t),l(e,at,t),h(H,e,t),l(e,ot,t),l(e,T,t),l(e,st,t),l(e,b,t),l(e,rt,t),l(e,v,t),l(e,ft,t),h(w,e,t),l(e,ut,t),h(E,e,t),l(e,ht,t),l(e,x,t),l(e,dt,t),l(e,L,t),l(e,ct,t),h(C,e,t),l(e,pt,t),l(e,y,t),l(e,mt,t),l(e,M,t),l(e,gt,t),h(F,e,t),l(e,_t,t),l(e,I,t),l(e,$t,t),l(e,A,t),l(e,Ht,t),h(k,e,t),l(e,Tt,t),l(e,S,t),l(e,bt,t),l(e,P,t),l(e,vt,t),h(B,e,t),l(e,wt,t),l(e,N,t),l(e,Et,t),l(e,q,t),l(e,xt,t),h(O,e,t),l(e,Lt,t),l(e,U,t),l(e,Ct,t),l(e,R,t),l(e,yt,t),h(D,e,t),l(e,Mt,t),l(e,G,t),l(e,Ft,t),h(X,e,t),l(e,It,t),l(e,z,t),l(e,At,t),l(e,Y,t),l(e,kt,t),l(e,K,t),l(e,St,t),h(W,e,t),l(e,Pt,t),l(e,j,t),l(e,Bt,t),h(V,e,t),l(e,Nt,t),l(e,Q,t),l(e,qt,t),h(Z,e,t),l(e,Ot,t),h(J,e,t),l(e,Ut,t),l(e,ee,t),l(e,Rt,t),h(te,e,t),l(e,Dt,t),l(e,ie,t),l(e,Gt,t),l(e,le,t),l(e,Xt,t),h(ne,e,t),l(e,zt,t),l(e,ae,t),l(e,Yt,t),l(e,oe,t),l(e,Kt,t),h(se,e,t),l(e,Wt,t),l(e,re,t),l(e,jt,t),l(e,fe,t),l(e,Vt,t),h(ue,e,t),l(e,Qt,t),l(e,he,t),l(e,Zt,t),h(de,e,t),l(e,Jt,t),l(e,ce,t),l(e,ei,t),h(pe,e,t),l(e,ti,t),l(e,me,t),l(e,ii,t),l(e,ge,t),l(e,li,t),l(e,_e,t),l(e,ni,t),h($e,e,t),l(e,ai,t),l(e,He,t),l(e,oi,t),l(e,Te,t),l(e,si,t),h(be,e,t),l(e,ri,t),l(e,ve,t),l(e,fi,t),h(we,e,t),l(e,ui,t),l(e,Ee,t),l(e,hi,t),l(e,xe,t),l(e,di,t),h(Le,e,t),l(e,ci,t),l(e,Ce,t),l(e,pi,t),l(e,ye,t),l(e,mi,t),h(Me,e,t),l(e,gi,t),l(e,Fe,t),l(e,_i,t),l(e,Ie,t),l(e,$i,t),h(Ae,e,t),l(e,Hi,t),l(e,ke,t),l(e,Ti,t),h(Se,e,t),l(e,bi,t),l(e,_,t),l(e,vi,t),h(Pe,e,t),l(e,wi,t),l(e,Be,t),l(e,Ei,t),l(e,Ne,t),l(e,xi,t),l(e,qe,t),l(e,Li,t),h(Oe,e,t),l(e,Ci,t),l(e,Ue,t),l(e,yi,t),h(Re,e,t),l(e,Mi,t),l(e,De,t),l(e,Fi,t),l(e,Ge,t),l(e,Ii,t),h(Xe,e,t),l(e,Ai,t),l(e,ze,t),l(e,ki,t),h(Ye,e,t),l(e,Si,t),l(e,Ke,t),l(e,Pi,t),h(We,e,t),l(e,Bi,t),l(e,je,t),l(e,Ni,t),h(Ve,e,t),l(e,qi,t),l(e,Qe,t),l(e,Oi,t),l(e,Ze,t),l(e,Ui,t),l(e,Je,t),l(e,Ri,t),h(et,e,t),l(e,Di,t),l(e,it,t),Gi=!0},p:Vl,i(e){Gi||(d($.$$.fragment,e),d(H.$$.fragment,e),d(w.$$.fragment,e),d(E.$$.fragment,e),d(C.$$.fragment,e),d(F.$$.fragment,e),d(k.$$.fragment,e),d(B.$$.fragment,e),d(O.$$.fragment,e),d(D.$$.fragment,e),d(X.$$.fragment,e),d(W.$$.fragment,e),d(V.$$.fragment,e),d(Z.$$.fragment,e),d(J.$$.fragment,e),d(te.$$.fragment,e),d(ne.$$.fragment,e),d(se.$$.fragment,e),d(ue.$$.fragment,e),d(de.$$.fragment,e),d(pe.$$.fragment,e),d($e.$$.fragment,e),d(be.$$.fragment,e),d(we.$$.fragment,e),d(Le.$$.fragment,e),d(Me.$$.fragment,e),d(Ae.$$.fragment,e),d(Se.$$.fragment,e),d(Pe.$$.fragment,e),d(Oe.$$.fragment,e),d(Re.$$.fragment,e),d(Xe.$$.fragment,e),d(Ye.$$.fragment,e),d(We.$$.fragment,e),d(Ve.$$.fragment,e),d(et.$$.fragment,e),Gi=!0)},o(e){c($.$$.fragment,e),c(H.$$.fragment,e),c(w.$$.fragment,e),c(E.$$.fragment,e),c(C.$$.fragment,e),c(F.$$.fragment,e),c(k.$$.fragment,e),c(B.$$.fragment,e),c(O.$$.fragment,e),c(D.$$.fragment,e),c(X.$$.fragment,e),c(W.$$.fragment,e),c(V.$$.fragment,e),c(Z.$$.fragment,e),c(J.$$.fragment,e),c(te.$$.fragment,e),c(ne.$$.fragment,e),c(se.$$.fragment,e),c(ue.$$.fragment,e),c(de.$$.fragment,e),c(pe.$$.fragment,e),c($e.$$.fragment,e),c(be.$$.fragment,e),c(we.$$.fragment,e),c(Le.$$.fragment,e),c(Me.$$.fragment,e),c(Ae.$$.fragment,e),c(Se.$$.fragment,e),c(Pe.$$.fragment,e),c(Oe.$$.fragment,e),c(Re.$$.fragment,e),c(Xe.$$.fragment,e),c(Ye.$$.fragment,e),c(We.$$.fragment,e),c(Ve.$$.fragment,e),c(et.$$.fragment,e),Gi=!1},d(e){e&&(i(lt),i(tt),i(nt),i(at),i(ot),i(T),i(st),i(b),i(rt),i(v),i(ft),i(ut),i(ht),i(x),i(dt),i(L),i(ct),i(pt),i(y),i(mt),i(M),i(gt),i(_t),i(I),i($t),i(A),i(Ht),i(Tt),i(S),i(bt),i(P),i(vt),i(wt),i(N),i(Et),i(q),i(xt),i(Lt),i(U),i(Ct),i(R),i(yt),i(Mt),i(G),i(Ft),i(It),i(z),i(At),i(Y),i(kt),i(K),i(St),i(Pt),i(j),i(Bt),i(Nt),i(Q),i(qt),i(Ot),i(Ut),i(ee),i(Rt),i(Dt),i(ie),i(Gt),i(le),i(Xt),i(zt),i(ae),i(Yt),i(oe),i(Kt),i(Wt),i(re),i(jt),i(fe),i(Vt),i(Qt),i(he),i(Zt),i(Jt),i(ce),i(ei),i(ti),i(me),i(ii),i(ge),i(li),i(_e),i(ni),i(ai),i(He),i(oi),i(Te),i(si),i(ri),i(ve),i(fi),i(ui),i(Ee),i(hi),i(xe),i(di),i(ci),i(Ce),i(pi),i(ye),i(mi),i(gi),i(Fe),i(_i),i(Ie),i($i),i(Hi),i(ke),i(Ti),i(bi),i(_),i(vi),i(wi),i(Be),i(Ei),i(Ne),i(xi),i(qe),i(Li),i(Ci),i(Ue),i(yi),i(Mi),i(De),i(Fi),i(Ge),i(Ii),i(Ai),i(ze),i(ki),i(Si),i(Ke),i(Pi),i(Bi),i(je),i(Ni),i(qi),i(Qe),i(Oi),i(Ze),i(Ui),i(Je),i(Ri),i(Di),i(it)),i(g),p($,e),p(H,e),p(w,e),p(E,e),p(C,e),p(F,e),p(k,e),p(B,e),p(O,e),p(D,e),p(X,e),p(W,e),p(V,e),p(Z,e),p(J,e),p(te,e),p(ne,e),p(se,e),p(ue,e),p(de,e),p(pe,e),p($e,e),p(be,e),p(we,e),p(Le,e),p(Me,e),p(Ae,e),p(Se,e),p(Pe,e),p(Oe,e),p(Re,e),p(Xe,e),p(Ye,e),p(We,e),p(Ve,e),p(et,e)}}}const on='{"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_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_SHARD_CACHE_SIZE_LIMIT","local":"hfxetshardcachesizelimit","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 sn(zi){return Ql(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class dn extends Zl{constructor(g){super(),Jl(this,g,sn,an,jl,{})}}export{dn as component};
