Buckets:

HuggingFaceDocBuilder's picture
download
raw
3.89 kB
import{s as U,n as Q,o as z}from"../chunks/scheduler.78014155.js";import{S as F,i as O,e as g,s as a,c as T,h as D,a as h,d as n,b as i,f as E,g as M,j as R,k as N,l as K,m as l,n as x,t as y,o as _,p as b}from"../chunks/index.931289e0.js";import{C as tt,H as et}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.fb9deb84.js";import{C as X}from"../chunks/CodeBlock.f0e7f544.js";function nt(Y){let s,J,w,I,p,W,o,C,m,q="To install the latest release of 🤗 Optimum Intel with the corresponding required dependencies, you can do respectively:",L,r,H,u,S="The <code>--upgrade-strategy eager</code> option is needed to ensure <code>optimum-intel</code> is upgraded to the latest version.",j,f,V='We recommend creating a <a href="https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment" rel="nofollow">virtual environment</a> and upgrading pip with :',k,c,Z,d,A="Optimum Intel is a fast-moving project, and you may want to install from source with the following command:",P,$,B,v,G;return p=new tt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),o=new et({props:{title:"Installation",local:"installation",headingTag:"h1"}}),r=new X({props:{code:"cHl0aG9uJTIwLW0lMjBwaXAlMjBpbnN0YWxsJTIwLS11cGdyYWRlLXN0cmF0ZWd5JTIwZWFnZXIlMjAlMjJvcHRpbXVtLWludGVsJTVCb3BlbnZpbm8lNUQlMjI=",highlighted:'python -m pip install --upgrade-strategy eager <span class="hljs-string">&quot;optimum-intel[openvino]&quot;</span>',wrap:!1}}),c=new X({props:{code:"cHl0aG9uJTIwLW0lMjBwaXAlMjBpbnN0YWxsJTIwLS11cGdyYWRlJTIwcGlw",highlighted:"python -m pip install --upgrade pip",wrap:!1}}),$=new X({props:{code:"cHl0aG9uJTIwLW0lMjBwaXAlMjBpbnN0YWxsJTIwJTIyb3B0aW11bS1pbnRlbCU1Qm9wZW52aW5vJTVEJTIyJTQwZ2l0JTJCaHR0cHMlM0ElMkYlMkZnaXRodWIuY29tJTJGaHVnZ2luZ2ZhY2UlMkZvcHRpbXVtLWludGVsLmdpdA==",highlighted:'python -m pip install <span class="hljs-string">&quot;optimum-intel[openvino]&quot;</span>@git+https://github.com/huggingface/optimum-intel.git',wrap:!1}}),{c(){s=g("meta"),J=a(),w=g("p"),I=a(),T(p.$$.fragment),W=a(),T(o.$$.fragment),C=a(),m=g("p"),m.textContent=q,L=a(),T(r.$$.fragment),H=a(),u=g("p"),u.innerHTML=S,j=a(),f=g("p"),f.innerHTML=V,k=a(),T(c.$$.fragment),Z=a(),d=g("p"),d.textContent=A,P=a(),T($.$$.fragment),B=a(),v=g("p"),this.h()},l(t){const e=D("svelte-u9bgzb",document.head);s=h(e,"META",{name:!0,content:!0}),e.forEach(n),J=i(t),w=h(t,"P",{}),E(w).forEach(n),I=i(t),M(p.$$.fragment,t),W=i(t),M(o.$$.fragment,t),C=i(t),m=h(t,"P",{"data-svelte-h":!0}),R(m)!=="svelte-1nvm2x5"&&(m.textContent=q),L=i(t),M(r.$$.fragment,t),H=i(t),u=h(t,"P",{"data-svelte-h":!0}),R(u)!=="svelte-6v27vd"&&(u.innerHTML=S),j=i(t),f=h(t,"P",{"data-svelte-h":!0}),R(f)!=="svelte-1q9vror"&&(f.innerHTML=V),k=i(t),M(c.$$.fragment,t),Z=i(t),d=h(t,"P",{"data-svelte-h":!0}),R(d)!=="svelte-1knvkcx"&&(d.textContent=A),P=i(t),M($.$$.fragment,t),B=i(t),v=h(t,"P",{}),E(v).forEach(n),this.h()},h(){N(s,"name","hf:doc:metadata"),N(s,"content",lt)},m(t,e){K(document.head,s),l(t,J,e),l(t,w,e),l(t,I,e),x(p,t,e),l(t,W,e),x(o,t,e),l(t,C,e),l(t,m,e),l(t,L,e),x(r,t,e),l(t,H,e),l(t,u,e),l(t,j,e),l(t,f,e),l(t,k,e),x(c,t,e),l(t,Z,e),l(t,d,e),l(t,P,e),x($,t,e),l(t,B,e),l(t,v,e),G=!0},p:Q,i(t){G||(y(p.$$.fragment,t),y(o.$$.fragment,t),y(r.$$.fragment,t),y(c.$$.fragment,t),y($.$$.fragment,t),G=!0)},o(t){_(p.$$.fragment,t),_(o.$$.fragment,t),_(r.$$.fragment,t),_(c.$$.fragment,t),_($.$$.fragment,t),G=!1},d(t){t&&(n(J),n(w),n(I),n(W),n(C),n(m),n(L),n(H),n(u),n(j),n(f),n(k),n(Z),n(d),n(P),n(B),n(v)),n(s),b(p,t),b(o,t),b(r,t),b(c,t),b($,t)}}}const lt='{"title":"Installation","local":"installation","sections":[],"depth":1}';function at(Y){return z(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class mt extends F{constructor(s){super(),O(this,s,at,nt,U,{})}}export{mt as component};

Xet Storage Details

Size:
3.89 kB
·
Xet hash:
5efde88731a6635cc3f62ec866deace69c67a0ba213ccd5090239e1f0f1817b0

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