import{S as _r,i as vr,s as gr,e as s,k as p,t as r,w as $,M as Er,c as i,d as l,m as u,a,h as f,x as P,b as d,G as t,g as n,y as b,L as Dr,q as T,o as w,B as S,v as $r}from"../chunks/vendor-hf-doc-builder.js";import{I as Pr}from"../chunks/IconCopyLink-hf-doc-builder.js";import{C as U}from"../chunks/CodeBlock-hf-doc-builder.js";function br(Vi){let y,zt,F,ql,Ht,L,kl,Je,Gl,xl,Vt,Ee,Nl,Bt,K,Xt,R,De,W,Qe,Cl,Ul,Ll,M,Z,Ye,Rl,Ml,ee,zl,Hl,Jt,A,z,Fe,te,Vl,Ke,Bl,Qt,j,We,Xl,Jl,Ze,Ql,Yl,Yt,H,et,O,tt,lt,Fl,Kl,st,it,Wl,Zl,at,rt,es,ts,m,I,ft,ls,ss,ot,is,as,nt,$e,rs,fs,q,pt,os,ns,ut,ps,us,dt,Pe,ds,cs,k,ct,hs,ms,ht,_s,vs,mt,be,gs,Es,G,_t,Ds,$s,vt,Ps,bs,gt,Te,Ts,ws,x,Et,Ss,ys,Dt,As,js,$t,we,Os,Ft,V,Is,Se,Pt,qs,ks,Kt,c,Gs,bt,xs,Ns,le,Cs,Us,Tt,Ls,Rs,se,Ms,zs,wt,Hs,Vs,Wt,_,ie,Bs,Xs,ae,Js,Qs,St,Ys,Fs,re,yt,Ks,Ws,Zt,ye,Zs,el,fe,tl,oe,At,ei,ti,ll,ne,sl,B,li,jt,si,ii,il,pe,al,X,ai,ue,ri,fi,rl,Ae,oi,fl,de,ol,ce,Ot,ni,pi,nl,he,pl,je,ui,ul,me,dl,Oe,di,cl,_e,hl,h,ci,Ie,hi,mi,It,_i,vi,qt,gi,Ei,kt,Di,$i,ml,ve,_l,J,Pi,qe,bi,Ti,vl,N,ge,wi,Si,ke,yi,Ai,gl,Ge,ji,El,v,Gt,xe,Oi,Ii,xt,Ne,qi,ki,Nt,Ce,Gi,xi,Ct,Ue,Ni,Dl,Q,Ci,Le,Ut,Ui,Li,$l,Re,Ri,Pl;return K=new U({props:{code:"pip install --upgrade diffusers accelerate transformers",highlighted:"pip install --upgrade diffusers accelerate transformers"}}),te=new Pr({}),fe=new U({props:{code:`from diffusers import DiffusionPipeline

pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")`,highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline

<span class="hljs-meta">&gt;&gt;&gt; </span>pipeline = DiffusionPipeline.from_pretrained(<span class="hljs-string">&quot;runwayml/stable-diffusion-v1-5&quot;</span>)`}}),ne=new U({props:{code:'pipeline.to("cuda")',highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>pipeline.to(<span class="hljs-string">&quot;cuda&quot;</span>)'}}),pe=new U({props:{code:'image = pipeline("An image of a squirrel in Picasso style").images[0]',highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>image = pipeline(<span class="hljs-string">&quot;An image of a squirrel in Picasso style&quot;</span>).images[<span class="hljs-number">0</span>]'}}),de=new U({props:{code:'image.save("image_of_squirrel_painting.png")',highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>image.save(<span class="hljs-string">&quot;image_of_squirrel_painting.png&quot;</span>)'}}),he=new U({props:{code:`git lfs install
git clone https://huggingface.co/runwayml/stable-diffusion-v1-5`,highlighted:`git lfs install
git clone https:<span class="hljs-regexp">//</span>huggingface.co<span class="hljs-regexp">/runwayml/</span>stable-diffusion-v1-<span class="hljs-number">5</span>`}}),me=new U({props:{code:'pipeline = DiffusionPipeline.from_pretrained("./stable-diffusion-v1-5")',highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>pipeline = DiffusionPipeline.from_pretrained(<span class="hljs-string">&quot;./stable-diffusion-v1-5&quot;</span>)'}}),_e=new U({props:{code:`generator.to("cuda")
image = generator("An image of a squirrel in Picasso style").images[0]
image.save("image_of_squirrel_painting.png")`,highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>generator.to(<span class="hljs-string">&quot;cuda&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>image = generator(<span class="hljs-string">&quot;An image of a squirrel in Picasso style&quot;</span>).images[<span class="hljs-number">0</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>image.save(<span class="hljs-string">&quot;image_of_squirrel_painting.png&quot;</span>)`}}),ve=new U({props:{code:`from diffusers import EulerDiscreteScheduler

pipeline = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")

# change scheduler to Euler
pipeline.scheduler = EulerDiscreteScheduler.from_config(pipeline.scheduler.config)`,highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> EulerDiscreteScheduler

<span class="hljs-meta">&gt;&gt;&gt; </span>pipeline = StableDiffusionPipeline.from_pretrained(<span class="hljs-string">&quot;runwayml/stable-diffusion-v1-5&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># change scheduler to Euler</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>pipeline.scheduler = EulerDiscreteScheduler.from_config(pipeline.scheduler.config)`}}),{c(){y=s("meta"),zt=p(),F=s("h1"),ql=r("\uD6D1\uC5B4\uBCF4\uAE30"),Ht=p(),L=s("p"),kl=r(`\u{1F9E8} Diffusers\uB85C \uBE60\uB974\uAC8C \uC2DC\uC791\uD558\uACE0 \uC2E4\uD589\uD558\uC138\uC694!
\uC774 \uD6D1\uC5B4\uBCF4\uAE30\uB294 \uC5EC\uB7EC\uBD84\uC774 \uAC1C\uBC1C\uC790, \uC77C\uBC18\uC0AC\uC6A9\uC790 \uC0C1\uAD00\uC5C6\uC774 \uC2DC\uC791\uD558\uB294 \uB370 \uB3C4\uC6C0\uC744 \uC8FC\uBA70, \uCD94\uB860\uC744 \uC704\uD574 `),Je=s("code"),Gl=r("DiffusionPipeline"),xl=r(" \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95\uC744 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4."),Vt=p(),Ee=s("p"),Nl=r("\uC2DC\uC791\uD558\uAE30\uC5D0 \uC55E\uC11C\uC11C, \uD544\uC694\uD55C \uBAA8\uB4E0 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uAC00 \uC124\uCE58\uB418\uC5B4 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694:"),Bt=p(),$(K.$$.fragment),Xt=p(),R=s("ul"),De=s("li"),W=s("a"),Qe=s("code"),Cl=r("accelerate"),Ul=r("\uC740 \uCD94\uB860 \uBC0F \uD559\uC2B5\uC744 \uC704\uD55C \uBAA8\uB378 \uBD88\uB7EC\uC624\uAE30 \uC18D\uB3C4\uB97C \uB192\uC785\uB2C8\uB2E4."),Ll=p(),M=s("li"),Z=s("a"),Ye=s("code"),Rl=r("transformers"),Ml=r("\uB294 "),ee=s("a"),zl=r("Stable Diffusion"),Hl=r("\uACFC \uAC19\uC774 \uAC00\uC7A5 \uB110\uB9AC \uC0AC\uC6A9\uB418\uB294 \uD655\uC0B0 \uBAA8\uB378\uC744 \uC2E4\uD589\uD558\uAE30 \uC704\uD574 \uD544\uC694\uD569\uB2C8\uB2E4."),Jt=p(),A=s("h2"),z=s("a"),Fe=s("span"),$(te.$$.fragment),Vl=p(),Ke=s("span"),Bl=r("DiffusionPipeline"),Qt=p(),j=s("p"),We=s("code"),Xl=r("DiffusionPipeline"),Jl=r("\uC740 \uCD94\uB860\uC744 \uC704\uD574 \uC0AC\uC804\uD559\uC2B5\uB41C \uD655\uC0B0 \uC2DC\uC2A4\uD15C\uC744 \uC0AC\uC6A9\uD558\uB294 \uAC00\uC7A5 \uC26C\uC6B4 \uBC29\uBC95\uC785\uB2C8\uB2E4. \uB2E4\uC591\uD55C \uC591\uC2DD\uC758 \uB9CE\uC740 \uC791\uC5C5\uC5D0 "),Ze=s("code"),Ql=r("DiffusionPipeline"),Yl=r("\uC744 \uBC14\uB85C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC9C0\uC6D0\uB418\uB294 \uC791\uC5C5\uC740 \uC544\uB798\uC758 \uD45C\uB97C \uCC38\uACE0\uD558\uC138\uC694:"),Yt=p(),H=s("table"),et=s("thead"),O=s("tr"),tt=s("th"),lt=s("strong"),Fl=r("Task"),Kl=p(),st=s("th"),it=s("strong"),Wl=r("Description"),Zl=p(),at=s("th"),rt=s("strong"),es=r("Pipeline"),ts=p(),m=s("tbody"),I=s("tr"),ft=s("td"),ls=r("Unconditional Image Generation"),ss=p(),ot=s("td"),is=r("\uAC00\uC6B0\uC2DC\uC548 \uB178\uC774\uC988\uC5D0\uC11C \uC774\uBBF8\uC9C0 \uC0DD\uC131"),as=p(),nt=s("td"),$e=s("a"),rs=r("unconditional_image_generation"),fs=p(),q=s("tr"),pt=s("td"),os=r("Text-Guided Image Generation"),ns=p(),ut=s("td"),ps=r("\uD14D\uC2A4\uD2B8 \uD504\uB86C\uD504\uD2B8\uB85C \uC774\uBBF8\uC9C0 \uC0DD\uC131"),us=p(),dt=s("td"),Pe=s("a"),ds=r("conditional_image_generation"),cs=p(),k=s("tr"),ct=s("td"),hs=r("Text-Guided Image-to-Image Translation"),ms=p(),ht=s("td"),_s=r("\uD14D\uC2A4\uD2B8 \uD504\uB86C\uD504\uD2B8\uC5D0 \uB530\uB77C \uC774\uBBF8\uC9C0 \uC870\uC815"),vs=p(),mt=s("td"),be=s("a"),gs=r("img2img"),Es=p(),G=s("tr"),_t=s("td"),Ds=r("Text-Guided Image-Inpainting"),$s=p(),vt=s("td"),Ps=r("\uB9C8\uC2A4\uD06C \uBC0F \uD14D\uC2A4\uD2B8 \uD504\uB86C\uD504\uD2B8\uAC00 \uC8FC\uC5B4\uC9C4 \uC774\uBBF8\uC9C0\uC758 \uB9C8\uC2A4\uD0B9\uB41C \uBD80\uBD84\uC744 \uCC44\uC6B0\uAE30"),bs=p(),gt=s("td"),Te=s("a"),Ts=r("inpaint"),ws=p(),x=s("tr"),Et=s("td"),Ss=r("Text-Guided Depth-to-Image Translation"),ys=p(),Dt=s("td"),As=r("\uAE4A\uC774 \uCD94\uC815\uC744 \uD1B5\uD574 \uAD6C\uC870\uB97C \uC720\uC9C0\uD558\uBA74\uC11C \uD14D\uC2A4\uD2B8 \uD504\uB86C\uD504\uD2B8\uC5D0 \uB530\uB77C \uC774\uBBF8\uC9C0\uC758 \uC77C\uBD80\uB97C \uC870\uC815"),js=p(),$t=s("td"),we=s("a"),Os=r("depth2image"),Ft=p(),V=s("p"),Is=r("\uD655\uC0B0 \uD30C\uC774\uD504\uB77C\uC778\uC774 \uB2E4\uC591\uD55C \uC791\uC5C5\uC5D0 \uB300\uD574 \uC5B4\uB5BB\uAC8C \uC791\uB3D9\uD558\uB294\uC9C0\uB294 "),Se=s("a"),Pt=s("strong"),qs=r("Using Diffusers"),ks=r("\uB97C \uCC38\uACE0\uD558\uC138\uC694."),Kt=p(),c=s("p"),Gs=r("\uC608\uB97C\uB4E4\uC5B4, "),bt=s("code"),xs=r("DiffusionPipeline"),Ns=r(` \uC778\uC2A4\uD134\uC2A4\uB97C \uC0DD\uC131\uD558\uC5EC \uC2DC\uC791\uD558\uACE0, \uB2E4\uC6B4\uB85C\uB4DC\uD558\uB824\uB294 \uD30C\uC774\uD504\uB77C\uC778 \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C \uC9C0\uC815\uD569\uB2C8\uB2E4.
\uBAA8\uB4E0 `),le=s("a"),Cs=r("Diffusers\u2019 checkpoint"),Us=r("\uC5D0 \uB300\uD574 "),Tt=s("code"),Ls=r("DiffusionPipeline"),Rs=r(`\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
\uD558\uC9C0\uB9CC, \uC774 \uAC00\uC774\uB4DC\uC5D0\uC11C\uB294 `),se=s("a"),Ms=r("Stable Diffusion"),zs=r("\uC744 \uC0AC\uC6A9\uD558\uC5EC text-to-image\uB97C \uD558\uB294\uB370 "),wt=s("code"),Hs=r("DiffusionPipeline"),Vs=r("\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4."),Wt=p(),_=s("p"),ie=s("a"),Bs=r("Stable Diffusion"),Xs=r(" \uAE30\uBC18 \uBAA8\uB378\uC744 \uC2E4\uD589\uD558\uAE30 \uC804\uC5D0 "),ae=s("a"),Js=r("license"),Qs=r(`\uB97C \uC8FC\uC758 \uAE4A\uAC8C \uC77D\uC73C\uC138\uC694.
\uC774\uB294 \uBAA8\uB378\uC758 \uD5A5\uC0C1\uB41C \uC774\uBBF8\uC9C0 \uC0DD\uC131 \uAE30\uB2A5\uACFC \uC774\uAC83\uC73C\uB85C \uC0DD\uC131\uB420 \uC218 \uC788\uB294 \uC720\uD574\uD55C \uCF58\uD150\uCE20 \uB54C\uBB38\uC785\uB2C8\uB2E4. \uC120\uD0DD\uD55C Stable Diffusion \uBAA8\uB378(`),St=s("em"),Ys=r("\uC608"),Fs=r(": "),re=s("a"),yt=s("code"),Ks=r("runwayml/stable-diffusion-v1-5"),Ws=r(")\uB85C \uC774\uB3D9\uD558\uC5EC \uB77C\uC774\uC13C\uC2A4\uB97C \uC77D\uC73C\uC138\uC694."),Zt=p(),ye=s("p"),Zs=r("\uB2E4\uC74C\uACFC \uAC19\uC774 \uBAA8\uB378\uC744 \uB85C\uB4DC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),el=p(),$(fe.$$.fragment),tl=p(),oe=s("p"),At=s("code"),ei=r("DiffusionPipeline"),ti=r(`\uC740 \uBAA8\uB4E0 \uBAA8\uB378\uB9C1, \uD1A0\uD070\uD654 \uBC0F \uC2A4\uCF00\uC904\uB9C1 \uAD6C\uC131\uC694\uC18C\uB97C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uACE0 \uCE90\uC2DC\uD569\uB2C8\uB2E4.
\uBAA8\uB378\uC740 \uC57D 14\uC5B5\uAC1C\uC758 \uB9E4\uAC1C\uBCC0\uC218\uB85C \uAD6C\uC131\uB418\uC5B4 \uC788\uC73C\uBBC0\uB85C GPU\uC5D0\uC11C \uC2E4\uD589\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4.
PyTorch\uC5D0\uC11C\uC640 \uB9C8\uCC2C\uAC00\uC9C0\uB85C \uC0DD\uC131\uAE30 \uAC1D\uCCB4\uB97C GPU\uB85C \uC62E\uAE38 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`),ll=p(),$(ne.$$.fragment),sl=p(),B=s("p"),li=r("\uC774\uC81C "),jt=s("code"),si=r("pipeline"),ii=r("\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),il=p(),$(pe.$$.fragment),al=p(),X=s("p"),ai=r("\uCD9C\uB825\uC740 \uAE30\uBCF8\uC801\uC73C\uB85C "),ue=s("a"),ri=r("PIL Image object"),fi=r("\uB85C \uB798\uD551\uB429\uB2C8\uB2E4."),rl=p(),Ae=s("p"),oi=r("\uB2E4\uC74C\uACFC \uAC19\uC774 \uD568\uC218\uB97C \uD638\uCD9C\uD558\uC5EC \uC774\uBBF8\uC9C0\uB97C \uC800\uC7A5\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),fl=p(),$(de.$$.fragment),ol=p(),ce=s("p"),Ot=s("strong"),ni=r("\uCC38\uACE0"),pi=r(": \uB2E4\uC74C\uC744 \uD1B5\uD574 \uAC00\uC911\uCE58\uB97C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uC5EC \uB85C\uCEEC\uC5D0\uC11C \uD30C\uC774\uD504\uB77C\uC778\uC744 \uC0AC\uC6A9\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4:"),nl=p(),$(he.$$.fragment),pl=p(),je=s("p"),ui=r("\uADF8\uB9AC\uACE0 \uC800\uC7A5\uB41C \uAC00\uC911\uCE58\uB97C \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uBD88\uB7EC\uC635\uB2C8\uB2E4."),ul=p(),$(me.$$.fragment),dl=p(),Oe=s("p"),di=r("\uD30C\uC774\uD504\uB77C\uC778 \uC2E4\uD589\uC740 \uB3D9\uC77C\uD55C \uBAA8\uB378 \uC544\uD0A4\uD14D\uCC98\uC774\uBBC0\uB85C \uC704\uC758 \uCF54\uB4DC\uC640 \uB3D9\uC77C\uD569\uB2C8\uB2E4."),cl=p(),$(_e.$$.fragment),hl=p(),h=s("p"),ci=r("\uD655\uC0B0 \uC2DC\uC2A4\uD15C\uC740 \uAC01\uAC01 \uC7A5\uC810\uC774 \uC788\uB294 \uC5EC\uB7EC \uB2E4\uB978 "),Ie=s("a"),hi=r("schedulers"),mi=r("\uC640 \uD568\uAED8 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uAE30\uBCF8\uC801\uC73C\uB85C Stable Diffusion\uC740 "),It=s("code"),_i=r("PNDMScheduler"),vi=r("\uB85C \uC2E4\uD589\uB418\uC9C0\uB9CC \uB2E4\uB978 \uC2A4\uCF00\uC904\uB7EC\uB97C \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95\uC740 \uB9E4\uC6B0 \uAC04\uB2E8\uD569\uB2C8\uB2E4. "),qt=s("em"),gi=r("\uC608"),Ei=p(),kt=s("code"),Di=r("EulerDiscreteScheduler"),$i=r(" \uC2A4\uCF00\uC904\uB7EC\uB97C \uC0AC\uC6A9\uD558\uB824\uB294 \uACBD\uC6B0, \uB2E4\uC74C\uACFC \uAC19\uC774 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),ml=p(),$(ve.$$.fragment),_l=p(),J=s("p"),Pi=r("\uC2A4\uCF00\uC904\uB7EC \uBCC0\uACBD \uBC29\uBC95\uC5D0 \uB300\uD55C \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),qe=s("a"),bi=r("Using Schedulers"),Ti=r(" \uAC00\uC774\uB4DC\uB97C \uCC38\uACE0\uD558\uC138\uC694."),vl=p(),N=s("p"),ge=s("a"),wi=r("Stability AI\u2019s"),Si=r("\uC758 Stable Diffusion \uBAA8\uB378\uC740 \uC778\uC0C1\uC801\uC778 \uC774\uBBF8\uC9C0 \uC0DD\uC131 \uBAA8\uB378\uC774\uBA70 \uD14D\uC2A4\uD2B8\uC5D0\uC11C \uC774\uBBF8\uC9C0\uB97C \uC0DD\uC131\uD558\uB294 \uAC83\uBCF4\uB2E4 \uD6E8\uC52C \uB354 \uB9CE\uC740 \uC791\uC5C5\uC744 \uC218\uD589\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC6B0\uB9AC\uB294 Stable Diffusion\uB9CC\uC744 \uC704\uD55C \uC804\uCCB4 \uBB38\uC11C \uD398\uC774\uC9C0\uB97C \uC81C\uACF5\uD569\uB2C8\uB2E4 "),ke=s("a"),yi=r("link"),Ai=r("."),gl=p(),Ge=s("p"),ji=r("\uB9CC\uC57D \uB354 \uC801\uC740 \uBA54\uBAA8\uB9AC, \uB354 \uB192\uC740 \uCD94\uB860 \uC18D\uB3C4, Mac\uACFC \uAC19\uC740 \uD2B9\uC815 \uD558\uB4DC\uC6E8\uC5B4 \uB610\uB294 ONNX \uB7F0\uD0C0\uC784\uC5D0\uC11C \uC2E4\uD589\uB418\uB3C4\uB85D Stable Diffusion\uC744 \uCD5C\uC801\uD654\uD558\uB294 \uBC29\uBC95\uC744 \uC54C\uACE0 \uC2F6\uB2E4\uBA74 \uCD5C\uC801\uD654 \uD398\uC774\uC9C0\uB97C \uC0B4\uD3B4\uBCF4\uC138\uC694:"),El=p(),v=s("ul"),Gt=s("li"),xe=s("a"),Oi=r("Optimized PyTorch on GPU"),Ii=p(),xt=s("li"),Ne=s("a"),qi=r("Mac OS with PyTorch"),ki=p(),Nt=s("li"),Ce=s("a"),Gi=r("ONNX"),xi=p(),Ct=s("li"),Ue=s("a"),Ni=r("OpenVINO"),Dl=p(),Q=s("p"),Ci=r("\uD655\uC0B0 \uBAA8\uB378\uC744 \uBBF8\uC138\uC870\uC815\uD558\uAC70\uB098 \uD559\uC2B5\uC2DC\uD0A4\uB824\uBA74, "),Le=s("a"),Ut=s("strong"),Ui=r("training section"),Li=r("\uC744 \uC0B4\uD3B4\uBCF4\uC138\uC694."),$l=p(),Re=s("p"),Ri=r("\uB9C8\uC9C0\uB9C9\uC73C\uB85C, \uC0DD\uC131\uB41C \uC774\uBBF8\uC9C0\uB97C \uACF5\uAC1C\uC801\uC73C\uB85C \uBC30\uD3EC\uD560 \uB54C \uC2E0\uC911\uC744 \uAE30\uD574 \uC8FC\uC138\uC694 \u{1F917}."),this.h()},l(e){const o=Er('[data-svelte="svelte-1phssyn"]',document.head);y=i(o,"META",{name:!0,content:!0}),o.forEach(l),zt=u(e),F=i(e,"H1",{id:!0});var Bi=a(F);ql=f(Bi,"\uD6D1\uC5B4\uBCF4\uAE30"),Bi.forEach(l),Ht=u(e),L=i(e,"P",{});var bl=a(L);kl=f(bl,`\u{1F9E8} Diffusers\uB85C \uBE60\uB974\uAC8C \uC2DC\uC791\uD558\uACE0 \uC2E4\uD589\uD558\uC138\uC694!
\uC774 \uD6D1\uC5B4\uBCF4\uAE30\uB294 \uC5EC\uB7EC\uBD84\uC774 \uAC1C\uBC1C\uC790, \uC77C\uBC18\uC0AC\uC6A9\uC790 \uC0C1\uAD00\uC5C6\uC774 \uC2DC\uC791\uD558\uB294 \uB370 \uB3C4\uC6C0\uC744 \uC8FC\uBA70, \uCD94\uB860\uC744 \uC704\uD574 `),Je=i(bl,"CODE",{});var Xi=a(Je);Gl=f(Xi,"DiffusionPipeline"),Xi.forEach(l),xl=f(bl," \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95\uC744 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4."),bl.forEach(l),Vt=u(e),Ee=i(e,"P",{});var Ji=a(Ee);Nl=f(Ji,"\uC2DC\uC791\uD558\uAE30\uC5D0 \uC55E\uC11C\uC11C, \uD544\uC694\uD55C \uBAA8\uB4E0 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uAC00 \uC124\uCE58\uB418\uC5B4 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694:"),Ji.forEach(l),Bt=u(e),P(K.$$.fragment,e),Xt=u(e),R=i(e,"UL",{});var Tl=a(R);De=i(Tl,"LI",{});var Mi=a(De);W=i(Mi,"A",{href:!0,rel:!0});var Qi=a(W);Qe=i(Qi,"CODE",{});var Yi=a(Qe);Cl=f(Yi,"accelerate"),Yi.forEach(l),Qi.forEach(l),Ul=f(Mi,"\uC740 \uCD94\uB860 \uBC0F \uD559\uC2B5\uC744 \uC704\uD55C \uBAA8\uB378 \uBD88\uB7EC\uC624\uAE30 \uC18D\uB3C4\uB97C \uB192\uC785\uB2C8\uB2E4."),Mi.forEach(l),Ll=u(Tl),M=i(Tl,"LI",{});var Lt=a(M);Z=i(Lt,"A",{href:!0,rel:!0});var Fi=a(Z);Ye=i(Fi,"CODE",{});var Ki=a(Ye);Rl=f(Ki,"transformers"),Ki.forEach(l),Fi.forEach(l),Ml=f(Lt,"\uB294 "),ee=i(Lt,"A",{href:!0,rel:!0});var Wi=a(ee);zl=f(Wi,"Stable Diffusion"),Wi.forEach(l),Hl=f(Lt,"\uACFC \uAC19\uC774 \uAC00\uC7A5 \uB110\uB9AC \uC0AC\uC6A9\uB418\uB294 \uD655\uC0B0 \uBAA8\uB378\uC744 \uC2E4\uD589\uD558\uAE30 \uC704\uD574 \uD544\uC694\uD569\uB2C8\uB2E4."),Lt.forEach(l),Tl.forEach(l),Jt=u(e),A=i(e,"H2",{class:!0});var wl=a(A);z=i(wl,"A",{id:!0,class:!0,href:!0});var Zi=a(z);Fe=i(Zi,"SPAN",{});var ea=a(Fe);P(te.$$.fragment,ea),ea.forEach(l),Zi.forEach(l),Vl=u(wl),Ke=i(wl,"SPAN",{});var ta=a(Ke);Bl=f(ta,"DiffusionPipeline"),ta.forEach(l),wl.forEach(l),Qt=u(e),j=i(e,"P",{});var Rt=a(j);We=i(Rt,"CODE",{});var la=a(We);Xl=f(la,"DiffusionPipeline"),la.forEach(l),Jl=f(Rt,"\uC740 \uCD94\uB860\uC744 \uC704\uD574 \uC0AC\uC804\uD559\uC2B5\uB41C \uD655\uC0B0 \uC2DC\uC2A4\uD15C\uC744 \uC0AC\uC6A9\uD558\uB294 \uAC00\uC7A5 \uC26C\uC6B4 \uBC29\uBC95\uC785\uB2C8\uB2E4. \uB2E4\uC591\uD55C \uC591\uC2DD\uC758 \uB9CE\uC740 \uC791\uC5C5\uC5D0 "),Ze=i(Rt,"CODE",{});var sa=a(Ze);Ql=f(sa,"DiffusionPipeline"),sa.forEach(l),Yl=f(Rt,"\uC744 \uBC14\uB85C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC9C0\uC6D0\uB418\uB294 \uC791\uC5C5\uC740 \uC544\uB798\uC758 \uD45C\uB97C \uCC38\uACE0\uD558\uC138\uC694:"),Rt.forEach(l),Yt=u(e),H=i(e,"TABLE",{});var Sl=a(H);et=i(Sl,"THEAD",{});var ia=a(et);O=i(ia,"TR",{});var Me=a(O);tt=i(Me,"TH",{});var aa=a(tt);lt=i(aa,"STRONG",{});var ra=a(lt);Fl=f(ra,"Task"),ra.forEach(l),aa.forEach(l),Kl=u(Me),st=i(Me,"TH",{});var fa=a(st);it=i(fa,"STRONG",{});var oa=a(it);Wl=f(oa,"Description"),oa.forEach(l),fa.forEach(l),Zl=u(Me),at=i(Me,"TH",{});var na=a(at);rt=i(na,"STRONG",{});var pa=a(rt);es=f(pa,"Pipeline"),pa.forEach(l),na.forEach(l),Me.forEach(l),ia.forEach(l),ts=u(Sl),m=i(Sl,"TBODY",{});var E=a(m);I=i(E,"TR",{});var ze=a(I);ft=i(ze,"TD",{});var ua=a(ft);ls=f(ua,"Unconditional Image Generation"),ua.forEach(l),ss=u(ze),ot=i(ze,"TD",{});var da=a(ot);is=f(da,"\uAC00\uC6B0\uC2DC\uC548 \uB178\uC774\uC988\uC5D0\uC11C \uC774\uBBF8\uC9C0 \uC0DD\uC131"),da.forEach(l),as=u(ze),nt=i(ze,"TD",{});var ca=a(nt);$e=i(ca,"A",{href:!0});var ha=a($e);rs=f(ha,"unconditional_image_generation"),ha.forEach(l),ca.forEach(l),ze.forEach(l),fs=u(E),q=i(E,"TR",{});var He=a(q);pt=i(He,"TD",{});var ma=a(pt);os=f(ma,"Text-Guided Image Generation"),ma.forEach(l),ns=u(He),ut=i(He,"TD",{});var _a=a(ut);ps=f(_a,"\uD14D\uC2A4\uD2B8 \uD504\uB86C\uD504\uD2B8\uB85C \uC774\uBBF8\uC9C0 \uC0DD\uC131"),_a.forEach(l),us=u(He),dt=i(He,"TD",{});var va=a(dt);Pe=i(va,"A",{href:!0});var ga=a(Pe);ds=f(ga,"conditional_image_generation"),ga.forEach(l),va.forEach(l),He.forEach(l),cs=u(E),k=i(E,"TR",{});var Ve=a(k);ct=i(Ve,"TD",{});var Ea=a(ct);hs=f(Ea,"Text-Guided Image-to-Image Translation"),Ea.forEach(l),ms=u(Ve),ht=i(Ve,"TD",{});var Da=a(ht);_s=f(Da,"\uD14D\uC2A4\uD2B8 \uD504\uB86C\uD504\uD2B8\uC5D0 \uB530\uB77C \uC774\uBBF8\uC9C0 \uC870\uC815"),Da.forEach(l),vs=u(Ve),mt=i(Ve,"TD",{});var $a=a(mt);be=i($a,"A",{href:!0});var Pa=a(be);gs=f(Pa,"img2img"),Pa.forEach(l),$a.forEach(l),Ve.forEach(l),Es=u(E),G=i(E,"TR",{});var Be=a(G);_t=i(Be,"TD",{});var ba=a(_t);Ds=f(ba,"Text-Guided Image-Inpainting"),ba.forEach(l),$s=u(Be),vt=i(Be,"TD",{});var Ta=a(vt);Ps=f(Ta,"\uB9C8\uC2A4\uD06C \uBC0F \uD14D\uC2A4\uD2B8 \uD504\uB86C\uD504\uD2B8\uAC00 \uC8FC\uC5B4\uC9C4 \uC774\uBBF8\uC9C0\uC758 \uB9C8\uC2A4\uD0B9\uB41C \uBD80\uBD84\uC744 \uCC44\uC6B0\uAE30"),Ta.forEach(l),bs=u(Be),gt=i(Be,"TD",{});var wa=a(gt);Te=i(wa,"A",{href:!0});var Sa=a(Te);Ts=f(Sa,"inpaint"),Sa.forEach(l),wa.forEach(l),Be.forEach(l),ws=u(E),x=i(E,"TR",{});var Xe=a(x);Et=i(Xe,"TD",{});var ya=a(Et);Ss=f(ya,"Text-Guided Depth-to-Image Translation"),ya.forEach(l),ys=u(Xe),Dt=i(Xe,"TD",{});var Aa=a(Dt);As=f(Aa,"\uAE4A\uC774 \uCD94\uC815\uC744 \uD1B5\uD574 \uAD6C\uC870\uB97C \uC720\uC9C0\uD558\uBA74\uC11C \uD14D\uC2A4\uD2B8 \uD504\uB86C\uD504\uD2B8\uC5D0 \uB530\uB77C \uC774\uBBF8\uC9C0\uC758 \uC77C\uBD80\uB97C \uC870\uC815"),Aa.forEach(l),js=u(Xe),$t=i(Xe,"TD",{});var ja=a($t);we=i(ja,"A",{href:!0});var Oa=a(we);Os=f(Oa,"depth2image"),Oa.forEach(l),ja.forEach(l),Xe.forEach(l),E.forEach(l),Sl.forEach(l),Ft=u(e),V=i(e,"P",{});var yl=a(V);Is=f(yl,"\uD655\uC0B0 \uD30C\uC774\uD504\uB77C\uC778\uC774 \uB2E4\uC591\uD55C \uC791\uC5C5\uC5D0 \uB300\uD574 \uC5B4\uB5BB\uAC8C \uC791\uB3D9\uD558\uB294\uC9C0\uB294 "),Se=i(yl,"A",{href:!0});var Ia=a(Se);Pt=i(Ia,"STRONG",{});var qa=a(Pt);qs=f(qa,"Using Diffusers"),qa.forEach(l),Ia.forEach(l),ks=f(yl,"\uB97C \uCC38\uACE0\uD558\uC138\uC694."),yl.forEach(l),Kt=u(e),c=i(e,"P",{});var g=a(c);Gs=f(g,"\uC608\uB97C\uB4E4\uC5B4, "),bt=i(g,"CODE",{});var ka=a(bt);xs=f(ka,"DiffusionPipeline"),ka.forEach(l),Ns=f(g,` \uC778\uC2A4\uD134\uC2A4\uB97C \uC0DD\uC131\uD558\uC5EC \uC2DC\uC791\uD558\uACE0, \uB2E4\uC6B4\uB85C\uB4DC\uD558\uB824\uB294 \uD30C\uC774\uD504\uB77C\uC778 \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C \uC9C0\uC815\uD569\uB2C8\uB2E4.
\uBAA8\uB4E0 `),le=i(g,"A",{href:!0,rel:!0});var Ga=a(le);Cs=f(Ga,"Diffusers\u2019 checkpoint"),Ga.forEach(l),Us=f(g,"\uC5D0 \uB300\uD574 "),Tt=i(g,"CODE",{});var xa=a(Tt);Ls=f(xa,"DiffusionPipeline"),xa.forEach(l),Rs=f(g,`\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
\uD558\uC9C0\uB9CC, \uC774 \uAC00\uC774\uB4DC\uC5D0\uC11C\uB294 `),se=i(g,"A",{href:!0,rel:!0});var Na=a(se);Ms=f(Na,"Stable Diffusion"),Na.forEach(l),zs=f(g,"\uC744 \uC0AC\uC6A9\uD558\uC5EC text-to-image\uB97C \uD558\uB294\uB370 "),wt=i(g,"CODE",{});var Ca=a(wt);Hs=f(Ca,"DiffusionPipeline"),Ca.forEach(l),Vs=f(g,"\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4."),g.forEach(l),Wt=u(e),_=i(e,"P",{});var C=a(_);ie=i(C,"A",{href:!0,rel:!0});var Ua=a(ie);Bs=f(Ua,"Stable Diffusion"),Ua.forEach(l),Xs=f(C," \uAE30\uBC18 \uBAA8\uB378\uC744 \uC2E4\uD589\uD558\uAE30 \uC804\uC5D0 "),ae=i(C,"A",{href:!0,rel:!0});var La=a(ae);Js=f(La,"license"),La.forEach(l),Qs=f(C,`\uB97C \uC8FC\uC758 \uAE4A\uAC8C \uC77D\uC73C\uC138\uC694.
\uC774\uB294 \uBAA8\uB378\uC758 \uD5A5\uC0C1\uB41C \uC774\uBBF8\uC9C0 \uC0DD\uC131 \uAE30\uB2A5\uACFC \uC774\uAC83\uC73C\uB85C \uC0DD\uC131\uB420 \uC218 \uC788\uB294 \uC720\uD574\uD55C \uCF58\uD150\uCE20 \uB54C\uBB38\uC785\uB2C8\uB2E4. \uC120\uD0DD\uD55C Stable Diffusion \uBAA8\uB378(`),St=i(C,"EM",{});var Ra=a(St);Ys=f(Ra,"\uC608"),Ra.forEach(l),Fs=f(C,": "),re=i(C,"A",{href:!0,rel:!0});var Ma=a(re);yt=i(Ma,"CODE",{});var za=a(yt);Ks=f(za,"runwayml/stable-diffusion-v1-5"),za.forEach(l),Ma.forEach(l),Ws=f(C,")\uB85C \uC774\uB3D9\uD558\uC5EC \uB77C\uC774\uC13C\uC2A4\uB97C \uC77D\uC73C\uC138\uC694."),C.forEach(l),Zt=u(e),ye=i(e,"P",{});var Ha=a(ye);Zs=f(Ha,"\uB2E4\uC74C\uACFC \uAC19\uC774 \uBAA8\uB378\uC744 \uB85C\uB4DC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),Ha.forEach(l),el=u(e),P(fe.$$.fragment,e),tl=u(e),oe=i(e,"P",{});var zi=a(oe);At=i(zi,"CODE",{});var Va=a(At);ei=f(Va,"DiffusionPipeline"),Va.forEach(l),ti=f(zi,`\uC740 \uBAA8\uB4E0 \uBAA8\uB378\uB9C1, \uD1A0\uD070\uD654 \uBC0F \uC2A4\uCF00\uC904\uB9C1 \uAD6C\uC131\uC694\uC18C\uB97C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uACE0 \uCE90\uC2DC\uD569\uB2C8\uB2E4.
\uBAA8\uB378\uC740 \uC57D 14\uC5B5\uAC1C\uC758 \uB9E4\uAC1C\uBCC0\uC218\uB85C \uAD6C\uC131\uB418\uC5B4 \uC788\uC73C\uBBC0\uB85C GPU\uC5D0\uC11C \uC2E4\uD589\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4.
PyTorch\uC5D0\uC11C\uC640 \uB9C8\uCC2C\uAC00\uC9C0\uB85C \uC0DD\uC131\uAE30 \uAC1D\uCCB4\uB97C GPU\uB85C \uC62E\uAE38 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`),zi.forEach(l),ll=u(e),P(ne.$$.fragment,e),sl=u(e),B=i(e,"P",{});var Al=a(B);li=f(Al,"\uC774\uC81C "),jt=i(Al,"CODE",{});var Ba=a(jt);si=f(Ba,"pipeline"),Ba.forEach(l),ii=f(Al,"\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),Al.forEach(l),il=u(e),P(pe.$$.fragment,e),al=u(e),X=i(e,"P",{});var jl=a(X);ai=f(jl,"\uCD9C\uB825\uC740 \uAE30\uBCF8\uC801\uC73C\uB85C "),ue=i(jl,"A",{href:!0,rel:!0});var Xa=a(ue);ri=f(Xa,"PIL Image object"),Xa.forEach(l),fi=f(jl,"\uB85C \uB798\uD551\uB429\uB2C8\uB2E4."),jl.forEach(l),rl=u(e),Ae=i(e,"P",{});var Ja=a(Ae);oi=f(Ja,"\uB2E4\uC74C\uACFC \uAC19\uC774 \uD568\uC218\uB97C \uD638\uCD9C\uD558\uC5EC \uC774\uBBF8\uC9C0\uB97C \uC800\uC7A5\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),Ja.forEach(l),fl=u(e),P(de.$$.fragment,e),ol=u(e),ce=i(e,"P",{});var Hi=a(ce);Ot=i(Hi,"STRONG",{});var Qa=a(Ot);ni=f(Qa,"\uCC38\uACE0"),Qa.forEach(l),pi=f(Hi,": \uB2E4\uC74C\uC744 \uD1B5\uD574 \uAC00\uC911\uCE58\uB97C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uC5EC \uB85C\uCEEC\uC5D0\uC11C \uD30C\uC774\uD504\uB77C\uC778\uC744 \uC0AC\uC6A9\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4:"),Hi.forEach(l),nl=u(e),P(he.$$.fragment,e),pl=u(e),je=i(e,"P",{});var Ya=a(je);ui=f(Ya,"\uADF8\uB9AC\uACE0 \uC800\uC7A5\uB41C \uAC00\uC911\uCE58\uB97C \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uBD88\uB7EC\uC635\uB2C8\uB2E4."),Ya.forEach(l),ul=u(e),P(me.$$.fragment,e),dl=u(e),Oe=i(e,"P",{});var Fa=a(Oe);di=f(Fa,"\uD30C\uC774\uD504\uB77C\uC778 \uC2E4\uD589\uC740 \uB3D9\uC77C\uD55C \uBAA8\uB378 \uC544\uD0A4\uD14D\uCC98\uC774\uBBC0\uB85C \uC704\uC758 \uCF54\uB4DC\uC640 \uB3D9\uC77C\uD569\uB2C8\uB2E4."),Fa.forEach(l),cl=u(e),P(_e.$$.fragment,e),hl=u(e),h=i(e,"P",{});var D=a(h);ci=f(D,"\uD655\uC0B0 \uC2DC\uC2A4\uD15C\uC740 \uAC01\uAC01 \uC7A5\uC810\uC774 \uC788\uB294 \uC5EC\uB7EC \uB2E4\uB978 "),Ie=i(D,"A",{href:!0});var Ka=a(Ie);hi=f(Ka,"schedulers"),Ka.forEach(l),mi=f(D,"\uC640 \uD568\uAED8 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uAE30\uBCF8\uC801\uC73C\uB85C Stable Diffusion\uC740 "),It=i(D,"CODE",{});var Wa=a(It);_i=f(Wa,"PNDMScheduler"),Wa.forEach(l),vi=f(D,"\uB85C \uC2E4\uD589\uB418\uC9C0\uB9CC \uB2E4\uB978 \uC2A4\uCF00\uC904\uB7EC\uB97C \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95\uC740 \uB9E4\uC6B0 \uAC04\uB2E8\uD569\uB2C8\uB2E4. "),qt=i(D,"EM",{});var Za=a(qt);gi=f(Za,"\uC608"),Za.forEach(l),Ei=u(D),kt=i(D,"CODE",{});var er=a(kt);Di=f(er,"EulerDiscreteScheduler"),er.forEach(l),$i=f(D," \uC2A4\uCF00\uC904\uB7EC\uB97C \uC0AC\uC6A9\uD558\uB824\uB294 \uACBD\uC6B0, \uB2E4\uC74C\uACFC \uAC19\uC774 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),D.forEach(l),ml=u(e),P(ve.$$.fragment,e),_l=u(e),J=i(e,"P",{});var Ol=a(J);Pi=f(Ol,"\uC2A4\uCF00\uC904\uB7EC \uBCC0\uACBD \uBC29\uBC95\uC5D0 \uB300\uD55C \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),qe=i(Ol,"A",{href:!0});var tr=a(qe);bi=f(tr,"Using Schedulers"),tr.forEach(l),Ti=f(Ol," \uAC00\uC774\uB4DC\uB97C \uCC38\uACE0\uD558\uC138\uC694."),Ol.forEach(l),vl=u(e),N=i(e,"P",{});var Mt=a(N);ge=i(Mt,"A",{href:!0,rel:!0});var lr=a(ge);wi=f(lr,"Stability AI\u2019s"),lr.forEach(l),Si=f(Mt,"\uC758 Stable Diffusion \uBAA8\uB378\uC740 \uC778\uC0C1\uC801\uC778 \uC774\uBBF8\uC9C0 \uC0DD\uC131 \uBAA8\uB378\uC774\uBA70 \uD14D\uC2A4\uD2B8\uC5D0\uC11C \uC774\uBBF8\uC9C0\uB97C \uC0DD\uC131\uD558\uB294 \uAC83\uBCF4\uB2E4 \uD6E8\uC52C \uB354 \uB9CE\uC740 \uC791\uC5C5\uC744 \uC218\uD589\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC6B0\uB9AC\uB294 Stable Diffusion\uB9CC\uC744 \uC704\uD55C \uC804\uCCB4 \uBB38\uC11C \uD398\uC774\uC9C0\uB97C \uC81C\uACF5\uD569\uB2C8\uB2E4 "),ke=i(Mt,"A",{href:!0});var sr=a(ke);yi=f(sr,"link"),sr.forEach(l),Ai=f(Mt,"."),Mt.forEach(l),gl=u(e),Ge=i(e,"P",{});var ir=a(Ge);ji=f(ir,"\uB9CC\uC57D \uB354 \uC801\uC740 \uBA54\uBAA8\uB9AC, \uB354 \uB192\uC740 \uCD94\uB860 \uC18D\uB3C4, Mac\uACFC \uAC19\uC740 \uD2B9\uC815 \uD558\uB4DC\uC6E8\uC5B4 \uB610\uB294 ONNX \uB7F0\uD0C0\uC784\uC5D0\uC11C \uC2E4\uD589\uB418\uB3C4\uB85D Stable Diffusion\uC744 \uCD5C\uC801\uD654\uD558\uB294 \uBC29\uBC95\uC744 \uC54C\uACE0 \uC2F6\uB2E4\uBA74 \uCD5C\uC801\uD654 \uD398\uC774\uC9C0\uB97C \uC0B4\uD3B4\uBCF4\uC138\uC694:"),ir.forEach(l),El=u(e),v=i(e,"UL",{});var Y=a(v);Gt=i(Y,"LI",{});var ar=a(Gt);xe=i(ar,"A",{href:!0});var rr=a(xe);Oi=f(rr,"Optimized PyTorch on GPU"),rr.forEach(l),ar.forEach(l),Ii=u(Y),xt=i(Y,"LI",{});var fr=a(xt);Ne=i(fr,"A",{href:!0});var or=a(Ne);qi=f(or,"Mac OS with PyTorch"),or.forEach(l),fr.forEach(l),ki=u(Y),Nt=i(Y,"LI",{});var nr=a(Nt);Ce=i(nr,"A",{href:!0});var pr=a(Ce);Gi=f(pr,"ONNX"),pr.forEach(l),nr.forEach(l),xi=u(Y),Ct=i(Y,"LI",{});var ur=a(Ct);Ue=i(ur,"A",{href:!0});var dr=a(Ue);Ni=f(dr,"OpenVINO"),dr.forEach(l),ur.forEach(l),Y.forEach(l),Dl=u(e),Q=i(e,"P",{});var Il=a(Q);Ci=f(Il,"\uD655\uC0B0 \uBAA8\uB378\uC744 \uBBF8\uC138\uC870\uC815\uD558\uAC70\uB098 \uD559\uC2B5\uC2DC\uD0A4\uB824\uBA74, "),Le=i(Il,"A",{href:!0});var cr=a(Le);Ut=i(cr,"STRONG",{});var hr=a(Ut);Ui=f(hr,"training section"),hr.forEach(l),cr.forEach(l),Li=f(Il,"\uC744 \uC0B4\uD3B4\uBCF4\uC138\uC694."),Il.forEach(l),$l=u(e),Re=i(e,"P",{});var mr=a(Re);Ri=f(mr,"\uB9C8\uC9C0\uB9C9\uC73C\uB85C, \uC0DD\uC131\uB41C \uC774\uBBF8\uC9C0\uB97C \uACF5\uAC1C\uC801\uC73C\uB85C \uBC30\uD3EC\uD560 \uB54C \uC2E0\uC911\uC744 \uAE30\uD574 \uC8FC\uC138\uC694 \u{1F917}."),mr.forEach(l),this.h()},h(){d(y,"name","hf:doc:metadata"),d(y,"content",JSON.stringify(Tr)),d(F,"id",""),d(W,"href","https://huggingface.co/docs/accelerate/index"),d(W,"rel","nofollow"),d(Z,"href","https://huggingface.co/docs/transformers/index"),d(Z,"rel","nofollow"),d(ee,"href","https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion/overview"),d(ee,"rel","nofollow"),d(z,"id","diffusionpipeline"),d(z,"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(z,"href","#diffusionpipeline"),d(A,"class","relative group"),d($e,"href","./using-diffusers/unconditional_image_generation%60"),d(Pe,"href","./using-diffusers/conditional_image_generation"),d(be,"href","./using-diffusers/img2img"),d(Te,"href","./using-diffusers/inpaint"),d(we,"href","./using-diffusers/depth2image"),d(Se,"href","./using-diffusers/overview"),d(le,"href","https://huggingface.co/models?library=diffusers&sort=downloads"),d(le,"rel","nofollow"),d(se,"href","https://huggingface.co/CompVis/stable-diffusion"),d(se,"rel","nofollow"),d(ie,"href","https://huggingface.co/CompVis/stable-diffusion"),d(ie,"rel","nofollow"),d(ae,"href","https://huggingface.co/spaces/CompVis/stable-diffusion-license"),d(ae,"rel","nofollow"),d(re,"href","https://huggingface.co/runwayml/stable-diffusion-v1-5"),d(re,"rel","nofollow"),d(ue,"href","https://pillow.readthedocs.io/en/stable/reference/Image.html?highlight=image#the-image-class"),d(ue,"rel","nofollow"),d(Ie,"href","./api/schedulers/overview"),d(qe,"href","./using-diffusers/schedulers"),d(ge,"href","https://stability.ai/"),d(ge,"rel","nofollow"),d(ke,"href","./conceptual/stable_diffusion"),d(xe,"href","./optimization/fp16"),d(Ne,"href","./optimization/mps"),d(Ce,"href","./optimization/onnx"),d(Ue,"href","./optimization/open_vino"),d(Le,"href","./training/overview")},m(e,o){t(document.head,y),n(e,zt,o),n(e,F,o),t(F,ql),n(e,Ht,o),n(e,L,o),t(L,kl),t(L,Je),t(Je,Gl),t(L,xl),n(e,Vt,o),n(e,Ee,o),t(Ee,Nl),n(e,Bt,o),b(K,e,o),n(e,Xt,o),n(e,R,o),t(R,De),t(De,W),t(W,Qe),t(Qe,Cl),t(De,Ul),t(R,Ll),t(R,M),t(M,Z),t(Z,Ye),t(Ye,Rl),t(M,Ml),t(M,ee),t(ee,zl),t(M,Hl),n(e,Jt,o),n(e,A,o),t(A,z),t(z,Fe),b(te,Fe,null),t(A,Vl),t(A,Ke),t(Ke,Bl),n(e,Qt,o),n(e,j,o),t(j,We),t(We,Xl),t(j,Jl),t(j,Ze),t(Ze,Ql),t(j,Yl),n(e,Yt,o),n(e,H,o),t(H,et),t(et,O),t(O,tt),t(tt,lt),t(lt,Fl),t(O,Kl),t(O,st),t(st,it),t(it,Wl),t(O,Zl),t(O,at),t(at,rt),t(rt,es),t(H,ts),t(H,m),t(m,I),t(I,ft),t(ft,ls),t(I,ss),t(I,ot),t(ot,is),t(I,as),t(I,nt),t(nt,$e),t($e,rs),t(m,fs),t(m,q),t(q,pt),t(pt,os),t(q,ns),t(q,ut),t(ut,ps),t(q,us),t(q,dt),t(dt,Pe),t(Pe,ds),t(m,cs),t(m,k),t(k,ct),t(ct,hs),t(k,ms),t(k,ht),t(ht,_s),t(k,vs),t(k,mt),t(mt,be),t(be,gs),t(m,Es),t(m,G),t(G,_t),t(_t,Ds),t(G,$s),t(G,vt),t(vt,Ps),t(G,bs),t(G,gt),t(gt,Te),t(Te,Ts),t(m,ws),t(m,x),t(x,Et),t(Et,Ss),t(x,ys),t(x,Dt),t(Dt,As),t(x,js),t(x,$t),t($t,we),t(we,Os),n(e,Ft,o),n(e,V,o),t(V,Is),t(V,Se),t(Se,Pt),t(Pt,qs),t(V,ks),n(e,Kt,o),n(e,c,o),t(c,Gs),t(c,bt),t(bt,xs),t(c,Ns),t(c,le),t(le,Cs),t(c,Us),t(c,Tt),t(Tt,Ls),t(c,Rs),t(c,se),t(se,Ms),t(c,zs),t(c,wt),t(wt,Hs),t(c,Vs),n(e,Wt,o),n(e,_,o),t(_,ie),t(ie,Bs),t(_,Xs),t(_,ae),t(ae,Js),t(_,Qs),t(_,St),t(St,Ys),t(_,Fs),t(_,re),t(re,yt),t(yt,Ks),t(_,Ws),n(e,Zt,o),n(e,ye,o),t(ye,Zs),n(e,el,o),b(fe,e,o),n(e,tl,o),n(e,oe,o),t(oe,At),t(At,ei),t(oe,ti),n(e,ll,o),b(ne,e,o),n(e,sl,o),n(e,B,o),t(B,li),t(B,jt),t(jt,si),t(B,ii),n(e,il,o),b(pe,e,o),n(e,al,o),n(e,X,o),t(X,ai),t(X,ue),t(ue,ri),t(X,fi),n(e,rl,o),n(e,Ae,o),t(Ae,oi),n(e,fl,o),b(de,e,o),n(e,ol,o),n(e,ce,o),t(ce,Ot),t(Ot,ni),t(ce,pi),n(e,nl,o),b(he,e,o),n(e,pl,o),n(e,je,o),t(je,ui),n(e,ul,o),b(me,e,o),n(e,dl,o),n(e,Oe,o),t(Oe,di),n(e,cl,o),b(_e,e,o),n(e,hl,o),n(e,h,o),t(h,ci),t(h,Ie),t(Ie,hi),t(h,mi),t(h,It),t(It,_i),t(h,vi),t(h,qt),t(qt,gi),t(h,Ei),t(h,kt),t(kt,Di),t(h,$i),n(e,ml,o),b(ve,e,o),n(e,_l,o),n(e,J,o),t(J,Pi),t(J,qe),t(qe,bi),t(J,Ti),n(e,vl,o),n(e,N,o),t(N,ge),t(ge,wi),t(N,Si),t(N,ke),t(ke,yi),t(N,Ai),n(e,gl,o),n(e,Ge,o),t(Ge,ji),n(e,El,o),n(e,v,o),t(v,Gt),t(Gt,xe),t(xe,Oi),t(v,Ii),t(v,xt),t(xt,Ne),t(Ne,qi),t(v,ki),t(v,Nt),t(Nt,Ce),t(Ce,Gi),t(v,xi),t(v,Ct),t(Ct,Ue),t(Ue,Ni),n(e,Dl,o),n(e,Q,o),t(Q,Ci),t(Q,Le),t(Le,Ut),t(Ut,Ui),t(Q,Li),n(e,$l,o),n(e,Re,o),t(Re,Ri),Pl=!0},p:Dr,i(e){Pl||(T(K.$$.fragment,e),T(te.$$.fragment,e),T(fe.$$.fragment,e),T(ne.$$.fragment,e),T(pe.$$.fragment,e),T(de.$$.fragment,e),T(he.$$.fragment,e),T(me.$$.fragment,e),T(_e.$$.fragment,e),T(ve.$$.fragment,e),Pl=!0)},o(e){w(K.$$.fragment,e),w(te.$$.fragment,e),w(fe.$$.fragment,e),w(ne.$$.fragment,e),w(pe.$$.fragment,e),w(de.$$.fragment,e),w(he.$$.fragment,e),w(me.$$.fragment,e),w(_e.$$.fragment,e),w(ve.$$.fragment,e),Pl=!1},d(e){l(y),e&&l(zt),e&&l(F),e&&l(Ht),e&&l(L),e&&l(Vt),e&&l(Ee),e&&l(Bt),S(K,e),e&&l(Xt),e&&l(R),e&&l(Jt),e&&l(A),S(te),e&&l(Qt),e&&l(j),e&&l(Yt),e&&l(H),e&&l(Ft),e&&l(V),e&&l(Kt),e&&l(c),e&&l(Wt),e&&l(_),e&&l(Zt),e&&l(ye),e&&l(el),S(fe,e),e&&l(tl),e&&l(oe),e&&l(ll),S(ne,e),e&&l(sl),e&&l(B),e&&l(il),S(pe,e),e&&l(al),e&&l(X),e&&l(rl),e&&l(Ae),e&&l(fl),S(de,e),e&&l(ol),e&&l(ce),e&&l(nl),S(he,e),e&&l(pl),e&&l(je),e&&l(ul),S(me,e),e&&l(dl),e&&l(Oe),e&&l(cl),S(_e,e),e&&l(hl),e&&l(h),e&&l(ml),S(ve,e),e&&l(_l),e&&l(J),e&&l(vl),e&&l(N),e&&l(gl),e&&l(Ge),e&&l(El),e&&l(v),e&&l(Dl),e&&l(Q),e&&l($l),e&&l(Re)}}}const Tr={local:"",sections:[{local:"diffusionpipeline",title:"DiffusionPipeline"}],title:"\uD6D1\uC5B4\uBCF4\uAE30"};function wr(Vi){return $r(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class jr extends _r{constructor(y){super();vr(this,y,wr,br,gr,{})}}export{jr as default,Tr as metadata};
