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 L,h as p,f as a,c as u,j as P,u as S,x as k,k as T,y as A,a as n,v as D,d as F,t as O,w as j}from"../chunks/index.abf12888.js";import{H as z}from"../chunks/Heading.16916d63.js";function K(g){let o,h,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,_;return s=new z({props:{title:"Overview",local:"overview",headingTag:"h1"}}),{c(){o=d("meta"),h=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=L("svelte-u9bgzb",document.head);o=p(t,"META",{name:!0,content:!0}),t.forEach(a),h=u(e),r=p(e,"P",{}),P(r).forEach(a),f=u(e),S(s.$$.fragment,e),w=u(e),i=p(e,"P",{"data-svelte-h":!0}),k(i)!=="svelte-1g4ds7y"&&(i.innerHTML=$),y=u(e),l=p(e,"P",{"data-svelte-h":!0}),k(l)!=="svelte-iiyot9"&&(l.textContent=x),v=u(e),c=p(e,"P",{}),P(c).forEach(a),this.h()},h(){T(o,"name","hf:doc:metadata"),T(o,"content",R)},m(e,t){A(document.head,o),n(e,h,t),n(e,r,t),n(e,f,t),D(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),_=!0},p:C,i(e){_||(F(s.$$.fragment,e),_=!0)},o(e){O(s.$$.fragment,e),_=!1},d(e){e&&(a(h),a(r),a(f),a(w),a(i),a(y),a(l),a(v),a(c)),a(o),j(s,e)}}}const R='{"title":"Overview","local":"overview","sections":[],"depth":1}';function U(g){return H(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class B extends E{constructor(o){super(),M(this,o,U,K,b,{})}}export{B as component};
