Buckets:
| import{s as qt,f as h,n as Dt,o as Rt}from"../chunks/scheduler.389d799c.js";import{S as Ft,i as Ot,g as s,s as a,r as u,A as Zt,h as o,f as n,c as l,j as Lt,u as p,x as j,k as r,y as jt,a as i,v as m,d as f,t as g,w as c}from"../chunks/index.8f81d18f.js";import{H as $,E as Wt}from"../chunks/getInferenceSnippets.9d198f97.js";function Bt(vt){let d,N,W,U,y,J,_,Ct='After your first login, you will be directed to the <a href="https://ui.endpoints.huggingface.co/new" rel="nofollow">Endpoint creation page</a>. As an example, this guide will go through the steps to deploy <a href="https://huggingface.co/distilbert/distilbert-base-uncased-finetuned-sst-2-english" rel="nofollow">distilbert/distilbert-base-uncased-finetuned-sst-2-english</a> for text classification.',K,v,Q,C,wt,V,w,X,b,bt="Choose cloud provider, region, and instance type. If you’re looking for a specific cloud provider, region, or instance that you don’t yet see available, please let us know.",Y,E,Et,tt,x,et,T,xt="Or leave your Endpoint as is.",nt,z,Tt,it,I,at,M,zt,lt,P,st,S,It="Feel free to customize your Endpoint further in Advanced Configuration: replica autoscaling, task, revision, framework, and container type are accessible in this section.",ot,A,Mt,rt,k,ut,G,Pt="By clicking <strong>Create Endpoint</strong>. The cost estimate displayed is per hour and does not take autoscaling into account.",pt,H,St,mt,L,ft,q,At="Note that initializing time depends on the model size and typically takes between 1 to 5 minutes.",gt,D,kt,ct,R,dt,F,Gt="This is possible in your Endpoint Overview utilizing Playground 🏁 !",$t,O,Ht,ht,Z,yt,B,_t;return y=new $({props:{title:"Create an Endpoint",local:"create-an-endpoint",headingTag:"h1"}}),v=new $({props:{title:"1. Enter the Hugging Face Repository ID and your desired Endpoint name",local:"1-enter-the-hugging-face-repository-id-and-your-desired-endpoint-name",headingTag:"h2"}}),w=new $({props:{title:"2. Select your Instance Configuration",local:"2-select-your-instance-configuration",headingTag:"h2"}}),x=new $({props:{title:"3. Apply Automatic Scale-to-Zero",local:"3-apply-automatic-scale-to-zero",headingTag:"h2"}}),I=new $({props:{title:"4. Define the Security Level for the Endpoint",local:"4-define-the-security-level-for-the-endpoint",headingTag:"h2"}}),P=new $({props:{title:"5. Customize your Endpoint",local:"5-customize-your-endpoint",headingTag:"h2"}}),k=new $({props:{title:"6. Create your Endpoint",local:"6-create-your-endpoint",headingTag:"h2"}}),L=new $({props:{title:"7. Wait for the Endpoint to build, initialize and run",local:"7-wait-for-the-endpoint-to-build-initialize-and-run",headingTag:"h2"}}),R=new $({props:{title:"8. Test your Endpoint 🎉",local:"8-test-your-endpoint-",headingTag:"h2"}}),Z=new Wt({props:{source:"https://github.com/huggingface/hf-endpoints-documentation/blob/main/docs/source/guides/create_endpoint.mdx"}}),{c(){d=s("meta"),N=a(),W=s("p"),U=a(),u(y.$$.fragment),J=a(),_=s("p"),_.innerHTML=Ct,K=a(),u(v.$$.fragment),Q=a(),C=s("img"),V=a(),u(w.$$.fragment),X=a(),b=s("p"),b.textContent=bt,Y=a(),E=s("img"),tt=a(),u(x.$$.fragment),et=a(),T=s("p"),T.textContent=xt,nt=a(),z=s("img"),it=a(),u(I.$$.fragment),at=a(),M=s("img"),lt=a(),u(P.$$.fragment),st=a(),S=s("p"),S.textContent=It,ot=a(),A=s("img"),rt=a(),u(k.$$.fragment),ut=a(),G=s("p"),G.innerHTML=Pt,pt=a(),H=s("img"),mt=a(),u(L.$$.fragment),ft=a(),q=s("p"),q.textContent=At,gt=a(),D=s("img"),ct=a(),u(R.$$.fragment),dt=a(),F=s("p"),F.textContent=Gt,$t=a(),O=s("img"),ht=a(),u(Z.$$.fragment),yt=a(),B=s("p"),this.h()},l(t){const e=Zt("svelte-u9bgzb",document.head);d=o(e,"META",{name:!0,content:!0}),e.forEach(n),N=l(t),W=o(t,"P",{}),Lt(W).forEach(n),U=l(t),p(y.$$.fragment,t),J=l(t),_=o(t,"P",{"data-svelte-h":!0}),j(_)!=="svelte-10bn6ql"&&(_.innerHTML=Ct),K=l(t),p(v.$$.fragment,t),Q=l(t),C=o(t,"IMG",{src:!0,alt:!0}),V=l(t),p(w.$$.fragment,t),X=l(t),b=o(t,"P",{"data-svelte-h":!0}),j(b)!=="svelte-1554qf0"&&(b.textContent=bt),Y=l(t),E=o(t,"IMG",{src:!0,alt:!0}),tt=l(t),p(x.$$.fragment,t),et=l(t),T=o(t,"P",{"data-svelte-h":!0}),j(T)!=="svelte-1qy1l8o"&&(T.textContent=xt),nt=l(t),z=o(t,"IMG",{src:!0,alt:!0}),it=l(t),p(I.$$.fragment,t),at=l(t),M=o(t,"IMG",{src:!0,alt:!0}),lt=l(t),p(P.$$.fragment,t),st=l(t),S=o(t,"P",{"data-svelte-h":!0}),j(S)!=="svelte-tr5gct"&&(S.textContent=It),ot=l(t),A=o(t,"IMG",{src:!0,alt:!0}),rt=l(t),p(k.$$.fragment,t),ut=l(t),G=o(t,"P",{"data-svelte-h":!0}),j(G)!=="svelte-1nd2r7k"&&(G.innerHTML=Pt),pt=l(t),H=o(t,"IMG",{src:!0,alt:!0}),mt=l(t),p(L.$$.fragment,t),ft=l(t),q=o(t,"P",{"data-svelte-h":!0}),j(q)!=="svelte-1agqjf6"&&(q.textContent=At),gt=l(t),D=o(t,"IMG",{src:!0,alt:!0}),ct=l(t),p(R.$$.fragment,t),dt=l(t),F=o(t,"P",{"data-svelte-h":!0}),j(F)!=="svelte-1r7u5xl"&&(F.textContent=Gt),$t=l(t),O=o(t,"IMG",{src:!0,alt:!0}),ht=l(t),p(Z.$$.fragment,t),yt=l(t),B=o(t,"P",{}),Lt(B).forEach(n),this.h()},h(){r(d,"name","hf:doc:metadata"),r(d,"content",Nt),h(C.src,wt="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/CreateEndpoint.png")||r(C,"src",wt),r(C,"alt","Create"),h(E.src,Et="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/InstanceConfiguration.png")||r(E,"src",Et),r(E,"alt","select region"),h(z.src,Tt="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/Scale-to-Zero.png")||r(z,"src",Tt),r(z,"alt","autoscaling"),h(M.src,zt="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/SecurityLevel.png")||r(M,"src",zt),r(M,"alt","define security"),h(A.src,Mt="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/AdvancedConfigs.png")||r(A,"src",Mt),r(A,"alt","advanced configuration"),h(H.src,St="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/Create+Cost.png")||r(H,"src",St),r(H,"alt","create endpoint"),h(D.src,kt="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/RunningEndpoint.png")||r(D,"src",kt),r(D,"alt","running"),h(O.src,Ht="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/TestEndpoint.png")||r(O,"src",Ht),r(O,"alt","playground")},m(t,e){jt(document.head,d),i(t,N,e),i(t,W,e),i(t,U,e),m(y,t,e),i(t,J,e),i(t,_,e),i(t,K,e),m(v,t,e),i(t,Q,e),i(t,C,e),i(t,V,e),m(w,t,e),i(t,X,e),i(t,b,e),i(t,Y,e),i(t,E,e),i(t,tt,e),m(x,t,e),i(t,et,e),i(t,T,e),i(t,nt,e),i(t,z,e),i(t,it,e),m(I,t,e),i(t,at,e),i(t,M,e),i(t,lt,e),m(P,t,e),i(t,st,e),i(t,S,e),i(t,ot,e),i(t,A,e),i(t,rt,e),m(k,t,e),i(t,ut,e),i(t,G,e),i(t,pt,e),i(t,H,e),i(t,mt,e),m(L,t,e),i(t,ft,e),i(t,q,e),i(t,gt,e),i(t,D,e),i(t,ct,e),m(R,t,e),i(t,dt,e),i(t,F,e),i(t,$t,e),i(t,O,e),i(t,ht,e),m(Z,t,e),i(t,yt,e),i(t,B,e),_t=!0},p:Dt,i(t){_t||(f(y.$$.fragment,t),f(v.$$.fragment,t),f(w.$$.fragment,t),f(x.$$.fragment,t),f(I.$$.fragment,t),f(P.$$.fragment,t),f(k.$$.fragment,t),f(L.$$.fragment,t),f(R.$$.fragment,t),f(Z.$$.fragment,t),_t=!0)},o(t){g(y.$$.fragment,t),g(v.$$.fragment,t),g(w.$$.fragment,t),g(x.$$.fragment,t),g(I.$$.fragment,t),g(P.$$.fragment,t),g(k.$$.fragment,t),g(L.$$.fragment,t),g(R.$$.fragment,t),g(Z.$$.fragment,t),_t=!1},d(t){t&&(n(N),n(W),n(U),n(J),n(_),n(K),n(Q),n(C),n(V),n(X),n(b),n(Y),n(E),n(tt),n(et),n(T),n(nt),n(z),n(it),n(at),n(M),n(lt),n(st),n(S),n(ot),n(A),n(rt),n(ut),n(G),n(pt),n(H),n(mt),n(ft),n(q),n(gt),n(D),n(ct),n(dt),n(F),n($t),n(O),n(ht),n(yt),n(B)),n(d),c(y,t),c(v,t),c(w,t),c(x,t),c(I,t),c(P,t),c(k,t),c(L,t),c(R,t),c(Z,t)}}}const Nt='{"title":"Create an Endpoint","local":"create-an-endpoint","sections":[{"title":"1. Enter the Hugging Face Repository ID and your desired Endpoint name","local":"1-enter-the-hugging-face-repository-id-and-your-desired-endpoint-name","sections":[],"depth":2},{"title":"2. Select your Instance Configuration","local":"2-select-your-instance-configuration","sections":[],"depth":2},{"title":"3. Apply Automatic Scale-to-Zero","local":"3-apply-automatic-scale-to-zero","sections":[],"depth":2},{"title":"4. Define the Security Level for the Endpoint","local":"4-define-the-security-level-for-the-endpoint","sections":[],"depth":2},{"title":"5. Customize your Endpoint","local":"5-customize-your-endpoint","sections":[],"depth":2},{"title":"6. Create your Endpoint","local":"6-create-your-endpoint","sections":[],"depth":2},{"title":"7. Wait for the Endpoint to build, initialize and run","local":"7-wait-for-the-endpoint-to-build-initialize-and-run","sections":[],"depth":2},{"title":"8. Test your Endpoint 🎉","local":"8-test-your-endpoint-","sections":[],"depth":2}],"depth":1}';function Ut(vt){return Rt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Vt extends Ft{constructor(d){super(),Ot(this,d,Ut,Bt,qt,{})}}export{Vt as component}; | |
Xet Storage Details
- Size:
- 8.75 kB
- Xet hash:
- ea6738b4bbee334755b748750380fbc1bb3ba51386ab9da69a46df321ded12f8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.