import{s as I,n as A,o as N}from"../chunks/scheduler.c90a44b2.js";import{S as X,i as z,e as x,s as m,c as k,h as O,a as w,d as n,b as p,f as S,g as y,j,k as C,l as q,m as o,n as v,t as E,o as P,p as T}from"../chunks/index.66c3f415.js";import{C as B,H}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.989ebcbf.js";function D(L){let a,h,f,g,i,u,l,d,s,b,r,M='<thead><tr><th align="left">Notebook</th> <th align="left">Description</th> <th align="center"></th> <th align="right"></th></tr></thead> <tbody><tr><td align="left"><a href="https://github.com/huggingface/optimum-intel/tree/main/notebooks/ipex" rel="nofollow">How to run inference with the IPEX</a></td> <td align="left">Explains how to export your model to IPEX and to run inference with IPEX model on text-generation task</td> <td align="center"><a href="https://colab.research.google.com/github/huggingface/optimum-intel/blob/main/notebooks/ipex/text_generation.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"/></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/optimum-intel/blob/main/notebooks/ipex/text_generation.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"/></a></td></tr></tbody>',$,c,_;return i=new B({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),l=new H({props:{title:"Notebooks",local:"notebooks",headingTag:"h1"}}),s=new H({props:{title:"Inference",local:"inference",headingTag:"h2"}}),{c(){a=x("meta"),h=m(),f=x("p"),g=m(),k(i.$$.fragment),u=m(),k(l.$$.fragment),d=m(),k(s.$$.fragment),b=m(),r=x("table"),r.innerHTML=M,$=m(),c=x("p"),this.h()},l(t){const e=O("svelte-u9bgzb",document.head);a=w(e,"META",{name:!0,content:!0}),e.forEach(n),h=p(t),f=w(t,"P",{}),S(f).forEach(n),g=p(t),y(i.$$.fragment,t),u=p(t),y(l.$$.fragment,t),d=p(t),y(s.$$.fragment,t),b=p(t),r=w(t,"TABLE",{"data-svelte-h":!0}),j(r)!=="svelte-hn3kev"&&(r.innerHTML=M),$=p(t),c=w(t,"P",{}),S(c).forEach(n),this.h()},h(){C(a,"name","hf:doc:metadata"),C(a,"content",R)},m(t,e){q(document.head,a),o(t,h,e),o(t,f,e),o(t,g,e),v(i,t,e),o(t,u,e),v(l,t,e),o(t,d,e),v(s,t,e),o(t,b,e),o(t,r,e),o(t,$,e),o(t,c,e),_=!0},p:A,i(t){_||(E(i.$$.fragment,t),E(l.$$.fragment,t),E(s.$$.fragment,t),_=!0)},o(t){P(i.$$.fragment,t),P(l.$$.fragment,t),P(s.$$.fragment,t),_=!1},d(t){t&&(n(h),n(f),n(g),n(u),n(d),n(b),n(r),n($),n(c)),n(a),T(i,t),T(l,t),T(s,t)}}}const R='{"title":"Notebooks","local":"notebooks","sections":[{"title":"Inference","local":"inference","sections":[],"depth":2}],"depth":1}';function U(L){return N(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class J extends X{constructor(a){super(),z(this,a,U,D,I,{})}}export{J as component};
