import{s as D,n as S,o as k}from"../chunks/scheduler.182ea377.js";import{S as L,i as E,g as p,s as c,r as T,A,h as d,f as i,c as u,j as x,u as H,x as $,k as C,y as M,a,v as q,d as N,t as X,w as O}from"../chunks/index.abf12888.js";import{H as j}from"../chunks/Heading.16916d63.js";function z(b){let n,m,r,h,s,_,o,P='A pipeline is an end-to-end class that provides a quick and easy way to use a diffusion system for inference by bundling independently trained models and schedulers together. Certain combinations of models and schedulers define specific pipeline types, like <a href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/stable_diffusion_xl#diffusers.StableDiffusionXLPipeline">StableDiffusionXLPipeline</a> or <a href="/docs/diffusers/main/en/api/pipelines/controlnet#diffusers.StableDiffusionControlNetPipeline">StableDiffusionControlNetPipeline</a>, with specific capabilities. All pipeline types inherit from the base <a href="/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline">DiffusionPipeline</a> class; pass it any checkpoint, and it’ll automatically detect the pipeline type and load the necessary components.',v,l,g="This section introduces you to some of the more complex pipelines like Stable Diffusion XL, ControlNet, and DiffEdit, which require additional inputs. You’ll also learn how to use a distilled version of the Stable Diffusion model to speed up inference, how to control randomness on your hardware when generating images, and how to create a community pipeline for a custom task like generating images from speech.",w,f,y;return s=new j({props:{title:"Overview",local:"overview",headingTag:"h1"}}),{c(){n=p("meta"),m=c(),r=p("p"),h=c(),T(s.$$.fragment),_=c(),o=p("p"),o.innerHTML=P,v=c(),l=p("p"),l.textContent=g,w=c(),f=p("p"),this.h()},l(e){const t=A("svelte-u9bgzb",document.head);n=d(t,"META",{name:!0,content:!0}),t.forEach(i),m=u(e),r=d(e,"P",{}),x(r).forEach(i),h=u(e),H(s.$$.fragment,e),_=u(e),o=d(e,"P",{"data-svelte-h":!0}),$(o)!=="svelte-1xnewbt"&&(o.innerHTML=P),v=u(e),l=d(e,"P",{"data-svelte-h":!0}),$(l)!=="svelte-27xuga"&&(l.textContent=g),w=u(e),f=d(e,"P",{}),x(f).forEach(i),this.h()},h(){C(n,"name","hf:doc:metadata"),C(n,"content",R)},m(e,t){M(document.head,n),a(e,m,t),a(e,r,t),a(e,h,t),q(s,e,t),a(e,_,t),a(e,o,t),a(e,v,t),a(e,l,t),a(e,w,t),a(e,f,t),y=!0},p:S,i(e){y||(N(s.$$.fragment,e),y=!0)},o(e){X(s.$$.fragment,e),y=!1},d(e){e&&(i(m),i(r),i(h),i(_),i(o),i(v),i(l),i(w),i(f)),i(n),O(s,e)}}}const R='{"title":"Overview","local":"overview","sections":[],"depth":1}';function U(b){return k(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class G extends L{constructor(n){super(),E(this,n,U,z,D,{})}}export{G as component};
