import{s as S,n as g,o as L}from"../chunks/scheduler.182ea377.js";import{S as k,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 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,f,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/v0.27.2/en/api/pipelines/stable_diffusion/stable_diffusion_xl#diffusers.StableDiffusionXLPipeline">StableDiffusionXLPipeline</a> or <a href="/docs/diffusers/v0.27.2/en/api/pipelines/controlnet#diffusers.StableDiffusionControlNetPipeline">StableDiffusionControlNetPipeline</a>, with specific capabilities. All pipeline types inherit from the base <a href="/docs/diffusers/v0.27.2/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.",b,r,w;return a=new j({props:{title:"Overview",local:"overview",headingTag:"h1"}}),{c(){n=p("meta"),m=c(),f=p("p"),h=c(),T(a.$$.fragment),v=c(),o=p("p"),o.innerHTML=P,_=c(),l=p("p"),l.textContent=$,b=c(),r=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),f=d(e,"P",{}),x(f).forEach(i),h=u(e),H(a.$$.fragment,e),v=u(e),o=d(e,"P",{"data-svelte-h":!0}),C(o)!=="svelte-19fkb3f"&&(o.innerHTML=P),_=u(e),l=d(e,"P",{"data-svelte-h":!0}),C(l)!=="svelte-y5sh8m"&&(l.textContent=$),b=u(e),r=d(e,"P",{}),x(r).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,f,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,b,t),s(e,r,t),w=!0},p:g,i(e){w||(X(a.$$.fragment,e),w=!0)},o(e){q(a.$$.fragment,e),w=!1},d(e){e&&(i(m),i(f),i(h),i(v),i(o),i(_),i(l),i(b),i(r)),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 k{constructor(n){super(),E(this,n,U,z,S,{})}}export{G as component};
