import{s as k,o as N,n as O}from"../chunks/scheduler.36a0863c.js";import{S as Q,i as R,g,s as o,r as M,A as D,h as _,f as i,c as l,j as B,u as U,x as L,k as S,y as F,a,v as C,d as G,t as H,w as y}from"../chunks/index.9c13489a.js";import{T as J}from"../chunks/Tip.3b06990e.js";import{H as I,E as K}from"../chunks/EditOnGithub.e88f2b7b.js";function V(z){let n,p='Nota: Un setup con GPU multiple può utilizzare la maggior parte delle strategie descritte nella <a href="./perf_infer_gpu_one">sezione con GPU singola</a>. Tuttavia, è necessario conoscere delle tecniche semplici che possono essere utilizzate per un risultato migliore.';return{c(){n=g("p"),n.innerHTML=p},l(r){n=_(r,"P",{"data-svelte-h":!0}),L(n)!=="svelte-1x4c7ja"&&(n.innerHTML=p)},m(r,d){a(r,n,d)},p:O,d(r){r&&i(n)}}}function W(z){let n,p,r,d,m,P,f,q="Questo documento contiene informazioni su come fare inferenza in maniera efficiente su GPU multiple.",v,s,T,u,b,c,j='Abbiamo recentemente integrato <code>BetterTransformer</code> per inferenza più rapida su multi-GPU per modelli su testo, immagini e audio. Controlla il documento con queste integrazioni <a href="https://huggingface.co/docs/optimum/bettertransformer/overview" rel="nofollow">qui</a> per maggiori dettagli.',w,$,x,h,E;return m=new I({props:{title:"Inferenza Efficiente su GPU Multiple",local:"inferenza-efficiente-su-gpu-multiple",headingTag:"h1"}}),s=new J({props:{$$slots:{default:[V]},$$scope:{ctx:z}}}),u=new I({props:{title:"BetterTransformer per inferenza più rapida",local:"bettertransformer-per-inferenza-più-rapida",headingTag:"h2"}}),$=new K({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/it/perf_infer_gpu_many.md"}}),{c(){n=g("meta"),p=o(),r=g("p"),d=o(),M(m.$$.fragment),P=o(),f=g("p"),f.textContent=q,v=o(),M(s.$$.fragment),T=o(),M(u.$$.fragment),b=o(),c=g("p"),c.innerHTML=j,w=o(),M($.$$.fragment),x=o(),h=g("p"),this.h()},l(e){const t=D("svelte-u9bgzb",document.head);n=_(t,"META",{name:!0,content:!0}),t.forEach(i),p=l(e),r=_(e,"P",{}),B(r).forEach(i),d=l(e),U(m.$$.fragment,e),P=l(e),f=_(e,"P",{"data-svelte-h":!0}),L(f)!=="svelte-anqryh"&&(f.textContent=q),v=l(e),U(s.$$.fragment,e),T=l(e),U(u.$$.fragment,e),b=l(e),c=_(e,"P",{"data-svelte-h":!0}),L(c)!=="svelte-j8irol"&&(c.innerHTML=j),w=l(e),U($.$$.fragment,e),x=l(e),h=_(e,"P",{}),B(h).forEach(i),this.h()},h(){S(n,"name","hf:doc:metadata"),S(n,"content",X)},m(e,t){F(document.head,n),a(e,p,t),a(e,r,t),a(e,d,t),C(m,e,t),a(e,P,t),a(e,f,t),a(e,v,t),C(s,e,t),a(e,T,t),C(u,e,t),a(e,b,t),a(e,c,t),a(e,w,t),C($,e,t),a(e,x,t),a(e,h,t),E=!0},p(e,[t]){const A={};t&2&&(A.$$scope={dirty:t,ctx:e}),s.$set(A)},i(e){E||(G(m.$$.fragment,e),G(s.$$.fragment,e),G(u.$$.fragment,e),G($.$$.fragment,e),E=!0)},o(e){H(m.$$.fragment,e),H(s.$$.fragment,e),H(u.$$.fragment,e),H($.$$.fragment,e),E=!1},d(e){e&&(i(p),i(r),i(d),i(P),i(f),i(v),i(T),i(b),i(c),i(w),i(x),i(h)),i(n),y(m,e),y(s,e),y(u,e),y($,e)}}}const X='{"title":"Inferenza Efficiente su GPU Multiple","local":"inferenza-efficiente-su-gpu-multiple","sections":[{"title":"BetterTransformer per inferenza più rapida","local":"bettertransformer-per-inferenza-più-rapida","sections":[],"depth":2}],"depth":1}';function Y(z){return N(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ie extends Q{constructor(n){super(),R(this,n,Y,W,k,{})}}export{ie as component};
