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