Buckets:

rtrm's picture
download
raw
2.86 kB
import{s as B,n as j,o as q}from"../chunks/scheduler.f3b1e791.js";import{S as O,i as U,e as g,s as i,c as d,h as F,a as _,d as n,b as l,f as D,g as E,j as G,k as z,l as J,m as a,n as v,t as b,o as L,p as P}from"../chunks/index.023a9934.js";import{C as Q}from"../chunks/CopyLLMTxtMenu.50a4d06c.js";import{H as N,E as V}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.0b509b2e.js";function W(I){let s,w,u,x,r,y,m,M,o,T,p,R=`The directory to use as the local kernel cache. If not set, the cache
of the <code>huggingface_hub</code> package is used.`,k,f,C,$,K='Disables kernel mappings for <a href="layers"><code>layers</code></a>.',H,c,S,h,A;return r=new Q({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),m=new N({props:{title:"Environment variables",local:"environment-variables",headingTag:"h1"}}),o=new N({props:{title:"KERNELS_CACHE",local:"kernelscache",headingTag:"h2"}}),f=new N({props:{title:"DISABLE_KERNEL_MAPPING",local:"disablekernelmapping",headingTag:"h2"}}),c=new V({props:{source:"https://github.com/huggingface/kernels/blob/main/docs/source/env.md"}}),{c(){s=g("meta"),w=i(),u=g("p"),x=i(),d(r.$$.fragment),y=i(),d(m.$$.fragment),M=i(),d(o.$$.fragment),T=i(),p=g("p"),p.innerHTML=R,k=i(),d(f.$$.fragment),C=i(),$=g("p"),$.innerHTML=K,H=i(),d(c.$$.fragment),S=i(),h=g("p"),this.h()},l(e){const t=F("svelte-u9bgzb",document.head);s=_(t,"META",{name:!0,content:!0}),t.forEach(n),w=l(e),u=_(e,"P",{}),D(u).forEach(n),x=l(e),E(r.$$.fragment,e),y=l(e),E(m.$$.fragment,e),M=l(e),E(o.$$.fragment,e),T=l(e),p=_(e,"P",{"data-svelte-h":!0}),G(p)!=="svelte-s7ng3s"&&(p.innerHTML=R),k=l(e),E(f.$$.fragment,e),C=l(e),$=_(e,"P",{"data-svelte-h":!0}),G($)!=="svelte-1ftwa5a"&&($.innerHTML=K),H=l(e),E(c.$$.fragment,e),S=l(e),h=_(e,"P",{}),D(h).forEach(n),this.h()},h(){z(s,"name","hf:doc:metadata"),z(s,"content",X)},m(e,t){J(document.head,s),a(e,w,t),a(e,u,t),a(e,x,t),v(r,e,t),a(e,y,t),v(m,e,t),a(e,M,t),v(o,e,t),a(e,T,t),a(e,p,t),a(e,k,t),v(f,e,t),a(e,C,t),a(e,$,t),a(e,H,t),v(c,e,t),a(e,S,t),a(e,h,t),A=!0},p:j,i(e){A||(b(r.$$.fragment,e),b(m.$$.fragment,e),b(o.$$.fragment,e),b(f.$$.fragment,e),b(c.$$.fragment,e),A=!0)},o(e){L(r.$$.fragment,e),L(m.$$.fragment,e),L(o.$$.fragment,e),L(f.$$.fragment,e),L(c.$$.fragment,e),A=!1},d(e){e&&(n(w),n(u),n(x),n(y),n(M),n(T),n(p),n(k),n(C),n($),n(H),n(S),n(h)),n(s),P(r,e),P(m,e),P(o,e),P(f,e),P(c,e)}}}const X='{"title":"Environment variables","local":"environment-variables","sections":[{"title":"KERNELS_CACHE","local":"kernelscache","sections":[],"depth":2},{"title":"DISABLE_KERNEL_MAPPING","local":"disablekernelmapping","sections":[],"depth":2}],"depth":1}';function Y(I){return q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ae extends O{constructor(s){super(),U(this,s,Y,W,B,{})}}export{ae as component};

Xet Storage Details

Size:
2.86 kB
·
Xet hash:
a0eaecd5272533642868468f370ceda15be399355c8c93cda9d6de884b933ffe

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.