import{s as N,n as C,o as H}from"../chunks/scheduler.25b97de1.js";import{S as M,i as k,g as _,s as l,r as v,A as L,h as P,f as a,c as p,j as y,u as z,x as R,k as O,y as S,a as i,v as T,d as x,t as E,w as q}from"../chunks/index.d9030fc9.js";import{H as U,E as j}from"../chunks/EditOnGithub.91d95064.js";function A(w){let n,c,r,f,o,d,s,b='The <a href="https://huggingface.co/docs/optimum/index" rel="nofollow">Optimum</a> library supports quantization for Intel, Furiosa, ONNX Runtime, GPTQ, and lower-level PyTorch quantization functions. Consider using Optimum for quantization if you’re using specific and optimized hardware like Intel CPUs, Furiosa NPUs or a model accelerator like ONNX Runtime.',h,m,$,u,g;return o=new U({props:{title:"Optimum",local:"optimum",headingTag:"h1"}}),m=new j({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/en/quantization/optimum.md"}}),{c(){n=_("meta"),c=l(),r=_("p"),f=l(),v(o.$$.fragment),d=l(),s=_("p"),s.innerHTML=b,h=l(),v(m.$$.fragment),$=l(),u=_("p"),this.h()},l(t){const e=L("svelte-u9bgzb",document.head);n=P(e,"META",{name:!0,content:!0}),e.forEach(a),c=p(t),r=P(t,"P",{}),y(r).forEach(a),f=p(t),z(o.$$.fragment,t),d=p(t),s=P(t,"P",{"data-svelte-h":!0}),R(s)!=="svelte-opujmz"&&(s.innerHTML=b),h=p(t),z(m.$$.fragment,t),$=p(t),u=P(t,"P",{}),y(u).forEach(a),this.h()},h(){O(n,"name","hf:doc:metadata"),O(n,"content",F)},m(t,e){S(document.head,n),i(t,c,e),i(t,r,e),i(t,f,e),T(o,t,e),i(t,d,e),i(t,s,e),i(t,h,e),T(m,t,e),i(t,$,e),i(t,u,e),g=!0},p:C,i(t){g||(x(o.$$.fragment,t),x(m.$$.fragment,t),g=!0)},o(t){E(o.$$.fragment,t),E(m.$$.fragment,t),g=!1},d(t){t&&(a(c),a(r),a(f),a(d),a(s),a(h),a($),a(u)),a(n),q(o,t),q(m,t)}}}const F='{"title":"Optimum","local":"optimum","sections":[],"depth":1}';function G(w){return H(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class B extends M{constructor(n){super(),k(this,n,G,A,N,{})}}export{B as component};
