Buckets:
hf-doc-build/doc / diffusers /main /en /_app /pages /using-diffusers /pipeline_overview.mdx-hf-doc-builder.js
| import{S as F,i as K,s as Q,e as a,k as x,w as V,t as f,M as W,c as s,d as i,m as $,a as p,x as Z,h as c,b as d,G as t,g as b,y as ee,L as ie,q as te,o as ne,B as ae,v as se}from"../../chunks/vendor-hf-doc-builder.js";import{I as oe}from"../../chunks/IconCopyLink-hf-doc-builder.js";function le(B){let o,P,l,u,g,m,C,k,L,S,n,N,v,q,X,y,O,M,w,T,I,D,_,Y,E;return m=new oe({}),{c(){o=a("meta"),P=x(),l=a("h1"),u=a("a"),g=a("span"),V(m.$$.fragment),C=x(),k=a("span"),L=f("Overview"),S=x(),n=a("p"),N=f("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 "),v=a("a"),q=f("StableDiffusionXLPipeline"),X=f(" or "),y=a("a"),O=f("StableDiffusionControlNetPipeline"),M=f(", with specific capabilities. All pipeline types inherit from the base "),w=a("a"),T=f("DiffusionPipeline"),I=f(" class; pass it any checkpoint, and it\u2019ll automatically detect the pipeline type and load the necessary components."),D=x(),_=a("p"),Y=f("This section introduces you to some of the more complex pipelines like Stable Diffusion XL, ControlNet, and DiffEdit, which require additional inputs. You\u2019ll 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."),this.h()},l(e){const r=W('[data-svelte="svelte-1phssyn"]',document.head);o=s(r,"META",{name:!0,content:!0}),r.forEach(i),P=$(e),l=s(e,"H1",{class:!0});var A=p(l);u=s(A,"A",{id:!0,class:!0,href:!0});var G=p(u);g=s(G,"SPAN",{});var H=p(g);Z(m.$$.fragment,H),H.forEach(i),G.forEach(i),C=$(A),k=s(A,"SPAN",{});var J=p(k);L=c(J,"Overview"),J.forEach(i),A.forEach(i),S=$(e),n=s(e,"P",{});var h=p(n);N=c(h,"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 "),v=s(h,"A",{href:!0});var R=p(v);q=c(R,"StableDiffusionXLPipeline"),R.forEach(i),X=c(h," or "),y=s(h,"A",{href:!0});var U=p(y);O=c(U,"StableDiffusionControlNetPipeline"),U.forEach(i),M=c(h,", with specific capabilities. All pipeline types inherit from the base "),w=s(h,"A",{href:!0});var j=p(w);T=c(j,"DiffusionPipeline"),j.forEach(i),I=c(h," class; pass it any checkpoint, and it\u2019ll automatically detect the pipeline type and load the necessary components."),h.forEach(i),D=$(e),_=s(e,"P",{});var z=p(_);Y=c(z,"This section introduces you to some of the more complex pipelines like Stable Diffusion XL, ControlNet, and DiffEdit, which require additional inputs. You\u2019ll 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."),z.forEach(i),this.h()},h(){d(o,"name","hf:doc:metadata"),d(o,"content",JSON.stringify(re)),d(u,"id","overview"),d(u,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(u,"href","#overview"),d(l,"class","relative group"),d(v,"href","/docs/diffusers/main/en/api/pipelines/stable_diffusion/stable_diffusion_xl#diffusers.StableDiffusionXLPipeline"),d(y,"href","/docs/diffusers/main/en/api/pipelines/controlnet#diffusers.StableDiffusionControlNetPipeline"),d(w,"href","/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline")},m(e,r){t(document.head,o),b(e,P,r),b(e,l,r),t(l,u),t(u,g),ee(m,g,null),t(l,C),t(l,k),t(k,L),b(e,S,r),b(e,n,r),t(n,N),t(n,v),t(v,q),t(n,X),t(n,y),t(y,O),t(n,M),t(n,w),t(w,T),t(n,I),b(e,D,r),b(e,_,r),t(_,Y),E=!0},p:ie,i(e){E||(te(m.$$.fragment,e),E=!0)},o(e){ne(m.$$.fragment,e),E=!1},d(e){i(o),e&&i(P),e&&i(l),ae(m),e&&i(S),e&&i(n),e&&i(D),e&&i(_)}}}const re={local:"overview",title:"Overview"};function fe(B){return se(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class de extends F{constructor(o){super();K(this,o,fe,le,Q,{})}}export{de as default,re as metadata}; | |
Xet Storage Details
- Size:
- 4.39 kB
- Xet hash:
- f8e5e7390d7708c58c155332bfd1d70ff355a8f9e87855e4cc2d930075719e30
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.