import{S as Kf,i as ep,s as lp,e as r,k as c,w as m,t as o,M as tp,c as a,d as t,m as h,a as i,x as v,h as s,b as n,G as l,g as p,y as M,q as y,o as _,B as b,v as op}from"../../chunks/vendor-hf-doc-builder.js";import{T as sp}from"../../chunks/Tip-hf-doc-builder.js";import{I as te}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as Ce}from"../../chunks/CodeBlock-hf-doc-builder.js";function rp(Dt){let u,oe,E,k,Y,$,$e,F;return{c(){u=r("p"),oe=o("PyTorch\uC5D0 \uB0B4\uC7A5\uB41C "),E=r("code"),k=o("mps"),Y=o(" \uAC00\uC18D\uAE30\uB97C \uC0AC\uC6A9\uD558\uC5EC Apple Silicon Macs\uC5D0\uC11C "),$=r("code"),$e=o("diffusers"),F=o(" Python \uCF54\uB4DC\uBCA0\uC774\uC2A4\uB97C \uC2E4\uD589\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4. \uC774 \uBC29\uBC95\uC740 [mps \uAC00\uC774\uB4DC]\uC5D0 \uC790\uC138\uD788 \uC124\uBA85\uB418\uC5B4 \uC788\uC9C0\uB9CC \uB124\uC774\uD2F0\uBE0C \uC571\uACFC \uD638\uD658\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.")},l(O){u=a(O,"P",{});var J=i(u);oe=s(J,"PyTorch\uC5D0 \uB0B4\uC7A5\uB41C "),E=a(J,"CODE",{});var T=i(E);k=s(T,"mps"),T.forEach(t),Y=s(J," \uAC00\uC18D\uAE30\uB97C \uC0AC\uC6A9\uD558\uC5EC Apple Silicon Macs\uC5D0\uC11C "),$=a(J,"CODE",{});var L=i($);$e=s(L,"diffusers"),L.forEach(t),F=s(J," Python \uCF54\uB4DC\uBCA0\uC774\uC2A4\uB97C \uC2E4\uD589\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4. \uC774 \uBC29\uBC95\uC740 [mps \uAC00\uC774\uB4DC]\uC5D0 \uC790\uC138\uD788 \uC124\uBA85\uB418\uC5B4 \uC788\uC9C0\uB9CC \uB124\uC774\uD2F0\uBE0C \uC571\uACFC \uD638\uD658\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."),J.forEach(t)},m(O,J){p(O,u,J),l(u,oe),l(u,E),l(E,k),l(u,Y),l(u,$),l($,$e),l(u,F)},d(O){O&&t(u)}}}function ap(Dt){let u,oe,E,k,Y,$,$e,F,O,J,T,L,zo,Ko,Zt,ul,es,Bt,se,Xt,V,re,Nl,Je,ls,Gl,ts,Wt,dl,os,It,D,ss,Tl,rs,as,Pe,is,fs,gt,ml,ps,Rt,Z,vl,Se,ns,cs,hs,Ml,Ae,us,ds,ms,je,vs,ke,Ms,ys,Yt,ae,_s,Ne,bs,ws,Ft,Q,ie,Ll,Ge,Es,Dl,Us,Ot,yl,Cs,Vt,fe,Te,Zl,$s,Js,Le,pe,Bl,Ps,Ss,De,As,js,ks,P,Ns,Xl,Gs,Ts,Wl,Ls,Ds,Ze,Zs,Bs,Be,Xs,Ws,Is,Xe,Il,gs,Rs,We,_l,gl,Ys,Fs,Os,S,Vs,Rl,Qs,qs,Yl,xs,Hs,ne,Fl,zs,Ks,er,Ol,lr,tr,Qt,ce,or,Ie,sr,rr,qt,ge,xt,bl,ar,Ht,q,he,Vl,Re,ir,Ql,fr,zt,wl,pr,Kt,Ye,eo,Fe,nr,lo,A,ql,cr,hr,xl,ur,dr,Hl,mr,vr,zl,Mr,yr,to,El,_r,oo,Oe,so,x,ue,Kl,Ve,br,et,wr,ro,Ul,Er,ao,Qe,io,w,lt,Ur,Cr,tt,$r,Jr,ot,Pr,Sr,st,Ar,jr,rt,kr,Nr,at,Gr,Tr,fo,N,Lr,it,Dr,Zr,ft,Br,Xr,pt,Wr,Ir,po,de,gr,qe,nt,Rr,Yr,no,xe,co,H,me,ct,He,Fr,ht,Or,ho,ve,Vr,ut,Qr,qr,uo,ze,xr,mo,B,Hr,dt,zr,Kr,mt,ea,la,vo,Ke,Mo,z,Me,vt,el,ta,Mt,oa,yo,Cl,sa,_o,ll,bo,ye,ra,tl,aa,ia,wo,ol,Eo,d,yt,fa,pa,_t,na,ca,bt,ha,ua,wt,da,ma,Et,va,Ma,Ut,ya,_a,Ct,ba,wa,Uo,_e,Ea,sl,Ua,Ca,Co,K,be,$t,rl,$a,Jt,Ja,$o,$l,Pa,Jo,X,Pt,Sa,Aa,G,ja,St,ka,Na,At,Ga,Ta,jt,La,Da,Za,kt,Ba,Po,W,Xa,al,Wa,Ia,il,ga,Ra,So,Jl,Ya,Ao,ee,we,Nt,fl,Fa,Gt,Oa,jo,C,Va,Tt,Qa,qa,pl,xa,Ha,nl,za,Ka,cl,ei,li,ko;return $=new te({}),se=new sp({props:{$$slots:{default:[rp]},$$scope:{ctx:Dt}}}),Je=new te({}),Ge=new te({}),ge=new Ce({props:{code:"Y29yZW1sLXN0YWJsZS1kaWZmdXNpb24tdjEtNCUwQSVFMiU5NCU5QyVFMiU5NCU4MCVFMiU5NCU4MCUyMFJFQURNRS5tZCUwQSVFMiU5NCU5QyVFMiU5NCU4MCVFMiU5NCU4MCUyMG9yaWdpbmFsJTBBJUUyJTk0JTgyJTIwJTIwJTIwJUUyJTk0JTlDJUUyJTk0JTgwJUUyJTk0JTgwJTIwY29tcGlsZWQlMEElRTIlOTQlODIlMjAlMjAlMjAlRTIlOTQlOTQlRTIlOTQlODAlRTIlOTQlODAlMjBwYWNrYWdlcyUwQSVFMiU5NCU5NCVFMiU5NCU4MCVFMiU5NCU4MCUyMHNwbGl0X2VpbnN1bSUwQSUyMCUyMCUyMCUyMCVFMiU5NCU5QyVFMiU5NCU4MCVFMiU5NCU4MCUyMGNvbXBpbGVkJTBBJTIwJTIwJTIwJTIwJUUyJTk0JTk0JUUyJTk0JTgwJUUyJTk0JTgwJTIwcGFja2FnZXM=",highlighted:`coreml-stable-<span class="hljs-keyword">diffusion-v1-4
</span>\u251C\u2500\u2500 README.md
\u251C\u2500\u2500 <span class="hljs-keyword">original
</span>\u2502   \u251C\u2500\u2500 compiled
\u2502   \u2514\u2500\u2500 packages
\u2514\u2500\u2500 split_einsum
    \u251C\u2500\u2500 compiled
    \u2514\u2500\u2500 packages`}}),Re=new te({}),Ye=new Ce({props:{code:"cGlwJTIwaW5zdGFsbCUyMGh1Z2dpbmdmYWNlX2h1YiUwQXBpcCUyMGluc3RhbGwlMjBnaXQlMkJodHRwcyUzQSUyRiUyRmdpdGh1Yi5jb20lMkZhcHBsZSUyRm1sLXN0YWJsZS1kaWZmdXNpb24=",highlighted:`pip install huggingface_hub
pip install git+https://github.com/apple/ml-stable-diffusion`}}),Oe=new Ce({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHNuYXBzaG90X2Rvd25sb2FkJTBBZnJvbSUyMHBhdGhsaWIlMjBpbXBvcnQlMjBQYXRoJTBBJTBBcmVwb19pZCUyMCUzRCUyMCUyMmFwcGxlJTJGY29yZW1sLXN0YWJsZS1kaWZmdXNpb24tdjEtNCUyMiUwQXZhcmlhbnQlMjAlM0QlMjAlMjJvcmlnaW5hbCUyRnBhY2thZ2VzJTIyJTBBJTBBbW9kZWxfcGF0aCUyMCUzRCUyMFBhdGgoJTIyLiUyRm1vZGVscyUyMiklMjAlMkYlMjAocmVwb19pZC5zcGxpdCglMjIlMkYlMjIpJTVCLTElNUQlMjAlMkIlMjAlMjJfJTIyJTIwJTJCJTIwdmFyaWFudC5yZXBsYWNlKCUyMiUyRiUyMiUyQyUyMCUyMl8lMjIpKSUwQXNuYXBzaG90X2Rvd25sb2FkKHJlcG9faWQlMkMlMjBhbGxvd19wYXR0ZXJucyUzRGYlMjIlN0J2YXJpYW50JTdEJTJGKiUyMiUyQyUyMGxvY2FsX2RpciUzRG1vZGVsX3BhdGglMkMlMjBsb2NhbF9kaXJfdXNlX3N5bWxpbmtzJTNERmFsc2UpJTBBcHJpbnQoZiUyMk1vZGVsJTIwZG93bmxvYWRlZCUyMGF0JTIwJTdCbW9kZWxfcGF0aCU3RCUyMik=",highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> snapshot_download
<span class="hljs-keyword">from</span> pathlib <span class="hljs-keyword">import</span> Path

repo_id = <span class="hljs-string">&quot;apple/coreml-stable-diffusion-v1-4&quot;</span>
variant = <span class="hljs-string">&quot;original/packages&quot;</span>

model_path = Path(<span class="hljs-string">&quot;./models&quot;</span>) / (repo_id.split(<span class="hljs-string">&quot;/&quot;</span>)[-<span class="hljs-number">1</span>] + <span class="hljs-string">&quot;_&quot;</span> + variant.replace(<span class="hljs-string">&quot;/&quot;</span>, <span class="hljs-string">&quot;_&quot;</span>))
snapshot_download(repo_id, allow_patterns=<span class="hljs-string">f&quot;<span class="hljs-subst">{variant}</span>/*&quot;</span>, local_dir=model_path, local_dir_use_symlinks=<span class="hljs-literal">False</span>)
<span class="hljs-built_in">print</span>(<span class="hljs-string">f&quot;Model downloaded at <span class="hljs-subst">{model_path}</span>&quot;</span>)`}}),Ve=new te({}),Qe=new Ce({props:{code:"cHl0aG9uJTIwLW0lMjBweXRob25fY29yZW1sX3N0YWJsZV9kaWZmdXNpb24ucGlwZWxpbmUlMjAtLXByb21wdCUyMCUyMmElMjBwaG90byUyMG9mJTIwYW4lMjBhc3Ryb25hdXQlMjByaWRpbmclMjBhJTIwaG9yc2UlMjBvbiUyMG1hcnMlMjIlMjAtaSUyMG1vZGVscyUyRmNvcmVtbC1zdGFibGUtZGlmZnVzaW9uLXYxLTRfb3JpZ2luYWxfcGFja2FnZXMlMjAtbyUyMCUzQyUyRnBhdGglMkZ0byUyRm91dHB1dCUyRmltYWdlJTNFJTIwLS1jb21wdXRlLXVuaXQlMjBDUFVfQU5EX0dQVSUyMC0tc2VlZCUyMDkz",highlighted:"python -m python_coreml_stable_diffusion.pipeline --prompt &quot;a photo of an astronaut riding a horse on mars&quot; -i models/coreml-stable-diffusion-v1-4_original_packages -o &lt;/path/to/output/image&gt; --compute-unit CPU_AND_GPU --seed 93"}}),xe=new Ce({props:{code:"cHl0aG9uJTIwLW0lMjBweXRob25fY29yZW1sX3N0YWJsZV9kaWZmdXNpb24ucGlwZWxpbmUlMjAtLXByb21wdCUyMCUyMmElMjBwaG90byUyMG9mJTIwYW4lMjBhc3Ryb25hdXQlMjByaWRpbmclMjBhJTIwaG9yc2UlMjBvbiUyMG1hcnMlMjIlMjAtLWNvbXB1dGUtdW5pdCUyMEFMTCUyMC1vJTIwb3V0cHV0JTIwLS1zZWVkJTIwOTMlMjAtaSUyMG1vZGVscyUyRmNvcmVtbC1zdGFibGUtZGlmZnVzaW9uLXYxLTVfb3JpZ2luYWxfcGFja2FnZXMlMjAtLW1vZGVsLXZlcnNpb24lMjBydW53YXltbCUyRnN0YWJsZS1kaWZmdXNpb24tdjEtNQ==",highlighted:"python -m python_coreml_stable_diffusion.pipeline --prompt &quot;a photo of an astronaut riding a horse on mars&quot; --compute-unit ALL -o output --seed 93 -i models/coreml-stable-diffusion-v1-5_original_packages --model-version runwayml/stable-diffusion-v1-5"}}),He=new te({}),Ke=new Ce({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHNuYXBzaG90X2Rvd25sb2FkJTBBZnJvbSUyMHBhdGhsaWIlMjBpbXBvcnQlMjBQYXRoJTBBJTBBcmVwb19pZCUyMCUzRCUyMCUyMmFwcGxlJTJGY29yZW1sLXN0YWJsZS1kaWZmdXNpb24tdjEtNCUyMiUwQXZhcmlhbnQlMjAlM0QlMjAlMjJvcmlnaW5hbCUyRmNvbXBpbGVkJTIyJTBBJTBBbW9kZWxfcGF0aCUyMCUzRCUyMFBhdGgoJTIyLiUyRm1vZGVscyUyMiklMjAlMkYlMjAocmVwb19pZC5zcGxpdCglMjIlMkYlMjIpJTVCLTElNUQlMjAlMkIlMjAlMjJfJTIyJTIwJTJCJTIwdmFyaWFudC5yZXBsYWNlKCUyMiUyRiUyMiUyQyUyMCUyMl8lMjIpKSUwQXNuYXBzaG90X2Rvd25sb2FkKHJlcG9faWQlMkMlMjBhbGxvd19wYXR0ZXJucyUzRGYlMjIlN0J2YXJpYW50JTdEJTJGKiUyMiUyQyUyMGxvY2FsX2RpciUzRG1vZGVsX3BhdGglMkMlMjBsb2NhbF9kaXJfdXNlX3N5bWxpbmtzJTNERmFsc2UpJTBBcHJpbnQoZiUyMk1vZGVsJTIwZG93bmxvYWRlZCUyMGF0JTIwJTdCbW9kZWxfcGF0aCU3RCUyMik=",highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> snapshot_download
<span class="hljs-keyword">from</span> pathlib <span class="hljs-keyword">import</span> Path

repo_id = <span class="hljs-string">&quot;apple/coreml-stable-diffusion-v1-4&quot;</span>
variant = <span class="hljs-string">&quot;original/compiled&quot;</span>

model_path = Path(<span class="hljs-string">&quot;./models&quot;</span>) / (repo_id.split(<span class="hljs-string">&quot;/&quot;</span>)[-<span class="hljs-number">1</span>] + <span class="hljs-string">&quot;_&quot;</span> + variant.replace(<span class="hljs-string">&quot;/&quot;</span>, <span class="hljs-string">&quot;_&quot;</span>))
snapshot_download(repo_id, allow_patterns=<span class="hljs-string">f&quot;<span class="hljs-subst">{variant}</span>/*&quot;</span>, local_dir=model_path, local_dir_use_symlinks=<span class="hljs-literal">False</span>)
<span class="hljs-built_in">print</span>(<span class="hljs-string">f&quot;Model downloaded at <span class="hljs-subst">{model_path}</span>&quot;</span>)`}}),el=new te({}),ll=new Ce({props:{code:"Z2l0JTIwY2xvbmUlMjBodHRwcyUzQSUyRiUyRmdpdGh1Yi5jb20lMkZhcHBsZSUyRm1sLXN0YWJsZS1kaWZmdXNpb24lMEFjZCUyMG1sLXN0YWJsZS1kaWZmdXNpb24=",highlighted:`git <span class="hljs-built_in">clone</span> https://github.com/apple/ml-stable-diffusion
<span class="hljs-built_in">cd</span> ml-stable-diffusion`}}),ol=new Ce({props:{code:"c3dpZnQlMjBydW4lMjBTdGFibGVEaWZmdXNpb25TYW1wbGUlMjAtLXJlc291cmNlLXBhdGglMjBtb2RlbHMlMkZjb3JlbWwtc3RhYmxlLWRpZmZ1c2lvbi12MS00X29yaWdpbmFsX2NvbXBpbGVkJTIwLS1jb21wdXRlLXVuaXRzJTIwYWxsJTIwJTIyYSUyMHBob3RvJTIwb2YlMjBhbiUyMGFzdHJvbmF1dCUyMHJpZGluZyUyMGElMjBob3JzZSUyMG9uJTIwbWFycyUyMg==",highlighted:'swift run StableDiffusionSample --resource-path models/coreml-stable-diffusion-v1-4_original_compiled --compute-units all <span class="hljs-string">&quot;a photo of an astronaut riding a horse on mars&quot;</span>'}}),rl=new te({}),fl=new te({}),{c(){u=r("meta"),oe=c(),E=r("h1"),k=r("a"),Y=r("span"),m($.$$.fragment),$e=c(),F=r("span"),O=o("Core ML\uB85C Stable Diffusion\uC744 \uC2E4\uD589\uD558\uB294 \uBC29\uBC95"),J=c(),T=r("p"),L=r("a"),zo=o("Core ML"),Ko=o("\uC740 Apple \uD504\uB808\uC784\uC6CC\uD06C\uC5D0\uC11C \uC9C0\uC6D0\uD558\uB294 \uBAA8\uB378 \uD615\uC2DD \uBC0F \uBA38\uC2E0 \uB7EC\uB2DD \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC785\uB2C8\uB2E4. macOS \uB610\uB294 iOS/iPadOS \uC571 \uB0B4\uC5D0\uC11C Stable Diffusion \uBAA8\uB378\uC744 \uC2E4\uD589\uD558\uB294 \uB370 \uAD00\uC2EC\uC774 \uC788\uB294 \uACBD\uC6B0, \uC774 \uAC00\uC774\uB4DC\uC5D0\uC11C\uB294 \uAE30\uC874 PyTorch \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C Core ML \uD615\uC2DD\uC73C\uB85C \uBCC0\uD658\uD558\uACE0 \uC774\uB97C Python \uB610\uB294 Swift\uB85C \uCD94\uB860\uC5D0 \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95\uC744 \uC124\uBA85\uD569\uB2C8\uB2E4."),Zt=c(),ul=r("p"),es=o("Core ML \uBAA8\uB378\uC740 Apple \uAE30\uAE30\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 \uBAA8\uB4E0 \uCEF4\uD4E8\uD305 \uC5D4\uC9C4\uB4E4, \uC989 CPU, GPU, Apple Neural Engine(\uB610\uB294 Apple Silicon Mac \uBC0F \uCD5C\uC2E0 iPhone/iPad\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 \uD150\uC11C \uCD5C\uC801\uD654 \uAC00\uC18D\uAE30\uC778 ANE)\uC744 \uD65C\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uBAA8\uB378\uACFC \uC2E4\uD589 \uC911\uC778 \uAE30\uAE30\uC5D0 \uB530\uB77C Core ML\uC740 \uCEF4\uD4E8\uD305 \uC5D4\uC9C4\uB3C4 \uD63C\uD569\uD558\uC5EC \uC0AC\uC6A9\uD560 \uC218 \uC788\uC73C\uBBC0\uB85C, \uC608\uB97C \uB4E4\uC5B4 \uBAA8\uB378\uC758 \uC77C\uBD80\uAC00 CPU\uC5D0\uC11C \uC2E4\uD589\uB418\uB294 \uBC18\uBA74 \uB2E4\uB978 \uBD80\uBD84\uC740 GPU\uC5D0\uC11C \uC2E4\uD589\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Bt=c(),m(se.$$.fragment),Xt=c(),V=r("h2"),re=r("a"),Nl=r("span"),m(Je.$$.fragment),ls=c(),Gl=r("span"),ts=o("Stable Diffusion Core ML \uCCB4\uD06C\uD3EC\uC778\uD2B8"),Wt=c(),dl=r("p"),os=o("Stable Diffusion \uAC00\uC911\uCE58(\uB610\uB294 \uCCB4\uD06C\uD3EC\uC778\uD2B8)\uB294 PyTorch \uD615\uC2DD\uC73C\uB85C \uC800\uC7A5\uB418\uAE30 \uB54C\uBB38\uC5D0 \uB124\uC774\uD2F0\uBE0C \uC571\uC5D0\uC11C \uC0AC\uC6A9\uD558\uAE30 \uC704\uD574\uC11C\uB294 Core ML \uD615\uC2DD\uC73C\uB85C \uBCC0\uD658\uD574\uC57C \uD569\uB2C8\uB2E4."),It=c(),D=r("p"),ss=o("\uB2E4\uD589\uD788\uB3C4 Apple \uC5D4\uC9C0\uB2C8\uC5B4\uB4E4\uC774 "),Tl=r("code"),rs=o("diffusers"),as=o("\uB97C \uAE30\uBC18\uC73C\uB85C \uD55C "),Pe=r("a"),is=o("\uBCC0\uD658 \uD234"),fs=o("\uC744 \uAC1C\uBC1C\uD558\uC5EC PyTorch \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C Core ML\uB85C \uBCC0\uD658\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),gt=c(),ml=r("p"),ps=o("\uBAA8\uB378\uC744 \uBCC0\uD658\uD558\uAE30 \uC804\uC5D0 \uC7A0\uC2DC \uC2DC\uAC04\uC744 \uB0B4\uC5B4 Hugging Face Hub\uB97C \uC0B4\uD3B4\uBCF4\uC138\uC694. \uAD00\uC2EC \uC788\uB294 \uBAA8\uB378\uC774 \uC774\uBBF8 Core ML \uD615\uC2DD\uC73C\uB85C \uC81C\uACF5\uB418\uACE0 \uC788\uC744 \uAC00\uB2A5\uC131\uC774 \uB192\uC2B5\uB2C8\uB2E4:"),Rt=c(),Z=r("ul"),vl=r("li"),Se=r("a"),ns=o("Apple"),cs=o(" organization\uC5D0\uB294 Stable Diffusion \uBC84\uC804 1.4, 1.5, 2.0 base \uBC0F 2.1 base\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),hs=c(),Ml=r("li"),Ae=r("a"),us=o("coreml"),ds=o(" organization\uC5D0\uB294 \uCEE4\uC2A4\uD140 DreamBooth\uAC00 \uC801\uC6A9\uB418\uAC70\uB098, \uD30C\uC778\uD29C\uB2DD\uB41C \uBAA8\uB378\uC774 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),ms=c(),je=r("li"),vs=o("\uC774 "),ke=r("a"),Ms=o("\uD544\uD130"),ys=o("\uB97C \uC0AC\uC6A9\uD558\uC5EC \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uBAA8\uB4E0 Core ML \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB4E4\uC744 \uBC18\uD658\uD569\uB2C8\uB2E4."),Yt=c(),ae=r("p"),_s=o("\uC6D0\uD558\uB294 \uBAA8\uB378\uC744 \uCC3E\uC744 \uC218 \uC5C6\uB294 \uACBD\uC6B0 Apple\uC758 "),Ne=r("a"),bs=o("\uBAA8\uB378\uC744 Core ML\uB85C \uBCC0\uD658\uD558\uAE30"),ws=o(" \uC9C0\uCE68\uC744 \uB530\uB974\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4."),Ft=c(),Q=r("h2"),ie=r("a"),Ll=r("span"),m(Ge.$$.fragment),Es=c(),Dl=r("span"),Us=o("\uC0AC\uC6A9\uD560 Core ML \uBCC0\uD615(Variant) \uC120\uD0DD\uD558\uAE30"),Ot=c(),yl=r("p"),Cs=o("Stable Diffusion \uBAA8\uB378\uC740 \uB2E4\uC591\uD55C \uBAA9\uC801\uC5D0 \uB530\uB77C \uB2E4\uB978 Core ML \uBCC0\uD615\uC73C\uB85C \uBCC0\uD658\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),Vt=c(),fe=r("ul"),Te=r("li"),Zl=r("p"),$s=o("\uC0AC\uC6A9\uB418\uB294 \uC5B4\uD150\uC158 \uBE14\uB85D \uC720\uD615. \uC5B4\uD150\uC158 \uC5F0\uC0B0\uC740 \uC774\uBBF8\uC9C0 \uD45C\uD604\uC758 \uC5EC\uB7EC \uC601\uC5ED \uAC04\uC758 \uAD00\uACC4\uC5D0 \u2018\uC8FC\uC758\uB97C \uAE30\uC6B8\uC774\uACE0\u2019 \uC774\uBBF8\uC9C0\uC640 \uD14D\uC2A4\uD2B8 \uD45C\uD604\uC774 \uC5B4\uB5BB\uAC8C \uC5F0\uAD00\uB418\uC5B4 \uC788\uB294\uC9C0 \uC774\uD574\uD558\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4. \uC5B4\uD150\uC158 \uC5F0\uC0B0\uC740 \uCEF4\uD4E8\uD305 \uBC0F \uBA54\uBAA8\uB9AC \uC9D1\uC57D\uC801\uC774\uBBC0\uB85C \uB2E4\uC591\uD55C \uC7A5\uCE58\uC758 \uD558\uB4DC\uC6E8\uC5B4 \uD2B9\uC131\uC744 \uACE0\uB824\uD55C \uB2E4\uC591\uD55C \uAD6C\uD604\uC774 \uC874\uC7AC\uD569\uB2C8\uB2E4. Core ML Stable Diffusion \uBAA8\uB378\uC758 \uACBD\uC6B0 \uB450 \uAC00\uC9C0 \uC8FC\uC758 \uBCC0\uD615\uC774 \uC788\uC2B5\uB2C8\uB2E4:"),Js=c(),Le=r("ul"),pe=r("li"),Bl=r("code"),Ps=o("split_einsum"),Ss=o(" ("),De=r("a"),As=o("Apple\uC5D0\uC11C \uB3C4\uC785"),js=o("\uC740 \uCD5C\uC2E0 iPhone, iPad \uBC0F M \uC2DC\uB9AC\uC988 \uCEF4\uD4E8\uD130\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 ANE \uC7A5\uCE58\uC5D0 \uCD5C\uC801\uD654\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),ks=c(),P=r("li"),Ns=o("\u201C\uC6D0\uBCF8\u201D \uC5B4\uD150\uC158("),Xl=r("code"),Gs=o("diffusers"),Ts=o("\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uAE30\uBCF8 \uAD6C\uD604)\uB294 CPU/GPU\uC640\uB9CC \uD638\uD658\uB418\uBA70 ANE\uC640\uB294 \uD638\uD658\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \u201C\uC6D0\uBCF8\u201D \uC5B4\uD150\uC158\uC744 \uC0AC\uC6A9\uD558\uC5EC CPU + GPU\uC5D0\uC11C \uBAA8\uB378\uC744 \uC2E4\uD589\uD558\uB294 \uAC83\uC774 ANE\uBCF4\uB2E4 "),Wl=r("em"),Ls=o("\uB354"),Ds=o(" \uBE60\uB97C \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),Ze=r("a"),Zs=o("\uC774 \uC131\uB2A5 \uBCA4\uCE58\uB9C8\uD06C"),Bs=o("\uC640 \uCEE4\uBBA4\uB2C8\uD2F0\uC5D0\uC11C \uC81C\uACF5\uD558\uB294 \uC77C\uBD80 "),Be=r("a"),Xs=o("\uCD94\uAC00 \uCE21\uC815"),Ws=o("\uC744 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624."),Is=c(),Xe=r("li"),Il=r("p"),gs=o("\uC9C0\uC6D0\uB418\uB294 \uCD94\uB860 \uD504\uB808\uC784\uC6CC\uD06C"),Rs=c(),We=r("ul"),_l=r("li"),gl=r("code"),Ys=o("packages"),Fs=o("\uB294 Python \uCD94\uB860\uC5D0 \uC801\uD569\uD569\uB2C8\uB2E4. \uB124\uC774\uD2F0\uBE0C \uC571\uC5D0 \uD1B5\uD569\uD558\uAE30 \uC804\uC5D0 \uBCC0\uD658\uB41C Core ML \uBAA8\uB378\uC744 \uD14C\uC2A4\uD2B8\uD558\uAC70\uB098, Core ML \uC131\uB2A5\uC744 \uC54C\uACE0 \uC2F6\uC9C0\uB9CC \uB124\uC774\uD2F0\uBE0C \uC571\uC744 \uC9C0\uC6D0\uD560 \uD544\uC694\uB294 \uC5C6\uB294 \uACBD\uC6B0\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC608\uB97C \uB4E4\uC5B4, \uC6F9 UI\uAC00 \uC788\uB294 \uC560\uD50C\uB9AC\uCF00\uC774\uC158\uC740 Python Core ML \uBC31\uC5D4\uB4DC\uB97C \uC644\uBCBD\uD558\uAC8C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Os=c(),S=r("li"),Vs=o("Swift \uCF54\uB4DC\uC5D0\uB294 "),Rl=r("code"),Qs=o("\uCEF4\uD30C\uC77C\uB41C"),qs=o(" \uBAA8\uB378\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. Hub\uC758 "),Yl=r("code"),xs=o("\uCEF4\uD30C\uC77C\uB41C"),Hs=o(" \uBAA8\uB378\uC740 iOS \uBC0F iPadOS \uAE30\uAE30\uC640\uC758 \uD638\uD658\uC131\uC744 \uC704\uD574 \uD070 UNet \uBAA8\uB378 \uAC00\uC911\uCE58\uB97C \uC5EC\uB7EC \uD30C\uC77C\uB85C \uBD84\uD560\uD569\uB2C8\uB2E4. \uC774\uB294 "),ne=r("a"),Fl=r("code"),zs=o("--chunk-unet"),Ks=o(" \uBCC0\uD658 \uC635\uC158"),er=o("\uC5D0 \uD574\uB2F9\uD569\uB2C8\uB2E4. \uB124\uC774\uD2F0\uBE0C \uC571\uC744 \uC9C0\uC6D0\uD558\uB824\uBA74 "),Ol=r("code"),lr=o("\uCEF4\uD30C\uC77C\uB41C"),tr=o(" \uBCC0\uD615\uC744 \uC120\uD0DD\uD574\uC57C \uD569\uB2C8\uB2E4."),Qt=c(),ce=r("p"),or=o("\uACF5\uC2DD Core ML Stable Diffusion "),Ie=r("a"),sr=o("\uBAA8\uB378"),rr=o("\uC5D0\uB294 \uC774\uB7EC\uD55C \uBCC0\uD615\uC774 \uD3EC\uD568\uB418\uC5B4 \uC788\uC9C0\uB9CC \uCEE4\uBBA4\uB2C8\uD2F0 \uBC84\uC804\uC740 \uB2E4\uB97C \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),qt=c(),m(ge.$$.fragment),xt=c(),bl=r("p"),ar=o("\uC544\uB798\uC640 \uAC19\uC774 \uD544\uC694\uD55C \uBCC0\uD615\uC744 \uB2E4\uC6B4\uB85C\uB4DC\uD558\uC5EC \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Ht=c(),q=r("h2"),he=r("a"),Vl=r("span"),m(Re.$$.fragment),ir=c(),Ql=r("span"),fr=o("Python\uC5D0\uC11C Core ML \uCD94\uB860"),zt=c(),wl=r("p"),pr=o("Python\uC5D0\uC11C Core ML \uCD94\uB860\uC744 \uC2E4\uD589\uD558\uB824\uBA74 \uB2E4\uC74C \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C \uC124\uCE58\uD558\uC138\uC694:"),Kt=c(),m(Ye.$$.fragment),eo=c(),Fe=r("h3"),nr=o("\uBAA8\uB378 \uCCB4\uD06C\uD3EC\uC778\uD2B8 \uB2E4\uC6B4\uB85C\uB4DC\uD558\uAE30"),lo=c(),A=r("p"),ql=r("code"),cr=o("\uCEF4\uD30C\uC77C\uB41C"),hr=o(" \uBC84\uC804\uC740 Swift\uC640\uB9CC \uD638\uD658\uB418\uBBC0\uB85C Python\uC5D0\uC11C \uCD94\uB860\uC744 \uC2E4\uD589\uD558\uB824\uBA74 "),xl=r("code"),ur=o("packages"),dr=o(" \uD3F4\uB354\uC5D0 \uC800\uC7A5\uB41C \uBC84\uC804 \uC911 \uD558\uB098\uB97C \uC0AC\uC6A9\uD558\uC138\uC694. "),Hl=r("code"),mr=o("\uC6D0\uBCF8"),vr=o(" \uB610\uB294 "),zl=r("code"),Mr=o("split_einsum"),yr=o(" \uC5B4\uD150\uC158 \uC911 \uC5B4\uB290 \uAC83\uC744 \uC0AC\uC6A9\uD560\uC9C0 \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),to=c(),El=r("p"),_r=o("\uB2E4\uC74C\uC740 Hub\uC5D0\uC11C \u2018models\u2019\uB77C\uB294 \uB514\uB809\uD1A0\uB9AC\uB85C \u2018original\u2019 \uC5B4\uD150\uC158 \uBCC0\uD615\uC744 \uB2E4\uC6B4\uB85C\uB4DC\uD558\uB294 \uBC29\uBC95\uC785\uB2C8\uB2E4:"),oo=c(),m(Oe.$$.fragment),so=c(),x=r("h3"),ue=r("a"),Kl=r("span"),m(Ve.$$.fragment),br=c(),et=r("span"),wr=o("\uCD94\uB860"),ro=c(),Ul=r("p"),Er=o("\uBAA8\uB378\uC758 snapshot\uC744 \uB2E4\uC6B4\uB85C\uB4DC\uD55C \uD6C4\uC5D0\uB294 Apple\uC758 Python \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC0AC\uC6A9\uD558\uC5EC \uD14C\uC2A4\uD2B8\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),ao=c(),m(Qe.$$.fragment),io=c(),w=r("p"),lt=r("code"),Ur=o("<output-mlpackages-directory>"),Cr=o("\uB294 \uC704 \uB2E8\uACC4\uC5D0\uC11C \uB2E4\uC6B4\uB85C\uB4DC\uD55C \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C \uAC00\uB9AC\uCF1C\uC57C \uD558\uBA70, "),tt=r("code"),$r=o("--compute-unit"),Jr=o("\uC740 \uCD94\uB860\uC744 \uD5C8\uC6A9\uD560 \uD558\uB4DC\uC6E8\uC5B4\uB97C \uB098\uD0C0\uB0C5\uB2C8\uB2E4. \uC774\uB294 \uB2E4\uC74C \uC635\uC158 \uC911 \uD558\uB098\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4: "),ot=r("code"),Pr=o("ALL"),Sr=o(", "),st=r("code"),Ar=o("CPU_AND_GPU"),jr=o(", "),rt=r("code"),kr=o("CPU_ONLY"),Nr=o(", "),at=r("code"),Gr=o("CPU_AND_NE"),Tr=o(". \uC120\uD0DD\uC801 \uCD9C\uB825 \uACBD\uB85C\uC640 \uC7AC\uD604\uC131\uC744 \uC704\uD55C \uC2DC\uB4DC\uB97C \uC81C\uACF5\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."),fo=c(),N=r("p"),Lr=o("\uCD94\uB860 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0\uC11C\uB294 Stable Diffusion \uBAA8\uB378\uC758 \uC6D0\uB798 \uBC84\uC804\uC778 "),it=r("code"),Dr=o("CompVis/stable-diffusion-v1-4"),Zr=o("\uB97C \uC0AC\uC6A9\uD55C\uB2E4\uACE0 \uAC00\uC815\uD569\uB2C8\uB2E4. \uB2E4\uB978 \uBAA8\uB378\uC744 \uC0AC\uC6A9\uD558\uB294 \uACBD\uC6B0 \uCD94\uB860 \uBA85\uB839\uC904\uC5D0\uC11C "),ft=r("code"),Br=o("--model-version"),Xr=o(" \uC635\uC158\uC744 \uC0AC\uC6A9\uD558\uC5EC \uD574\uB2F9 \uD5C8\uBE0C ID\uB97C "),pt=r("em"),Wr=o("\uC9C0\uC815"),Ir=o("\uD574\uC57C \uD569\uB2C8\uB2E4. \uC774\uB294 \uC774\uBBF8 \uC9C0\uC6D0\uB418\uB294 \uBAA8\uB378\uACFC \uC0AC\uC6A9\uC790\uAC00 \uC9C1\uC811 \uD559\uC2B5\uD558\uAC70\uB098 \uD30C\uC778\uD29C\uB2DD\uD55C \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uBAA8\uB378\uC5D0 \uC801\uC6A9\uB429\uB2C8\uB2E4."),po=c(),de=r("p"),gr=o("\uC608\uB97C \uB4E4\uC5B4, "),qe=r("a"),nt=r("code"),Rr=o("runwayml/stable-diffusion-v1-5"),Yr=o("\uB97C \uC0AC\uC6A9\uD558\uB824\uB294 \uACBD\uC6B0\uC785\uB2C8\uB2E4:"),no=c(),m(xe.$$.fragment),co=c(),H=r("h2"),me=r("a"),ct=r("span"),m(He.$$.fragment),Fr=c(),ht=r("span"),Or=o("Swift\uC5D0\uC11C Core ML \uCD94\uB860\uD558\uAE30"),ho=c(),ve=r("p"),Vr=o("Swift\uC5D0\uC11C \uCD94\uB860\uC744 \uC2E4\uD589\uD558\uB294 \uAC83\uC740 \uBAA8\uB378\uC774 \uC774\uBBF8 "),ut=r("code"),Qr=o("mlmodelc"),qr=o(" \uD615\uC2DD\uC73C\uB85C \uCEF4\uD30C\uC77C\uB418\uC5B4 \uC788\uAE30 \uB54C\uBB38\uC5D0 Python\uBCF4\uB2E4 \uC57D\uAC04 \uBE60\uB985\uB2C8\uB2E4. \uC774\uB294 \uC571\uC774 \uC2DC\uC791\uB420 \uB54C \uBAA8\uB378\uC774 \uBD88\uB7EC\uC640\uC9C0\uB294 \uAC83\uC774 \uB208\uC5D0 \uB744\uC9C0\uB9CC, \uC774\uD6C4 \uC5EC\uB7EC \uBC88 \uC2E4\uD589\uD558\uBA74 \uB208\uC5D0 \uB744\uC9C0 \uC54A\uC744 \uAC83\uC785\uB2C8\uB2E4."),uo=c(),ze=r("h3"),xr=o("\uB2E4\uC6B4\uB85C\uB4DC"),mo=c(),B=r("p"),Hr=o("Mac\uC5D0\uC11C Swift\uC5D0\uC11C \uCD94\uB860\uC744 \uC2E4\uD589\uD558\uB824\uBA74 "),dt=r("code"),zr=o("\uCEF4\uD30C\uC77C\uB41C"),Kr=o(" \uCCB4\uD06C\uD3EC\uC778\uD2B8 \uBC84\uC804 \uC911 \uD558\uB098\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. \uC774\uC804 \uC608\uC81C\uC640 \uC720\uC0AC\uD558\uC9C0\uB9CC "),mt=r("code"),ea=o("\uCEF4\uD30C\uC77C\uB41C"),la=o(" \uBCC0\uD615 \uC911 \uD558\uB098\uB97C \uC0AC\uC6A9\uD558\uC5EC Python \uCF54\uB4DC\uB97C \uB85C\uCEEC\uB85C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4:"),vo=c(),m(Ke.$$.fragment),Mo=c(),z=r("h3"),Me=r("a"),vt=r("span"),m(el.$$.fragment),ta=c(),Mt=r("span"),oa=o("\uCD94\uB860"),yo=c(),Cl=r("p"),sa=o("\uCD94\uB860\uC744 \uC2E4\uD589\uD558\uAE30 \uC704\uD574\uC11C, Apple\uC758 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC\uB97C \uBCF5\uC81C\uD558\uC138\uC694:"),_o=c(),m(ll.$$.fragment),bo=c(),ye=r("p"),ra=o("\uADF8 \uB2E4\uC74C Apple\uC758 \uBA85\uB839\uC5B4 \uB3C4\uAD6C\uC778 "),tl=r("a"),aa=o("Swift \uD328\uD0A4\uC9C0 \uAD00\uB9AC\uC790"),ia=o("\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4:"),wo=c(),m(ol.$$.fragment),Eo=c(),d=r("p"),yt=r("code"),fa=o("--resource-path"),pa=o("\uC5D0 \uC774\uC804 \uB2E8\uACC4\uC5D0\uC11C \uB2E4\uC6B4\uB85C\uB4DC\uD55C \uCCB4\uD06C\uD3EC\uC778\uD2B8 \uC911 \uD558\uB098\uB97C \uC9C0\uC815\uD574\uC57C \uD558\uBBC0\uB85C \uD655\uC7A5\uC790\uAC00 "),_t=r("code"),na=o(".mlmodelc"),ca=o("\uC778 \uCEF4\uD30C\uC77C\uB41C Core ML \uBC88\uB4E4\uC774 \uD3EC\uD568\uB418\uC5B4 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC2DC\uAE30 \uBC14\uB78D\uB2C8\uB2E4. "),bt=r("code"),ha=o("--compute-units"),ua=o("\uB294 \uB2E4\uC74C \uAC12 \uC911 \uD558\uB098\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4: "),wt=r("code"),da=o("all"),ma=o(", "),Et=r("code"),va=o("cpuOnly"),Ma=o(", "),Ut=r("code"),ya=o("cpuAndGPU"),_a=o(", "),Ct=r("code"),ba=o("cpuAndNeuralEngine"),wa=o("."),Uo=c(),_e=r("p"),Ea=o("\uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),sl=r("a"),Ua=o("Apple\uC758 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC \uC548\uC758 \uC9C0\uCE68"),Ca=o("\uC744 \uCC38\uACE0\uD558\uC2DC\uAE30 \uBC14\uB78D\uB2C8\uB2E4."),Co=c(),K=r("h2"),be=r("a"),$t=r("span"),m(rl.$$.fragment),$a=c(),Jt=r("span"),Ja=o("\uC9C0\uC6D0\uB418\uB294 Diffusers \uAE30\uB2A5"),$o=c(),$l=r("p"),Pa=o("Core ML \uBAA8\uB378\uACFC \uCD94\uB860 \uCF54\uB4DC\uB294 \u{1F9E8} Diffusers\uC758 \uB9CE\uC740 \uAE30\uB2A5, \uC635\uC158 \uBC0F \uC720\uC5F0\uC131\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB2E4\uC74C\uC740 \uC720\uC758\uD574\uC57C \uD560 \uBA87 \uAC00\uC9C0 \uC81C\uD55C \uC0AC\uD56D\uC785\uB2C8\uB2E4:"),Jo=c(),X=r("ul"),Pt=r("li"),Sa=o("Core ML \uBAA8\uB378\uC740 \uCD94\uB860\uC5D0\uB9CC \uC801\uD569\uD569\uB2C8\uB2E4. \uD559\uC2B5\uC774\uB098 \uD30C\uC778\uD29C\uB2DD\uC5D0\uB294 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."),Aa=c(),G=r("li"),ja=o("Swift\uC5D0 \uD3EC\uD305\uB41C \uC2A4\uCF00\uC904\uB7EC\uB294 Stable Diffusion\uC5D0\uC11C \uC0AC\uC6A9\uD558\uB294 \uAE30\uBCF8 \uC2A4\uCF00\uC904\uB7EC\uC640 "),St=r("code"),ka=o("diffusers"),Na=o(" \uAD6C\uD604\uC5D0\uC11C Swift\uB85C \uD3EC\uD305\uD55C "),At=r("code"),Ga=o("DPMSolverMultistepScheduler"),Ta=o(" \uB450 \uAC1C\uBFD0\uC785\uB2C8\uB2E4. \uC774\uB4E4 \uC911 \uC57D \uC808\uBC18\uC758 \uC2A4\uD15D\uC73C\uB85C \uB3D9\uC77C\uD55C \uD488\uC9C8\uC744 \uC0DD\uC131\uD558\uB294 "),jt=r("code"),La=o("DPMSolverMultistepScheduler"),Da=o("\uB97C \uC0AC\uC6A9\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4."),Za=c(),kt=r("li"),Ba=o("\uCD94\uB860 \uCF54\uB4DC\uC5D0\uC11C \uB124\uAC70\uD2F0\uBE0C \uD504\uB86C\uD504\uD2B8, classifier-free guidance scale \uBC0F image-to-image \uC791\uC5C5\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. depth guidance, ControlNet, latent upscalers\uC640 \uAC19\uC740 \uACE0\uAE09 \uAE30\uB2A5\uC740 \uC544\uC9C1 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."),Po=c(),W=r("p"),Xa=o("Apple\uC758 "),al=r("a"),Wa=o("\uBCC0\uD658 \uBC0F \uCD94\uB860 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC"),Ia=o("\uC640 \uC790\uCCB4 "),il=r("a"),ga=o("swift-coreml-diffusers"),Ra=o(" \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC\uB294 \uB2E4\uB978 \uAC1C\uBC1C\uC790\uB4E4\uC774 \uAD6C\uCD95\uD560 \uC218 \uC788\uB294 \uAE30\uC220\uC801\uC778 \uB370\uBAA8\uC785\uB2C8\uB2E4."),So=c(),Jl=r("p"),Ya=o("\uB204\uB77D\uB41C \uAE30\uB2A5\uC774 \uC788\uB2E4\uACE0 \uC0DD\uAC01\uB418\uBA74 \uC5B8\uC81C\uB4E0\uC9C0 \uAE30\uB2A5\uC744 \uC694\uCCAD\uD558\uAC70\uB098, \uB354 \uC88B\uC740 \uBC29\uBC95\uC740 \uAE30\uC5EC PR\uC744 \uC5F4\uC5B4\uC8FC\uC138\uC694. :)"),Ao=c(),ee=r("h2"),we=r("a"),Nt=r("span"),m(fl.$$.fragment),Fa=c(),Gt=r("span"),Oa=o("\uB124\uC774\uD2F0\uBE0C Diffusers Swift \uC571"),jo=c(),C=r("p"),Va=o("\uC790\uCCB4 Apple \uD558\uB4DC\uC6E8\uC5B4\uC5D0\uC11C Stable Diffusion\uC744 \uC2E4\uD589\uD558\uB294 \uC26C\uC6B4 \uBC29\uBC95 \uC911 \uD558\uB098\uB294 "),Tt=r("code"),Qa=o("diffusers"),qa=o("\uC640 Apple\uC758 \uBCC0\uD658 \uBC0F \uCD94\uB860 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC\uB97C \uAE30\uBC18\uC73C\uB85C \uD558\uB294 "),pl=r("a"),xa=o("\uC790\uCCB4 \uC624\uD508 \uC18C\uC2A4 Swift \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC"),Ha=o("\uB97C \uC0AC\uC6A9\uD558\uB294 \uAC83\uC785\uB2C8\uB2E4. \uCF54\uB4DC\uB97C \uACF5\uBD80\uD558\uACE0 "),nl=r("a"),za=o("Xcode"),Ka=o("\uB85C \uCEF4\uD30C\uC77C\uD558\uC5EC \uD544\uC694\uC5D0 \uB9DE\uAC8C \uC870\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uD3B8\uC758\uB97C \uC704\uD574 \uC571\uC2A4\uD1A0\uC5B4\uC5D0 "),cl=r("a"),ei=o("\uB3C5\uB9BD\uD615 Mac \uC571"),li=o("\uB3C4 \uC788\uC73C\uBBC0\uB85C \uCF54\uB4DC\uB098 IDE\uB97C \uB2E4\uB8E8\uC9C0 \uC54A\uACE0\uB3C4 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uAC1C\uBC1C\uC790\uB85C\uC11C Core ML\uC774 Stable Diffusion \uC571\uC744 \uAD6C\uCD95\uD558\uB294 \uB370 \uAC00\uC7A5 \uC801\uD569\uD55C \uC194\uB8E8\uC158\uC774\uB77C\uACE0 \uD310\uB2E8\uD588\uB2E4\uBA74, \uC774 \uAC00\uC774\uB4DC\uC758 \uB098\uBA38\uC9C0 \uBD80\uBD84\uC744 \uC0AC\uC6A9\uD558\uC5EC \uD504\uB85C\uC81D\uD2B8\uB97C \uC2DC\uC791\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC5EC\uB7EC\uBD84\uC774 \uBB34\uC5C7\uC744 \uBE4C\uB4DC\uD560\uC9C0 \uAE30\uB300\uB429\uB2C8\uB2E4. :)"),this.h()},l(e){const f=tp('[data-svelte="svelte-1phssyn"]',document.head);u=a(f,"META",{name:!0,content:!0}),f.forEach(t),oe=h(e),E=a(e,"H1",{class:!0});var hl=i(E);k=a(hl,"A",{id:!0,class:!0,href:!0});var ii=i(k);Y=a(ii,"SPAN",{});var fi=i(Y);v($.$$.fragment,fi),fi.forEach(t),ii.forEach(t),$e=h(hl),F=a(hl,"SPAN",{});var pi=i(F);O=s(pi,"Core ML\uB85C Stable Diffusion\uC744 \uC2E4\uD589\uD558\uB294 \uBC29\uBC95"),pi.forEach(t),hl.forEach(t),J=h(e),T=a(e,"P",{});var ti=i(T);L=a(ti,"A",{href:!0,rel:!0});var ni=i(L);zo=s(ni,"Core ML"),ni.forEach(t),Ko=s(ti,"\uC740 Apple \uD504\uB808\uC784\uC6CC\uD06C\uC5D0\uC11C \uC9C0\uC6D0\uD558\uB294 \uBAA8\uB378 \uD615\uC2DD \uBC0F \uBA38\uC2E0 \uB7EC\uB2DD \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC785\uB2C8\uB2E4. macOS \uB610\uB294 iOS/iPadOS \uC571 \uB0B4\uC5D0\uC11C Stable Diffusion \uBAA8\uB378\uC744 \uC2E4\uD589\uD558\uB294 \uB370 \uAD00\uC2EC\uC774 \uC788\uB294 \uACBD\uC6B0, \uC774 \uAC00\uC774\uB4DC\uC5D0\uC11C\uB294 \uAE30\uC874 PyTorch \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C Core ML \uD615\uC2DD\uC73C\uB85C \uBCC0\uD658\uD558\uACE0 \uC774\uB97C Python \uB610\uB294 Swift\uB85C \uCD94\uB860\uC5D0 \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95\uC744 \uC124\uBA85\uD569\uB2C8\uB2E4."),ti.forEach(t),Zt=h(e),ul=a(e,"P",{});var ci=i(ul);es=s(ci,"Core ML \uBAA8\uB378\uC740 Apple \uAE30\uAE30\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 \uBAA8\uB4E0 \uCEF4\uD4E8\uD305 \uC5D4\uC9C4\uB4E4, \uC989 CPU, GPU, Apple Neural Engine(\uB610\uB294 Apple Silicon Mac \uBC0F \uCD5C\uC2E0 iPhone/iPad\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 \uD150\uC11C \uCD5C\uC801\uD654 \uAC00\uC18D\uAE30\uC778 ANE)\uC744 \uD65C\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uBAA8\uB378\uACFC \uC2E4\uD589 \uC911\uC778 \uAE30\uAE30\uC5D0 \uB530\uB77C Core ML\uC740 \uCEF4\uD4E8\uD305 \uC5D4\uC9C4\uB3C4 \uD63C\uD569\uD558\uC5EC \uC0AC\uC6A9\uD560 \uC218 \uC788\uC73C\uBBC0\uB85C, \uC608\uB97C \uB4E4\uC5B4 \uBAA8\uB378\uC758 \uC77C\uBD80\uAC00 CPU\uC5D0\uC11C \uC2E4\uD589\uB418\uB294 \uBC18\uBA74 \uB2E4\uB978 \uBD80\uBD84\uC740 GPU\uC5D0\uC11C \uC2E4\uD589\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),ci.forEach(t),Bt=h(e),v(se.$$.fragment,e),Xt=h(e),V=a(e,"H2",{class:!0});var No=i(V);re=a(No,"A",{id:!0,class:!0,href:!0});var hi=i(re);Nl=a(hi,"SPAN",{});var ui=i(Nl);v(Je.$$.fragment,ui),ui.forEach(t),hi.forEach(t),ls=h(No),Gl=a(No,"SPAN",{});var di=i(Gl);ts=s(di,"Stable Diffusion Core ML \uCCB4\uD06C\uD3EC\uC778\uD2B8"),di.forEach(t),No.forEach(t),Wt=h(e),dl=a(e,"P",{});var mi=i(dl);os=s(mi,"Stable Diffusion \uAC00\uC911\uCE58(\uB610\uB294 \uCCB4\uD06C\uD3EC\uC778\uD2B8)\uB294 PyTorch \uD615\uC2DD\uC73C\uB85C \uC800\uC7A5\uB418\uAE30 \uB54C\uBB38\uC5D0 \uB124\uC774\uD2F0\uBE0C \uC571\uC5D0\uC11C \uC0AC\uC6A9\uD558\uAE30 \uC704\uD574\uC11C\uB294 Core ML \uD615\uC2DD\uC73C\uB85C \uBCC0\uD658\uD574\uC57C \uD569\uB2C8\uB2E4."),mi.forEach(t),It=h(e),D=a(e,"P",{});var Pl=i(D);ss=s(Pl,"\uB2E4\uD589\uD788\uB3C4 Apple \uC5D4\uC9C0\uB2C8\uC5B4\uB4E4\uC774 "),Tl=a(Pl,"CODE",{});var vi=i(Tl);rs=s(vi,"diffusers"),vi.forEach(t),as=s(Pl,"\uB97C \uAE30\uBC18\uC73C\uB85C \uD55C "),Pe=a(Pl,"A",{href:!0,rel:!0});var Mi=i(Pe);is=s(Mi,"\uBCC0\uD658 \uD234"),Mi.forEach(t),fs=s(Pl,"\uC744 \uAC1C\uBC1C\uD558\uC5EC PyTorch \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C Core ML\uB85C \uBCC0\uD658\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Pl.forEach(t),gt=h(e),ml=a(e,"P",{});var yi=i(ml);ps=s(yi,"\uBAA8\uB378\uC744 \uBCC0\uD658\uD558\uAE30 \uC804\uC5D0 \uC7A0\uC2DC \uC2DC\uAC04\uC744 \uB0B4\uC5B4 Hugging Face Hub\uB97C \uC0B4\uD3B4\uBCF4\uC138\uC694. \uAD00\uC2EC \uC788\uB294 \uBAA8\uB378\uC774 \uC774\uBBF8 Core ML \uD615\uC2DD\uC73C\uB85C \uC81C\uACF5\uB418\uACE0 \uC788\uC744 \uAC00\uB2A5\uC131\uC774 \uB192\uC2B5\uB2C8\uB2E4:"),yi.forEach(t),Rt=h(e),Z=a(e,"UL",{});var Sl=i(Z);vl=a(Sl,"LI",{});var oi=i(vl);Se=a(oi,"A",{href:!0,rel:!0});var _i=i(Se);ns=s(_i,"Apple"),_i.forEach(t),cs=s(oi," organization\uC5D0\uB294 Stable Diffusion \uBC84\uC804 1.4, 1.5, 2.0 base \uBC0F 2.1 base\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),oi.forEach(t),hs=h(Sl),Ml=a(Sl,"LI",{});var si=i(Ml);Ae=a(si,"A",{href:!0,rel:!0});var bi=i(Ae);us=s(bi,"coreml"),bi.forEach(t),ds=s(si," organization\uC5D0\uB294 \uCEE4\uC2A4\uD140 DreamBooth\uAC00 \uC801\uC6A9\uB418\uAC70\uB098, \uD30C\uC778\uD29C\uB2DD\uB41C \uBAA8\uB378\uC774 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),si.forEach(t),ms=h(Sl),je=a(Sl,"LI",{});var Go=i(je);vs=s(Go,"\uC774 "),ke=a(Go,"A",{href:!0,rel:!0});var wi=i(ke);Ms=s(wi,"\uD544\uD130"),wi.forEach(t),ys=s(Go,"\uB97C \uC0AC\uC6A9\uD558\uC5EC \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uBAA8\uB4E0 Core ML \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB4E4\uC744 \uBC18\uD658\uD569\uB2C8\uB2E4."),Go.forEach(t),Sl.forEach(t),Yt=h(e),ae=a(e,"P",{});var To=i(ae);_s=s(To,"\uC6D0\uD558\uB294 \uBAA8\uB378\uC744 \uCC3E\uC744 \uC218 \uC5C6\uB294 \uACBD\uC6B0 Apple\uC758 "),Ne=a(To,"A",{href:!0,rel:!0});var Ei=i(Ne);bs=s(Ei,"\uBAA8\uB378\uC744 Core ML\uB85C \uBCC0\uD658\uD558\uAE30"),Ei.forEach(t),ws=s(To," \uC9C0\uCE68\uC744 \uB530\uB974\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4."),To.forEach(t),Ft=h(e),Q=a(e,"H2",{class:!0});var Lo=i(Q);ie=a(Lo,"A",{id:!0,class:!0,href:!0});var Ui=i(ie);Ll=a(Ui,"SPAN",{});var Ci=i(Ll);v(Ge.$$.fragment,Ci),Ci.forEach(t),Ui.forEach(t),Es=h(Lo),Dl=a(Lo,"SPAN",{});var $i=i(Dl);Us=s($i,"\uC0AC\uC6A9\uD560 Core ML \uBCC0\uD615(Variant) \uC120\uD0DD\uD558\uAE30"),$i.forEach(t),Lo.forEach(t),Ot=h(e),yl=a(e,"P",{});var Ji=i(yl);Cs=s(Ji,"Stable Diffusion \uBAA8\uB378\uC740 \uB2E4\uC591\uD55C \uBAA9\uC801\uC5D0 \uB530\uB77C \uB2E4\uB978 Core ML \uBCC0\uD615\uC73C\uB85C \uBCC0\uD658\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),Ji.forEach(t),Vt=h(e),fe=a(e,"UL",{});var Do=i(fe);Te=a(Do,"LI",{});var Zo=i(Te);Zl=a(Zo,"P",{});var Pi=i(Zl);$s=s(Pi,"\uC0AC\uC6A9\uB418\uB294 \uC5B4\uD150\uC158 \uBE14\uB85D \uC720\uD615. \uC5B4\uD150\uC158 \uC5F0\uC0B0\uC740 \uC774\uBBF8\uC9C0 \uD45C\uD604\uC758 \uC5EC\uB7EC \uC601\uC5ED \uAC04\uC758 \uAD00\uACC4\uC5D0 \u2018\uC8FC\uC758\uB97C \uAE30\uC6B8\uC774\uACE0\u2019 \uC774\uBBF8\uC9C0\uC640 \uD14D\uC2A4\uD2B8 \uD45C\uD604\uC774 \uC5B4\uB5BB\uAC8C \uC5F0\uAD00\uB418\uC5B4 \uC788\uB294\uC9C0 \uC774\uD574\uD558\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4. \uC5B4\uD150\uC158 \uC5F0\uC0B0\uC740 \uCEF4\uD4E8\uD305 \uBC0F \uBA54\uBAA8\uB9AC \uC9D1\uC57D\uC801\uC774\uBBC0\uB85C \uB2E4\uC591\uD55C \uC7A5\uCE58\uC758 \uD558\uB4DC\uC6E8\uC5B4 \uD2B9\uC131\uC744 \uACE0\uB824\uD55C \uB2E4\uC591\uD55C \uAD6C\uD604\uC774 \uC874\uC7AC\uD569\uB2C8\uB2E4. Core ML Stable Diffusion \uBAA8\uB378\uC758 \uACBD\uC6B0 \uB450 \uAC00\uC9C0 \uC8FC\uC758 \uBCC0\uD615\uC774 \uC788\uC2B5\uB2C8\uB2E4:"),Pi.forEach(t),Js=h(Zo),Le=a(Zo,"UL",{});var Bo=i(Le);pe=a(Bo,"LI",{});var Lt=i(pe);Bl=a(Lt,"CODE",{});var Si=i(Bl);Ps=s(Si,"split_einsum"),Si.forEach(t),Ss=s(Lt," ("),De=a(Lt,"A",{href:!0,rel:!0});var Ai=i(De);As=s(Ai,"Apple\uC5D0\uC11C \uB3C4\uC785"),Ai.forEach(t),js=s(Lt,"\uC740 \uCD5C\uC2E0 iPhone, iPad \uBC0F M \uC2DC\uB9AC\uC988 \uCEF4\uD4E8\uD130\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 ANE \uC7A5\uCE58\uC5D0 \uCD5C\uC801\uD654\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),Lt.forEach(t),ks=h(Bo),P=a(Bo,"LI",{});var I=i(P);Ns=s(I,"\u201C\uC6D0\uBCF8\u201D \uC5B4\uD150\uC158("),Xl=a(I,"CODE",{});var ji=i(Xl);Gs=s(ji,"diffusers"),ji.forEach(t),Ts=s(I,"\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uAE30\uBCF8 \uAD6C\uD604)\uB294 CPU/GPU\uC640\uB9CC \uD638\uD658\uB418\uBA70 ANE\uC640\uB294 \uD638\uD658\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \u201C\uC6D0\uBCF8\u201D \uC5B4\uD150\uC158\uC744 \uC0AC\uC6A9\uD558\uC5EC CPU + GPU\uC5D0\uC11C \uBAA8\uB378\uC744 \uC2E4\uD589\uD558\uB294 \uAC83\uC774 ANE\uBCF4\uB2E4 "),Wl=a(I,"EM",{});var ki=i(Wl);Ls=s(ki,"\uB354"),ki.forEach(t),Ds=s(I," \uBE60\uB97C \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),Ze=a(I,"A",{href:!0,rel:!0});var Ni=i(Ze);Zs=s(Ni,"\uC774 \uC131\uB2A5 \uBCA4\uCE58\uB9C8\uD06C"),Ni.forEach(t),Bs=s(I,"\uC640 \uCEE4\uBBA4\uB2C8\uD2F0\uC5D0\uC11C \uC81C\uACF5\uD558\uB294 \uC77C\uBD80 "),Be=a(I,"A",{href:!0,rel:!0});var Gi=i(Be);Xs=s(Gi,"\uCD94\uAC00 \uCE21\uC815"),Gi.forEach(t),Ws=s(I,"\uC744 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624."),I.forEach(t),Bo.forEach(t),Zo.forEach(t),Is=h(Do),Xe=a(Do,"LI",{});var Xo=i(Xe);Il=a(Xo,"P",{});var Ti=i(Il);gs=s(Ti,"\uC9C0\uC6D0\uB418\uB294 \uCD94\uB860 \uD504\uB808\uC784\uC6CC\uD06C"),Ti.forEach(t),Rs=h(Xo),We=a(Xo,"UL",{});var Wo=i(We);_l=a(Wo,"LI",{});var ri=i(_l);gl=a(ri,"CODE",{});var Li=i(gl);Ys=s(Li,"packages"),Li.forEach(t),Fs=s(ri,"\uB294 Python \uCD94\uB860\uC5D0 \uC801\uD569\uD569\uB2C8\uB2E4. \uB124\uC774\uD2F0\uBE0C \uC571\uC5D0 \uD1B5\uD569\uD558\uAE30 \uC804\uC5D0 \uBCC0\uD658\uB41C Core ML \uBAA8\uB378\uC744 \uD14C\uC2A4\uD2B8\uD558\uAC70\uB098, Core ML \uC131\uB2A5\uC744 \uC54C\uACE0 \uC2F6\uC9C0\uB9CC \uB124\uC774\uD2F0\uBE0C \uC571\uC744 \uC9C0\uC6D0\uD560 \uD544\uC694\uB294 \uC5C6\uB294 \uACBD\uC6B0\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC608\uB97C \uB4E4\uC5B4, \uC6F9 UI\uAC00 \uC788\uB294 \uC560\uD50C\uB9AC\uCF00\uC774\uC158\uC740 Python Core ML \uBC31\uC5D4\uB4DC\uB97C \uC644\uBCBD\uD558\uAC8C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),ri.forEach(t),Os=h(Wo),S=a(Wo,"LI",{});var g=i(S);Vs=s(g,"Swift \uCF54\uB4DC\uC5D0\uB294 "),Rl=a(g,"CODE",{});var Di=i(Rl);Qs=s(Di,"\uCEF4\uD30C\uC77C\uB41C"),Di.forEach(t),qs=s(g," \uBAA8\uB378\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. Hub\uC758 "),Yl=a(g,"CODE",{});var Zi=i(Yl);xs=s(Zi,"\uCEF4\uD30C\uC77C\uB41C"),Zi.forEach(t),Hs=s(g," \uBAA8\uB378\uC740 iOS \uBC0F iPadOS \uAE30\uAE30\uC640\uC758 \uD638\uD658\uC131\uC744 \uC704\uD574 \uD070 UNet \uBAA8\uB378 \uAC00\uC911\uCE58\uB97C \uC5EC\uB7EC \uD30C\uC77C\uB85C \uBD84\uD560\uD569\uB2C8\uB2E4. \uC774\uB294 "),ne=a(g,"A",{href:!0,rel:!0});var ai=i(ne);Fl=a(ai,"CODE",{});var Bi=i(Fl);zs=s(Bi,"--chunk-unet"),Bi.forEach(t),Ks=s(ai," \uBCC0\uD658 \uC635\uC158"),ai.forEach(t),er=s(g,"\uC5D0 \uD574\uB2F9\uD569\uB2C8\uB2E4. \uB124\uC774\uD2F0\uBE0C \uC571\uC744 \uC9C0\uC6D0\uD558\uB824\uBA74 "),Ol=a(g,"CODE",{});var Xi=i(Ol);lr=s(Xi,"\uCEF4\uD30C\uC77C\uB41C"),Xi.forEach(t),tr=s(g," \uBCC0\uD615\uC744 \uC120\uD0DD\uD574\uC57C \uD569\uB2C8\uB2E4."),g.forEach(t),Wo.forEach(t),Xo.forEach(t),Do.forEach(t),Qt=h(e),ce=a(e,"P",{});var Io=i(ce);or=s(Io,"\uACF5\uC2DD Core ML Stable Diffusion "),Ie=a(Io,"A",{href:!0,rel:!0});var Wi=i(Ie);sr=s(Wi,"\uBAA8\uB378"),Wi.forEach(t),rr=s(Io,"\uC5D0\uB294 \uC774\uB7EC\uD55C \uBCC0\uD615\uC774 \uD3EC\uD568\uB418\uC5B4 \uC788\uC9C0\uB9CC \uCEE4\uBBA4\uB2C8\uD2F0 \uBC84\uC804\uC740 \uB2E4\uB97C \uC218 \uC788\uC2B5\uB2C8\uB2E4:"),Io.forEach(t),qt=h(e),v(ge.$$.fragment,e),xt=h(e),bl=a(e,"P",{});var Ii=i(bl);ar=s(Ii,"\uC544\uB798\uC640 \uAC19\uC774 \uD544\uC694\uD55C \uBCC0\uD615\uC744 \uB2E4\uC6B4\uB85C\uB4DC\uD558\uC5EC \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Ii.forEach(t),Ht=h(e),q=a(e,"H2",{class:!0});var go=i(q);he=a(go,"A",{id:!0,class:!0,href:!0});var gi=i(he);Vl=a(gi,"SPAN",{});var Ri=i(Vl);v(Re.$$.fragment,Ri),Ri.forEach(t),gi.forEach(t),ir=h(go),Ql=a(go,"SPAN",{});var Yi=i(Ql);fr=s(Yi,"Python\uC5D0\uC11C Core ML \uCD94\uB860"),Yi.forEach(t),go.forEach(t),zt=h(e),wl=a(e,"P",{});var Fi=i(wl);pr=s(Fi,"Python\uC5D0\uC11C Core ML \uCD94\uB860\uC744 \uC2E4\uD589\uD558\uB824\uBA74 \uB2E4\uC74C \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C \uC124\uCE58\uD558\uC138\uC694:"),Fi.forEach(t),Kt=h(e),v(Ye.$$.fragment,e),eo=h(e),Fe=a(e,"H3",{id:!0});var Oi=i(Fe);nr=s(Oi,"\uBAA8\uB378 \uCCB4\uD06C\uD3EC\uC778\uD2B8 \uB2E4\uC6B4\uB85C\uB4DC\uD558\uAE30"),Oi.forEach(t),lo=h(e),A=a(e,"P",{});var le=i(A);ql=a(le,"CODE",{});var Vi=i(ql);cr=s(Vi,"\uCEF4\uD30C\uC77C\uB41C"),Vi.forEach(t),hr=s(le," \uBC84\uC804\uC740 Swift\uC640\uB9CC \uD638\uD658\uB418\uBBC0\uB85C Python\uC5D0\uC11C \uCD94\uB860\uC744 \uC2E4\uD589\uD558\uB824\uBA74 "),xl=a(le,"CODE",{});var Qi=i(xl);ur=s(Qi,"packages"),Qi.forEach(t),dr=s(le," \uD3F4\uB354\uC5D0 \uC800\uC7A5\uB41C \uBC84\uC804 \uC911 \uD558\uB098\uB97C \uC0AC\uC6A9\uD558\uC138\uC694. "),Hl=a(le,"CODE",{});var qi=i(Hl);mr=s(qi,"\uC6D0\uBCF8"),qi.forEach(t),vr=s(le," \uB610\uB294 "),zl=a(le,"CODE",{});var xi=i(zl);Mr=s(xi,"split_einsum"),xi.forEach(t),yr=s(le," \uC5B4\uD150\uC158 \uC911 \uC5B4\uB290 \uAC83\uC744 \uC0AC\uC6A9\uD560\uC9C0 \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),le.forEach(t),to=h(e),El=a(e,"P",{});var Hi=i(El);_r=s(Hi,"\uB2E4\uC74C\uC740 Hub\uC5D0\uC11C \u2018models\u2019\uB77C\uB294 \uB514\uB809\uD1A0\uB9AC\uB85C \u2018original\u2019 \uC5B4\uD150\uC158 \uBCC0\uD615\uC744 \uB2E4\uC6B4\uB85C\uB4DC\uD558\uB294 \uBC29\uBC95\uC785\uB2C8\uB2E4:"),Hi.forEach(t),oo=h(e),v(Oe.$$.fragment,e),so=h(e),x=a(e,"H3",{class:!0});var Ro=i(x);ue=a(Ro,"A",{id:!0,class:!0,href:!0});var zi=i(ue);Kl=a(zi,"SPAN",{});var Ki=i(Kl);v(Ve.$$.fragment,Ki),Ki.forEach(t),zi.forEach(t),br=h(Ro),et=a(Ro,"SPAN",{});var ef=i(et);wr=s(ef,"\uCD94\uB860"),ef.forEach(t),Ro.forEach(t),ro=h(e),Ul=a(e,"P",{});var lf=i(Ul);Er=s(lf,"\uBAA8\uB378\uC758 snapshot\uC744 \uB2E4\uC6B4\uB85C\uB4DC\uD55C \uD6C4\uC5D0\uB294 Apple\uC758 Python \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC0AC\uC6A9\uD558\uC5EC \uD14C\uC2A4\uD2B8\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),lf.forEach(t),ao=h(e),v(Qe.$$.fragment,e),io=h(e),w=a(e,"P",{});var j=i(w);lt=a(j,"CODE",{});var tf=i(lt);Ur=s(tf,"<output-mlpackages-directory>"),tf.forEach(t),Cr=s(j,"\uB294 \uC704 \uB2E8\uACC4\uC5D0\uC11C \uB2E4\uC6B4\uB85C\uB4DC\uD55C \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C \uAC00\uB9AC\uCF1C\uC57C \uD558\uBA70, "),tt=a(j,"CODE",{});var of=i(tt);$r=s(of,"--compute-unit"),of.forEach(t),Jr=s(j,"\uC740 \uCD94\uB860\uC744 \uD5C8\uC6A9\uD560 \uD558\uB4DC\uC6E8\uC5B4\uB97C \uB098\uD0C0\uB0C5\uB2C8\uB2E4. \uC774\uB294 \uB2E4\uC74C \uC635\uC158 \uC911 \uD558\uB098\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4: "),ot=a(j,"CODE",{});var sf=i(ot);Pr=s(sf,"ALL"),sf.forEach(t),Sr=s(j,", "),st=a(j,"CODE",{});var rf=i(st);Ar=s(rf,"CPU_AND_GPU"),rf.forEach(t),jr=s(j,", "),rt=a(j,"CODE",{});var af=i(rt);kr=s(af,"CPU_ONLY"),af.forEach(t),Nr=s(j,", "),at=a(j,"CODE",{});var ff=i(at);Gr=s(ff,"CPU_AND_NE"),ff.forEach(t),Tr=s(j,". \uC120\uD0DD\uC801 \uCD9C\uB825 \uACBD\uB85C\uC640 \uC7AC\uD604\uC131\uC744 \uC704\uD55C \uC2DC\uB4DC\uB97C \uC81C\uACF5\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."),j.forEach(t),fo=h(e),N=a(e,"P",{});var Ee=i(N);Lr=s(Ee,"\uCD94\uB860 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0\uC11C\uB294 Stable Diffusion \uBAA8\uB378\uC758 \uC6D0\uB798 \uBC84\uC804\uC778 "),it=a(Ee,"CODE",{});var pf=i(it);Dr=s(pf,"CompVis/stable-diffusion-v1-4"),pf.forEach(t),Zr=s(Ee,"\uB97C \uC0AC\uC6A9\uD55C\uB2E4\uACE0 \uAC00\uC815\uD569\uB2C8\uB2E4. \uB2E4\uB978 \uBAA8\uB378\uC744 \uC0AC\uC6A9\uD558\uB294 \uACBD\uC6B0 \uCD94\uB860 \uBA85\uB839\uC904\uC5D0\uC11C "),ft=a(Ee,"CODE",{});var nf=i(ft);Br=s(nf,"--model-version"),nf.forEach(t),Xr=s(Ee," \uC635\uC158\uC744 \uC0AC\uC6A9\uD558\uC5EC \uD574\uB2F9 \uD5C8\uBE0C ID\uB97C "),pt=a(Ee,"EM",{});var cf=i(pt);Wr=s(cf,"\uC9C0\uC815"),cf.forEach(t),Ir=s(Ee,"\uD574\uC57C \uD569\uB2C8\uB2E4. \uC774\uB294 \uC774\uBBF8 \uC9C0\uC6D0\uB418\uB294 \uBAA8\uB378\uACFC \uC0AC\uC6A9\uC790\uAC00 \uC9C1\uC811 \uD559\uC2B5\uD558\uAC70\uB098 \uD30C\uC778\uD29C\uB2DD\uD55C \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uBAA8\uB378\uC5D0 \uC801\uC6A9\uB429\uB2C8\uB2E4."),Ee.forEach(t),po=h(e),de=a(e,"P",{});var Yo=i(de);gr=s(Yo,"\uC608\uB97C \uB4E4\uC5B4, "),qe=a(Yo,"A",{href:!0,rel:!0});var hf=i(qe);nt=a(hf,"CODE",{});var uf=i(nt);Rr=s(uf,"runwayml/stable-diffusion-v1-5"),uf.forEach(t),hf.forEach(t),Yr=s(Yo,"\uB97C \uC0AC\uC6A9\uD558\uB824\uB294 \uACBD\uC6B0\uC785\uB2C8\uB2E4:"),Yo.forEach(t),no=h(e),v(xe.$$.fragment,e),co=h(e),H=a(e,"H2",{class:!0});var Fo=i(H);me=a(Fo,"A",{id:!0,class:!0,href:!0});var df=i(me);ct=a(df,"SPAN",{});var mf=i(ct);v(He.$$.fragment,mf),mf.forEach(t),df.forEach(t),Fr=h(Fo),ht=a(Fo,"SPAN",{});var vf=i(ht);Or=s(vf,"Swift\uC5D0\uC11C Core ML \uCD94\uB860\uD558\uAE30"),vf.forEach(t),Fo.forEach(t),ho=h(e),ve=a(e,"P",{});var Oo=i(ve);Vr=s(Oo,"Swift\uC5D0\uC11C \uCD94\uB860\uC744 \uC2E4\uD589\uD558\uB294 \uAC83\uC740 \uBAA8\uB378\uC774 \uC774\uBBF8 "),ut=a(Oo,"CODE",{});var Mf=i(ut);Qr=s(Mf,"mlmodelc"),Mf.forEach(t),qr=s(Oo," \uD615\uC2DD\uC73C\uB85C \uCEF4\uD30C\uC77C\uB418\uC5B4 \uC788\uAE30 \uB54C\uBB38\uC5D0 Python\uBCF4\uB2E4 \uC57D\uAC04 \uBE60\uB985\uB2C8\uB2E4. \uC774\uB294 \uC571\uC774 \uC2DC\uC791\uB420 \uB54C \uBAA8\uB378\uC774 \uBD88\uB7EC\uC640\uC9C0\uB294 \uAC83\uC774 \uB208\uC5D0 \uB744\uC9C0\uB9CC, \uC774\uD6C4 \uC5EC\uB7EC \uBC88 \uC2E4\uD589\uD558\uBA74 \uB208\uC5D0 \uB744\uC9C0 \uC54A\uC744 \uAC83\uC785\uB2C8\uB2E4."),Oo.forEach(t),uo=h(e),ze=a(e,"H3",{id:!0});var yf=i(ze);xr=s(yf,"\uB2E4\uC6B4\uB85C\uB4DC"),yf.forEach(t),mo=h(e),B=a(e,"P",{});var Al=i(B);Hr=s(Al,"Mac\uC5D0\uC11C Swift\uC5D0\uC11C \uCD94\uB860\uC744 \uC2E4\uD589\uD558\uB824\uBA74 "),dt=a(Al,"CODE",{});var _f=i(dt);zr=s(_f,"\uCEF4\uD30C\uC77C\uB41C"),_f.forEach(t),Kr=s(Al," \uCCB4\uD06C\uD3EC\uC778\uD2B8 \uBC84\uC804 \uC911 \uD558\uB098\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. \uC774\uC804 \uC608\uC81C\uC640 \uC720\uC0AC\uD558\uC9C0\uB9CC "),mt=a(Al,"CODE",{});var bf=i(mt);ea=s(bf,"\uCEF4\uD30C\uC77C\uB41C"),bf.forEach(t),la=s(Al," \uBCC0\uD615 \uC911 \uD558\uB098\uB97C \uC0AC\uC6A9\uD558\uC5EC Python \uCF54\uB4DC\uB97C \uB85C\uCEEC\uB85C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4:"),Al.forEach(t),vo=h(e),v(Ke.$$.fragment,e),Mo=h(e),z=a(e,"H3",{class:!0});var Vo=i(z);Me=a(Vo,"A",{id:!0,class:!0,href:!0});var wf=i(Me);vt=a(wf,"SPAN",{});var Ef=i(vt);v(el.$$.fragment,Ef),Ef.forEach(t),wf.forEach(t),ta=h(Vo),Mt=a(Vo,"SPAN",{});var Uf=i(Mt);oa=s(Uf,"\uCD94\uB860"),Uf.forEach(t),Vo.forEach(t),yo=h(e),Cl=a(e,"P",{});var Cf=i(Cl);sa=s(Cf,"\uCD94\uB860\uC744 \uC2E4\uD589\uD558\uAE30 \uC704\uD574\uC11C, Apple\uC758 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC\uB97C \uBCF5\uC81C\uD558\uC138\uC694:"),Cf.forEach(t),_o=h(e),v(ll.$$.fragment,e),bo=h(e),ye=a(e,"P",{});var Qo=i(ye);ra=s(Qo,"\uADF8 \uB2E4\uC74C Apple\uC758 \uBA85\uB839\uC5B4 \uB3C4\uAD6C\uC778 "),tl=a(Qo,"A",{href:!0,rel:!0});var $f=i(tl);aa=s($f,"Swift \uD328\uD0A4\uC9C0 \uAD00\uB9AC\uC790"),$f.forEach(t),ia=s(Qo,"\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4:"),Qo.forEach(t),wo=h(e),v(ol.$$.fragment,e),Eo=h(e),d=a(e,"P",{});var U=i(d);yt=a(U,"CODE",{});var Jf=i(yt);fa=s(Jf,"--resource-path"),Jf.forEach(t),pa=s(U,"\uC5D0 \uC774\uC804 \uB2E8\uACC4\uC5D0\uC11C \uB2E4\uC6B4\uB85C\uB4DC\uD55C \uCCB4\uD06C\uD3EC\uC778\uD2B8 \uC911 \uD558\uB098\uB97C \uC9C0\uC815\uD574\uC57C \uD558\uBBC0\uB85C \uD655\uC7A5\uC790\uAC00 "),_t=a(U,"CODE",{});var Pf=i(_t);na=s(Pf,".mlmodelc"),Pf.forEach(t),ca=s(U,"\uC778 \uCEF4\uD30C\uC77C\uB41C Core ML \uBC88\uB4E4\uC774 \uD3EC\uD568\uB418\uC5B4 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC2DC\uAE30 \uBC14\uB78D\uB2C8\uB2E4. "),bt=a(U,"CODE",{});var Sf=i(bt);ha=s(Sf,"--compute-units"),Sf.forEach(t),ua=s(U,"\uB294 \uB2E4\uC74C \uAC12 \uC911 \uD558\uB098\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4: "),wt=a(U,"CODE",{});var Af=i(wt);da=s(Af,"all"),Af.forEach(t),ma=s(U,", "),Et=a(U,"CODE",{});var jf=i(Et);va=s(jf,"cpuOnly"),jf.forEach(t),Ma=s(U,", "),Ut=a(U,"CODE",{});var kf=i(Ut);ya=s(kf,"cpuAndGPU"),kf.forEach(t),_a=s(U,", "),Ct=a(U,"CODE",{});var Nf=i(Ct);ba=s(Nf,"cpuAndNeuralEngine"),Nf.forEach(t),wa=s(U,"."),U.forEach(t),Uo=h(e),_e=a(e,"P",{});var qo=i(_e);Ea=s(qo,"\uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),sl=a(qo,"A",{href:!0,rel:!0});var Gf=i(sl);Ua=s(Gf,"Apple\uC758 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC \uC548\uC758 \uC9C0\uCE68"),Gf.forEach(t),Ca=s(qo,"\uC744 \uCC38\uACE0\uD558\uC2DC\uAE30 \uBC14\uB78D\uB2C8\uB2E4."),qo.forEach(t),Co=h(e),K=a(e,"H2",{class:!0});var xo=i(K);be=a(xo,"A",{id:!0,class:!0,href:!0});var Tf=i(be);$t=a(Tf,"SPAN",{});var Lf=i($t);v(rl.$$.fragment,Lf),Lf.forEach(t),Tf.forEach(t),$a=h(xo),Jt=a(xo,"SPAN",{});var Df=i(Jt);Ja=s(Df,"\uC9C0\uC6D0\uB418\uB294 Diffusers \uAE30\uB2A5"),Df.forEach(t),xo.forEach(t),$o=h(e),$l=a(e,"P",{});var Zf=i($l);Pa=s(Zf,"Core ML \uBAA8\uB378\uACFC \uCD94\uB860 \uCF54\uB4DC\uB294 \u{1F9E8} Diffusers\uC758 \uB9CE\uC740 \uAE30\uB2A5, \uC635\uC158 \uBC0F \uC720\uC5F0\uC131\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB2E4\uC74C\uC740 \uC720\uC758\uD574\uC57C \uD560 \uBA87 \uAC00\uC9C0 \uC81C\uD55C \uC0AC\uD56D\uC785\uB2C8\uB2E4:"),Zf.forEach(t),Jo=h(e),X=a(e,"UL",{});var jl=i(X);Pt=a(jl,"LI",{});var Bf=i(Pt);Sa=s(Bf,"Core ML \uBAA8\uB378\uC740 \uCD94\uB860\uC5D0\uB9CC \uC801\uD569\uD569\uB2C8\uB2E4. \uD559\uC2B5\uC774\uB098 \uD30C\uC778\uD29C\uB2DD\uC5D0\uB294 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."),Bf.forEach(t),Aa=h(jl),G=a(jl,"LI",{});var Ue=i(G);ja=s(Ue,"Swift\uC5D0 \uD3EC\uD305\uB41C \uC2A4\uCF00\uC904\uB7EC\uB294 Stable Diffusion\uC5D0\uC11C \uC0AC\uC6A9\uD558\uB294 \uAE30\uBCF8 \uC2A4\uCF00\uC904\uB7EC\uC640 "),St=a(Ue,"CODE",{});var Xf=i(St);ka=s(Xf,"diffusers"),Xf.forEach(t),Na=s(Ue," \uAD6C\uD604\uC5D0\uC11C Swift\uB85C \uD3EC\uD305\uD55C "),At=a(Ue,"CODE",{});var Wf=i(At);Ga=s(Wf,"DPMSolverMultistepScheduler"),Wf.forEach(t),Ta=s(Ue," \uB450 \uAC1C\uBFD0\uC785\uB2C8\uB2E4. \uC774\uB4E4 \uC911 \uC57D \uC808\uBC18\uC758 \uC2A4\uD15D\uC73C\uB85C \uB3D9\uC77C\uD55C \uD488\uC9C8\uC744 \uC0DD\uC131\uD558\uB294 "),jt=a(Ue,"CODE",{});var If=i(jt);La=s(If,"DPMSolverMultistepScheduler"),If.forEach(t),Da=s(Ue,"\uB97C \uC0AC\uC6A9\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4."),Ue.forEach(t),Za=h(jl),kt=a(jl,"LI",{});var gf=i(kt);Ba=s(gf,"\uCD94\uB860 \uCF54\uB4DC\uC5D0\uC11C \uB124\uAC70\uD2F0\uBE0C \uD504\uB86C\uD504\uD2B8, classifier-free guidance scale \uBC0F image-to-image \uC791\uC5C5\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. depth guidance, ControlNet, latent upscalers\uC640 \uAC19\uC740 \uACE0\uAE09 \uAE30\uB2A5\uC740 \uC544\uC9C1 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."),gf.forEach(t),jl.forEach(t),Po=h(e),W=a(e,"P",{});var kl=i(W);Xa=s(kl,"Apple\uC758 "),al=a(kl,"A",{href:!0,rel:!0});var Rf=i(al);Wa=s(Rf,"\uBCC0\uD658 \uBC0F \uCD94\uB860 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC"),Rf.forEach(t),Ia=s(kl,"\uC640 \uC790\uCCB4 "),il=a(kl,"A",{href:!0,rel:!0});var Yf=i(il);ga=s(Yf,"swift-coreml-diffusers"),Yf.forEach(t),Ra=s(kl," \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC\uB294 \uB2E4\uB978 \uAC1C\uBC1C\uC790\uB4E4\uC774 \uAD6C\uCD95\uD560 \uC218 \uC788\uB294 \uAE30\uC220\uC801\uC778 \uB370\uBAA8\uC785\uB2C8\uB2E4."),kl.forEach(t),So=h(e),Jl=a(e,"P",{});var Ff=i(Jl);Ya=s(Ff,"\uB204\uB77D\uB41C \uAE30\uB2A5\uC774 \uC788\uB2E4\uACE0 \uC0DD\uAC01\uB418\uBA74 \uC5B8\uC81C\uB4E0\uC9C0 \uAE30\uB2A5\uC744 \uC694\uCCAD\uD558\uAC70\uB098, \uB354 \uC88B\uC740 \uBC29\uBC95\uC740 \uAE30\uC5EC PR\uC744 \uC5F4\uC5B4\uC8FC\uC138\uC694. :)"),Ff.forEach(t),Ao=h(e),ee=a(e,"H2",{class:!0});var Ho=i(ee);we=a(Ho,"A",{id:!0,class:!0,href:!0});var Of=i(we);Nt=a(Of,"SPAN",{});var Vf=i(Nt);v(fl.$$.fragment,Vf),Vf.forEach(t),Of.forEach(t),Fa=h(Ho),Gt=a(Ho,"SPAN",{});var Qf=i(Gt);Oa=s(Qf,"\uB124\uC774\uD2F0\uBE0C Diffusers Swift \uC571"),Qf.forEach(t),Ho.forEach(t),jo=h(e),C=a(e,"P",{});var R=i(C);Va=s(R,"\uC790\uCCB4 Apple \uD558\uB4DC\uC6E8\uC5B4\uC5D0\uC11C Stable Diffusion\uC744 \uC2E4\uD589\uD558\uB294 \uC26C\uC6B4 \uBC29\uBC95 \uC911 \uD558\uB098\uB294 "),Tt=a(R,"CODE",{});var qf=i(Tt);Qa=s(qf,"diffusers"),qf.forEach(t),qa=s(R,"\uC640 Apple\uC758 \uBCC0\uD658 \uBC0F \uCD94\uB860 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC\uB97C \uAE30\uBC18\uC73C\uB85C \uD558\uB294 "),pl=a(R,"A",{href:!0,rel:!0});var xf=i(pl);xa=s(xf,"\uC790\uCCB4 \uC624\uD508 \uC18C\uC2A4 Swift \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC"),xf.forEach(t),Ha=s(R,"\uB97C \uC0AC\uC6A9\uD558\uB294 \uAC83\uC785\uB2C8\uB2E4. \uCF54\uB4DC\uB97C \uACF5\uBD80\uD558\uACE0 "),nl=a(R,"A",{href:!0,rel:!0});var Hf=i(nl);za=s(Hf,"Xcode"),Hf.forEach(t),Ka=s(R,"\uB85C \uCEF4\uD30C\uC77C\uD558\uC5EC \uD544\uC694\uC5D0 \uB9DE\uAC8C \uC870\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uD3B8\uC758\uB97C \uC704\uD574 \uC571\uC2A4\uD1A0\uC5B4\uC5D0 "),cl=a(R,"A",{href:!0,rel:!0});var zf=i(cl);ei=s(zf,"\uB3C5\uB9BD\uD615 Mac \uC571"),zf.forEach(t),li=s(R,"\uB3C4 \uC788\uC73C\uBBC0\uB85C \uCF54\uB4DC\uB098 IDE\uB97C \uB2E4\uB8E8\uC9C0 \uC54A\uACE0\uB3C4 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uAC1C\uBC1C\uC790\uB85C\uC11C Core ML\uC774 Stable Diffusion \uC571\uC744 \uAD6C\uCD95\uD558\uB294 \uB370 \uAC00\uC7A5 \uC801\uD569\uD55C \uC194\uB8E8\uC158\uC774\uB77C\uACE0 \uD310\uB2E8\uD588\uB2E4\uBA74, \uC774 \uAC00\uC774\uB4DC\uC758 \uB098\uBA38\uC9C0 \uBD80\uBD84\uC744 \uC0AC\uC6A9\uD558\uC5EC \uD504\uB85C\uC81D\uD2B8\uB97C \uC2DC\uC791\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC5EC\uB7EC\uBD84\uC774 \uBB34\uC5C7\uC744 \uBE4C\uB4DC\uD560\uC9C0 \uAE30\uB300\uB429\uB2C8\uB2E4. :)"),R.forEach(t),this.h()},h(){n(u,"name","hf:doc:metadata"),n(u,"content",JSON.stringify(ip)),n(k,"id","core-ml-stable-diffusion"),n(k,"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"),n(k,"href","#core-ml-stable-diffusion"),n(E,"class","relative group"),n(L,"href","https://developer.apple.com/documentation/coreml"),n(L,"rel","nofollow"),n(re,"id","stable-diffusion-core-ml"),n(re,"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"),n(re,"href","#stable-diffusion-core-ml"),n(V,"class","relative group"),n(Pe,"href","https://github.com/apple/ml-stable-diffusion#-converting-models-to-core-ml"),n(Pe,"rel","nofollow"),n(Se,"href","https://huggingface.co/apple"),n(Se,"rel","nofollow"),n(Ae,"href","https://huggingface.co/coreml"),n(Ae,"rel","nofollow"),n(ke,"href","https://huggingface.co/models?pipeline_tag=text-to-image&library=coreml&p=2&sort=likes"),n(ke,"rel","nofollow"),n(Ne,"href","https://github.com/apple/ml-stable-diffusion#-converting-models-to-core-ml"),n(Ne,"rel","nofollow"),n(ie,"id","core-ml-variant"),n(ie,"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"),n(ie,"href","#core-ml-variant"),n(Q,"class","relative group"),n(De,"href","https://machinelearning.apple.com/research/neural-engine-transformers"),n(De,"rel","nofollow"),n(Ze,"href","https://huggingface.co/blog/fast-mac-diffusers#performance-benchmarks"),n(Ze,"rel","nofollow"),n(Be,"href","https://github.com/huggingface/swift-coreml-diffusers/issues/31"),n(Be,"rel","nofollow"),n(ne,"href","https://github.com/apple/ml-stable-diffusion#-converting-models-to-core-ml"),n(ne,"rel","nofollow"),n(Ie,"href","https://huggingface.co/apple/coreml-stable-diffusion-v1-4/tree/main"),n(Ie,"rel","nofollow"),n(he,"id","python-core-ml"),n(he,"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"),n(he,"href","#python-core-ml"),n(q,"class","relative group"),n(Fe,"id",""),n(ue,"id","python-inference"),n(ue,"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"),n(ue,"href","#python-inference"),n(x,"class","relative group"),n(qe,"href","https://huggingface.co/runwayml/stable-diffusion-v1-5"),n(qe,"rel","nofollow"),n(me,"id","swift-core-ml"),n(me,"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"),n(me,"href","#swift-core-ml"),n(H,"class","relative group"),n(ze,"id",""),n(Me,"id","swift-inference"),n(Me,"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"),n(Me,"href","#swift-inference"),n(z,"class","relative group"),n(tl,"href","https://www.swift.org/package-manager/#"),n(tl,"rel","nofollow"),n(sl,"href","https://github.com/apple/ml-stable-diffusion"),n(sl,"rel","nofollow"),n(be,"id","diffusers"),n(be,"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"),n(be,"href","#diffusers"),n(K,"class","relative group"),n(al,"href","https://github.com/apple/ml-stable-diffusion"),n(al,"rel","nofollow"),n(il,"href","https://github.com/huggingface/swift-coreml-diffusers"),n(il,"rel","nofollow"),n(we,"id","diffusers-swift"),n(we,"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"),n(we,"href","#diffusers-swift"),n(ee,"class","relative group"),n(pl,"href","https://github.com/huggingface/swift-coreml-diffusers"),n(pl,"rel","nofollow"),n(nl,"href","https://developer.apple.com/xcode/"),n(nl,"rel","nofollow"),n(cl,"href","https://apps.apple.com/app/diffusers/id1666309574"),n(cl,"rel","nofollow")},m(e,f){l(document.head,u),p(e,oe,f),p(e,E,f),l(E,k),l(k,Y),M($,Y,null),l(E,$e),l(E,F),l(F,O),p(e,J,f),p(e,T,f),l(T,L),l(L,zo),l(T,Ko),p(e,Zt,f),p(e,ul,f),l(ul,es),p(e,Bt,f),M(se,e,f),p(e,Xt,f),p(e,V,f),l(V,re),l(re,Nl),M(Je,Nl,null),l(V,ls),l(V,Gl),l(Gl,ts),p(e,Wt,f),p(e,dl,f),l(dl,os),p(e,It,f),p(e,D,f),l(D,ss),l(D,Tl),l(Tl,rs),l(D,as),l(D,Pe),l(Pe,is),l(D,fs),p(e,gt,f),p(e,ml,f),l(ml,ps),p(e,Rt,f),p(e,Z,f),l(Z,vl),l(vl,Se),l(Se,ns),l(vl,cs),l(Z,hs),l(Z,Ml),l(Ml,Ae),l(Ae,us),l(Ml,ds),l(Z,ms),l(Z,je),l(je,vs),l(je,ke),l(ke,Ms),l(je,ys),p(e,Yt,f),p(e,ae,f),l(ae,_s),l(ae,Ne),l(Ne,bs),l(ae,ws),p(e,Ft,f),p(e,Q,f),l(Q,ie),l(ie,Ll),M(Ge,Ll,null),l(Q,Es),l(Q,Dl),l(Dl,Us),p(e,Ot,f),p(e,yl,f),l(yl,Cs),p(e,Vt,f),p(e,fe,f),l(fe,Te),l(Te,Zl),l(Zl,$s),l(Te,Js),l(Te,Le),l(Le,pe),l(pe,Bl),l(Bl,Ps),l(pe,Ss),l(pe,De),l(De,As),l(pe,js),l(Le,ks),l(Le,P),l(P,Ns),l(P,Xl),l(Xl,Gs),l(P,Ts),l(P,Wl),l(Wl,Ls),l(P,Ds),l(P,Ze),l(Ze,Zs),l(P,Bs),l(P,Be),l(Be,Xs),l(P,Ws),l(fe,Is),l(fe,Xe),l(Xe,Il),l(Il,gs),l(Xe,Rs),l(Xe,We),l(We,_l),l(_l,gl),l(gl,Ys),l(_l,Fs),l(We,Os),l(We,S),l(S,Vs),l(S,Rl),l(Rl,Qs),l(S,qs),l(S,Yl),l(Yl,xs),l(S,Hs),l(S,ne),l(ne,Fl),l(Fl,zs),l(ne,Ks),l(S,er),l(S,Ol),l(Ol,lr),l(S,tr),p(e,Qt,f),p(e,ce,f),l(ce,or),l(ce,Ie),l(Ie,sr),l(ce,rr),p(e,qt,f),M(ge,e,f),p(e,xt,f),p(e,bl,f),l(bl,ar),p(e,Ht,f),p(e,q,f),l(q,he),l(he,Vl),M(Re,Vl,null),l(q,ir),l(q,Ql),l(Ql,fr),p(e,zt,f),p(e,wl,f),l(wl,pr),p(e,Kt,f),M(Ye,e,f),p(e,eo,f),p(e,Fe,f),l(Fe,nr),p(e,lo,f),p(e,A,f),l(A,ql),l(ql,cr),l(A,hr),l(A,xl),l(xl,ur),l(A,dr),l(A,Hl),l(Hl,mr),l(A,vr),l(A,zl),l(zl,Mr),l(A,yr),p(e,to,f),p(e,El,f),l(El,_r),p(e,oo,f),M(Oe,e,f),p(e,so,f),p(e,x,f),l(x,ue),l(ue,Kl),M(Ve,Kl,null),l(x,br),l(x,et),l(et,wr),p(e,ro,f),p(e,Ul,f),l(Ul,Er),p(e,ao,f),M(Qe,e,f),p(e,io,f),p(e,w,f),l(w,lt),l(lt,Ur),l(w,Cr),l(w,tt),l(tt,$r),l(w,Jr),l(w,ot),l(ot,Pr),l(w,Sr),l(w,st),l(st,Ar),l(w,jr),l(w,rt),l(rt,kr),l(w,Nr),l(w,at),l(at,Gr),l(w,Tr),p(e,fo,f),p(e,N,f),l(N,Lr),l(N,it),l(it,Dr),l(N,Zr),l(N,ft),l(ft,Br),l(N,Xr),l(N,pt),l(pt,Wr),l(N,Ir),p(e,po,f),p(e,de,f),l(de,gr),l(de,qe),l(qe,nt),l(nt,Rr),l(de,Yr),p(e,no,f),M(xe,e,f),p(e,co,f),p(e,H,f),l(H,me),l(me,ct),M(He,ct,null),l(H,Fr),l(H,ht),l(ht,Or),p(e,ho,f),p(e,ve,f),l(ve,Vr),l(ve,ut),l(ut,Qr),l(ve,qr),p(e,uo,f),p(e,ze,f),l(ze,xr),p(e,mo,f),p(e,B,f),l(B,Hr),l(B,dt),l(dt,zr),l(B,Kr),l(B,mt),l(mt,ea),l(B,la),p(e,vo,f),M(Ke,e,f),p(e,Mo,f),p(e,z,f),l(z,Me),l(Me,vt),M(el,vt,null),l(z,ta),l(z,Mt),l(Mt,oa),p(e,yo,f),p(e,Cl,f),l(Cl,sa),p(e,_o,f),M(ll,e,f),p(e,bo,f),p(e,ye,f),l(ye,ra),l(ye,tl),l(tl,aa),l(ye,ia),p(e,wo,f),M(ol,e,f),p(e,Eo,f),p(e,d,f),l(d,yt),l(yt,fa),l(d,pa),l(d,_t),l(_t,na),l(d,ca),l(d,bt),l(bt,ha),l(d,ua),l(d,wt),l(wt,da),l(d,ma),l(d,Et),l(Et,va),l(d,Ma),l(d,Ut),l(Ut,ya),l(d,_a),l(d,Ct),l(Ct,ba),l(d,wa),p(e,Uo,f),p(e,_e,f),l(_e,Ea),l(_e,sl),l(sl,Ua),l(_e,Ca),p(e,Co,f),p(e,K,f),l(K,be),l(be,$t),M(rl,$t,null),l(K,$a),l(K,Jt),l(Jt,Ja),p(e,$o,f),p(e,$l,f),l($l,Pa),p(e,Jo,f),p(e,X,f),l(X,Pt),l(Pt,Sa),l(X,Aa),l(X,G),l(G,ja),l(G,St),l(St,ka),l(G,Na),l(G,At),l(At,Ga),l(G,Ta),l(G,jt),l(jt,La),l(G,Da),l(X,Za),l(X,kt),l(kt,Ba),p(e,Po,f),p(e,W,f),l(W,Xa),l(W,al),l(al,Wa),l(W,Ia),l(W,il),l(il,ga),l(W,Ra),p(e,So,f),p(e,Jl,f),l(Jl,Ya),p(e,Ao,f),p(e,ee,f),l(ee,we),l(we,Nt),M(fl,Nt,null),l(ee,Fa),l(ee,Gt),l(Gt,Oa),p(e,jo,f),p(e,C,f),l(C,Va),l(C,Tt),l(Tt,Qa),l(C,qa),l(C,pl),l(pl,xa),l(C,Ha),l(C,nl),l(nl,za),l(C,Ka),l(C,cl),l(cl,ei),l(C,li),ko=!0},p(e,[f]){const hl={};f&2&&(hl.$$scope={dirty:f,ctx:e}),se.$set(hl)},i(e){ko||(y($.$$.fragment,e),y(se.$$.fragment,e),y(Je.$$.fragment,e),y(Ge.$$.fragment,e),y(ge.$$.fragment,e),y(Re.$$.fragment,e),y(Ye.$$.fragment,e),y(Oe.$$.fragment,e),y(Ve.$$.fragment,e),y(Qe.$$.fragment,e),y(xe.$$.fragment,e),y(He.$$.fragment,e),y(Ke.$$.fragment,e),y(el.$$.fragment,e),y(ll.$$.fragment,e),y(ol.$$.fragment,e),y(rl.$$.fragment,e),y(fl.$$.fragment,e),ko=!0)},o(e){_($.$$.fragment,e),_(se.$$.fragment,e),_(Je.$$.fragment,e),_(Ge.$$.fragment,e),_(ge.$$.fragment,e),_(Re.$$.fragment,e),_(Ye.$$.fragment,e),_(Oe.$$.fragment,e),_(Ve.$$.fragment,e),_(Qe.$$.fragment,e),_(xe.$$.fragment,e),_(He.$$.fragment,e),_(Ke.$$.fragment,e),_(el.$$.fragment,e),_(ll.$$.fragment,e),_(ol.$$.fragment,e),_(rl.$$.fragment,e),_(fl.$$.fragment,e),ko=!1},d(e){t(u),e&&t(oe),e&&t(E),b($),e&&t(J),e&&t(T),e&&t(Zt),e&&t(ul),e&&t(Bt),b(se,e),e&&t(Xt),e&&t(V),b(Je),e&&t(Wt),e&&t(dl),e&&t(It),e&&t(D),e&&t(gt),e&&t(ml),e&&t(Rt),e&&t(Z),e&&t(Yt),e&&t(ae),e&&t(Ft),e&&t(Q),b(Ge),e&&t(Ot),e&&t(yl),e&&t(Vt),e&&t(fe),e&&t(Qt),e&&t(ce),e&&t(qt),b(ge,e),e&&t(xt),e&&t(bl),e&&t(Ht),e&&t(q),b(Re),e&&t(zt),e&&t(wl),e&&t(Kt),b(Ye,e),e&&t(eo),e&&t(Fe),e&&t(lo),e&&t(A),e&&t(to),e&&t(El),e&&t(oo),b(Oe,e),e&&t(so),e&&t(x),b(Ve),e&&t(ro),e&&t(Ul),e&&t(ao),b(Qe,e),e&&t(io),e&&t(w),e&&t(fo),e&&t(N),e&&t(po),e&&t(de),e&&t(no),b(xe,e),e&&t(co),e&&t(H),b(He),e&&t(ho),e&&t(ve),e&&t(uo),e&&t(ze),e&&t(mo),e&&t(B),e&&t(vo),b(Ke,e),e&&t(Mo),e&&t(z),b(el),e&&t(yo),e&&t(Cl),e&&t(_o),b(ll,e),e&&t(bo),e&&t(ye),e&&t(wo),b(ol,e),e&&t(Eo),e&&t(d),e&&t(Uo),e&&t(_e),e&&t(Co),e&&t(K),b(rl),e&&t($o),e&&t($l),e&&t(Jo),e&&t(X),e&&t(Po),e&&t(W),e&&t(So),e&&t(Jl),e&&t(Ao),e&&t(ee),b(fl),e&&t(jo),e&&t(C)}}}const ip={local:"core-ml-stable-diffusion",sections:[{local:"stable-diffusion-core-ml",title:"Stable Diffusion Core ML \uCCB4\uD06C\uD3EC\uC778\uD2B8"},{local:"core-ml-variant",title:"\uC0AC\uC6A9\uD560 Core ML \uBCC0\uD615(Variant) \uC120\uD0DD\uD558\uAE30"},{local:"python-core-ml",sections:[{local:"",title:"\uBAA8\uB378 \uCCB4\uD06C\uD3EC\uC778\uD2B8 \uB2E4\uC6B4\uB85C\uB4DC\uD558\uAE30"},{local:"python-inference",title:"\uCD94\uB860"}],title:"Python\uC5D0\uC11C Core ML \uCD94\uB860"},{local:"swift-core-ml",sections:[{local:"",title:"\uB2E4\uC6B4\uB85C\uB4DC"},{local:"swift-inference",title:"\uCD94\uB860"}],title:"Swift\uC5D0\uC11C Core ML \uCD94\uB860\uD558\uAE30"},{local:"diffusers",title:"\uC9C0\uC6D0\uB418\uB294 Diffusers \uAE30\uB2A5"},{local:"diffusers-swift",title:"\uB124\uC774\uD2F0\uBE0C Diffusers Swift \uC571"}],title:"Core ML\uB85C Stable Diffusion\uC744 \uC2E4\uD589\uD558\uB294 \uBC29\uBC95"};function fp(Dt){return op(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class up extends Kf{constructor(u){super();ep(this,u,fp,ap,lp,{})}}export{up as default,ip as metadata};
