import{s as S,n as g,o as L}from"../chunks/scheduler.182ea377.js";import{S as E,i as T,g as f,s as c,r as k,A,h as d,f as i,c as u,j as x,u as H,x as C,k as D,y as M,a as s,v as N,d as X,t as q,w as O}from"../chunks/index.abf12888.js";import{H as j}from"../chunks/Heading.16916d63.js";function z(y){let n,m,r,h,a,v,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/sdxl_turbo#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.',_,l,$="This section demonstrates how to use specific pipelines such as Stable Diffusion XL, ControlNet, and DiffEdit. You’ll also learn how to use a distilled version of the Stable Diffusion model to speed up inference, how to create reproducible pipelines, and how to use and contribute community pipelines.",w,p,b;return a=new j({props:{title:"Overview",local:"overview",headingTag:"h1"}}),{c(){n=f("meta"),m=c(),r=f("p"),h=c(),k(a.$$.fragment),v=c(),o=f("p"),o.innerHTML=P,_=c(),l=f("p"),l.textContent=$,w=c(),p=f("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(a.$$.fragment,e),v=u(e),o=d(e,"P",{"data-svelte-h":!0}),C(o)!=="svelte-w9c88r"&&(o.innerHTML=P),_=u(e),l=d(e,"P",{"data-svelte-h":!0}),C(l)!=="svelte-y5sh8m"&&(l.textContent=$),w=u(e),p=d(e,"P",{}),x(p).forEach(i),this.h()},h(){D(n,"name","hf:doc:metadata"),D(n,"content",R)},m(e,t){M(document.head,n),s(e,m,t),s(e,r,t),s(e,h,t),N(a,e,t),s(e,v,t),s(e,o,t),s(e,_,t),s(e,l,t),s(e,w,t),s(e,p,t),b=!0},p:g,i(e){b||(X(a.$$.fragment,e),b=!0)},o(e){q(a.$$.fragment,e),b=!1},d(e){e&&(i(m),i(r),i(h),i(v),i(o),i(_),i(l),i(w),i(p)),i(n),O(a,e)}}}const R='{"title":"Overview","local":"overview","sections":[],"depth":1}';function U(y){return L(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class G extends E{constructor(n){super(),T(this,n,U,z,S,{})}}export{G as component};
