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 $,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,_,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,x="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,p,w;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),_=c(),o=f("p"),o.innerHTML=P,v=c(),l=f("p"),l.textContent=x,b=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",{}),$(r).forEach(i),h=u(e),H(a.$$.fragment,e),_=u(e),o=d(e,"P",{"data-svelte-h":!0}),C(o)!=="svelte-1xnewbt"&&(o.innerHTML=P),v=u(e),l=d(e,"P",{"data-svelte-h":!0}),C(l)!=="svelte-y5sh8m"&&(l.textContent=x),b=u(e),p=d(e,"P",{}),$(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,_,t),s(e,o,t),s(e,v,t),s(e,l,t),s(e,b,t),s(e,p,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(r),i(h),i(_),i(o),i(v),i(l),i(b),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};
