import{s as b,n as C,o as H}from"../chunks/scheduler.182ea377.js";import{S as E,i as M,g as d,s as m,r as q,A as D,h as p,f as o,c as h,j as P,u as L,x as k,k as T,y as S,a as n,v as A,d as F,t as O,w as j}from"../chunks/index.1ea56653.js";import{H as z,g as G}from"../chunks/Heading.71ac6e9f.js";function K(_){let a,u,r,f,s,w,i,$='🧨 Diffusers offers many pipelines, models, and schedulers for generative tasks. To make loading these components as simple as possible, we provide a single and unified method - <code>from_pretrained()</code> - that loads any of these components from either the Hugging Face <a href="https://huggingface.co/models?library=diffusers&amp;sort=downloads" rel="nofollow">Hub</a> or your local machine. Whenever you load a pipeline or model, the latest files are automatically downloaded and cached so you can quickly reuse them next time without redownloading the files.',y,l,x="This section will show you everything you need to know about loading pipelines, how to load different components in a pipeline, how to load checkpoint variants, and how to load community pipelines. You’ll also learn how to load schedulers and compare the speed and quality trade-offs of using different schedulers. Finally, you’ll see how to convert and load KerasCV checkpoints so you can use them in PyTorch with 🧨 Diffusers.",v,c,g;return s=new z({props:{title:"Overview",local:"overview",headingTag:"h1"}}),{c(){a=d("meta"),u=m(),r=d("p"),f=m(),q(s.$$.fragment),w=m(),i=d("p"),i.innerHTML=$,y=m(),l=d("p"),l.textContent=x,v=m(),c=d("p"),this.h()},l(e){const t=D("svelte-u9bgzb",document.head);a=p(t,"META",{name:!0,content:!0}),t.forEach(o),u=h(e),r=p(e,"P",{}),P(r).forEach(o),f=h(e),L(s.$$.fragment,e),w=h(e),i=p(e,"P",{"data-svelte-h":!0}),k(i)!=="svelte-1g4ds7y"&&(i.innerHTML=$),y=h(e),l=p(e,"P",{"data-svelte-h":!0}),k(l)!=="svelte-iiyot9"&&(l.textContent=x),v=h(e),c=p(e,"P",{}),P(c).forEach(o),this.h()},h(){T(a,"name","hf:doc:metadata"),T(a,"content",R)},m(e,t){S(document.head,a),n(e,u,t),n(e,r,t),n(e,f,t),A(s,e,t),n(e,w,t),n(e,i,t),n(e,y,t),n(e,l,t),n(e,v,t),n(e,c,t),g=!0},p:C,i(e){g||(F(s.$$.fragment,e),g=!0)},o(e){O(s.$$.fragment,e),g=!1},d(e){e&&(o(u),o(r),o(f),o(w),o(i),o(y),o(l),o(v),o(c)),o(a),j(s,e)}}}const R='{"title":"Overview","local":"overview","sections":[],"depth":1}';function U(_){return H(()=>{new URLSearchParams(window.location.search).get("fw"),window.hfDocGoto=G}),[]}class B extends E{constructor(a){super(),M(this,a,U,K,b,{})}}export{B as component};
