import{S as Le,i as Ye,s as He,e as a,k as f,w as pl,t as s,M as ze,c as i,d as t,m as c,a as r,x as nl,h as o,b as U,G as e,g as n,y as fl,q as cl,o as Ul,B as ml,v as lt}from"../../chunks/vendor-hf-doc-builder.js";import{T as et}from"../../chunks/Tip-hf-doc-builder.js";import{I as Xe}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as qe}from"../../chunks/CodeBlock-hf-doc-builder.js";function tt(Ml){let m,Q,M,y;return{c(){m=a("p"),Q=a("strong"),M=s("PyTorch 1.13\uC744 \uC0AC\uC6A9 \uC911\uC77C \uB54C"),y=s(" \uCD94\uAC00 \uC77C\uD68C\uC131 \uC804\uB2EC\uC744 \uC0AC\uC6A9\uD558\uC5EC \uD30C\uC774\uD504\uB77C\uC778\uC744 \u201C\uD504\uB77C\uC774\uBC0D\u201D\uD558\uB294 \uAC83\uC744 \uCD94\uCC9C\uD569\uB2C8\uB2E4. \uC774\uAC83\uC740 \uBC1C\uACAC\uD55C \uC774\uC0C1\uD55C \uBB38\uC81C\uC5D0 \uB300\uD55C \uC784\uC2DC \uD574\uACB0 \uBC29\uBC95\uC785\uB2C8\uB2E4. \uCCAB \uBC88\uC9F8 \uCD94\uB860 \uC804\uB2EC\uC740 \uD6C4\uC18D \uC804\uB2EC\uC640 \uC57D\uAC04 \uB2E4\uB978 \uACB0\uACFC\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4. \uC774 \uC804\uB2EC\uC740 \uD55C \uBC88\uB9CC \uC218\uD589\uD558\uBA74 \uB418\uBA70 \uCD94\uB860 \uB2E8\uACC4\uB97C \uD55C \uBC88\uB9CC \uC0AC\uC6A9\uD558\uACE0 \uACB0\uACFC\uB97C \uD3D0\uAE30\uD574\uB3C4 \uB429\uB2C8\uB2E4.")},l(J){m=i(J,"P",{});var u=r(m);Q=i(u,"STRONG",{});var P=r(Q);M=o(P,"PyTorch 1.13\uC744 \uC0AC\uC6A9 \uC911\uC77C \uB54C"),P.forEach(t),y=o(u," \uCD94\uAC00 \uC77C\uD68C\uC131 \uC804\uB2EC\uC744 \uC0AC\uC6A9\uD558\uC5EC \uD30C\uC774\uD504\uB77C\uC778\uC744 \u201C\uD504\uB77C\uC774\uBC0D\u201D\uD558\uB294 \uAC83\uC744 \uCD94\uCC9C\uD569\uB2C8\uB2E4. \uC774\uAC83\uC740 \uBC1C\uACAC\uD55C \uC774\uC0C1\uD55C \uBB38\uC81C\uC5D0 \uB300\uD55C \uC784\uC2DC \uD574\uACB0 \uBC29\uBC95\uC785\uB2C8\uB2E4. \uCCAB \uBC88\uC9F8 \uCD94\uB860 \uC804\uB2EC\uC740 \uD6C4\uC18D \uC804\uB2EC\uC640 \uC57D\uAC04 \uB2E4\uB978 \uACB0\uACFC\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4. \uC774 \uC804\uB2EC\uC740 \uD55C \uBC88\uB9CC \uC218\uD589\uD558\uBA74 \uB418\uBA70 \uCD94\uB860 \uB2E8\uACC4\uB97C \uD55C \uBC88\uB9CC \uC0AC\uC6A9\uD558\uACE0 \uACB0\uACFC\uB97C \uD3D0\uAE30\uD574\uB3C4 \uB429\uB2C8\uB2E4."),u.forEach(t)},m(J,u){n(J,m,u),e(m,Q),e(Q,M),e(m,y)},d(J){J&&t(m)}}}function st(Ml){let m,Q,M,y,J,u,P,K,Il,ul,v,Rl,X,Al,Dl,hl,$,Fl,yl,E,q,Bl,kl,L,Pl,Gl,Y,Nl,Zl,h,gl,H,Wl,xl,j,Kl,Xl,z,ql,Ll,ll,Yl,Hl,El,I,zl,Jl,w,le,el,ee,te,tl,se,oe,Ql,b,wl,G,ae,Tl,R,dl,A,ie,Vl,N,re,Cl,T,pe,sl,ne,fe,ol,ce,Ue,_l,D,vl,V,S,al,F,me,il,Me,bl,Z,C,ue,B,he,ye,_,Ee,rl,Je,Qe,we,Sl;return u=new Xe({}),b=new et({props:{warning:!0,$$slots:{default:[tt]},$$scope:{ctx:Ml}}}),R=new qe({props:{code:"JTIzJTIwJTYwaHVnZ2luZ2ZhY2UtY2xpJTIwbG9naW4lNjAlRUMlOTclOTAlMjAlRUIlQTElOUMlRUElQjclQjglRUMlOUQlQjglRUIlOTAlOTglRUMlOTYlQjQlMjAlRUMlOUUlODglRUMlOUQlOEMlRUMlOUQlODQlMjAlRUQlOTklOTUlRUMlOUQlQjglMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMEElMEFwaXBlJTIwJTNEJTIwRGlmZnVzaW9uUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUyMnJ1bndheW1sJTJGc3RhYmxlLWRpZmZ1c2lvbi12MS01JTIyKSUwQXBpcGUlMjAlM0QlMjBwaXBlLnRvKCUyMm1wcyUyMiklMEElMEElMjMlMjAlRUMlQkIlQjQlRUQlOTMlQTglRUQlODQlQjAlRUElQjAlODAlMjA2NEdCJTIwJUVDJTlEJUI0JUVEJTk1JTk4JUVDJTlEJTk4JTIwUkFNJTIwJUVCJTlFJUE4JUVDJTlEJUJDJTIwJUVCJTk1JThDJTIwJUVDJUI2JTk0JUVDJUIyJTlDJTBBcGlwZS5lbmFibGVfYXR0ZW50aW9uX3NsaWNpbmcoKSUwQSUwQXByb21wdCUyMCUzRCUyMCUyMmElMjBwaG90byUyMG9mJTIwYW4lMjBhc3Ryb25hdXQlMjByaWRpbmclMjBhJTIwaG9yc2UlMjBvbiUyMG1hcnMlMjIlMEElMEElMjMlMjAlRUMlQjIlOTglRUMlOUQlOEMlMjAlMjIlRUMlOUIlOEMlRUIlQjAlOEQlRUMlOTclODUlMjIlMjAlRUMlQTAlODQlRUIlOEIlQUMlMjAoJUVDJTlDJTg0JTIwJUVDJTg0JUE0JUVCJUFBJTg1JUVDJTlEJTg0JTIwJUVCJUIzJUI0JUVDJTg0JUI4JUVDJTlBJTk0KSUwQV8lMjAlM0QlMjBwaXBlKHByb21wdCUyQyUyMG51bV9pbmZlcmVuY2Vfc3RlcHMlM0QxKSUwQSUwQSUyMyUyMCVFQSVCMiVCMCVFQSVCMyVCQyVFQiU4QSU5NCUyMCVFQyU5QiU4QyVFQiVCMCU4RCVFQyU5NyU4NSUyMCVFQyVBMCU4NCVFQiU4QiVBQyUyMCVFRCU5QiU4NCVFQyU5RCU5OCUyMENQVSUyMCVFQyU5RSVBNSVFQyVCOSU5OCVFQyU5RCU5OCUyMCVFQSVCMiVCMCVFQSVCMyVCQyVFQyU5OSU4MCUyMCVFQyU5RCVCQyVFQyVCOSU5OCVFRCU5NSVBOSVFQiU4QiU4OCVFQiU4QiVBNC4lMEFpbWFnZSUyMCUzRCUyMHBpcGUocHJvbXB0KS5pbWFnZXMlNUIwJTVE",highlighted:`<span class="hljs-comment"># \`huggingface-cli login\`\uC5D0 \uB85C\uADF8\uC778\uB418\uC5B4 \uC788\uC74C\uC744 \uD655\uC778</span>
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained(<span class="hljs-string">&quot;runwayml/stable-diffusion-v1-5&quot;</span>)
pipe = pipe.to(<span class="hljs-string">&quot;mps&quot;</span>)

<span class="hljs-comment"># \uCEF4\uD4E8\uD130\uAC00 64GB \uC774\uD558\uC758 RAM \uB7A8\uC77C \uB54C \uCD94\uCC9C</span>
pipe.enable_attention_slicing()

prompt = <span class="hljs-string">&quot;a photo of an astronaut riding a horse on mars&quot;</span>

<span class="hljs-comment"># \uCC98\uC74C &quot;\uC6CC\uBC0D\uC5C5&quot; \uC804\uB2EC (\uC704 \uC124\uBA85\uC744 \uBCF4\uC138\uC694)</span>
_ = pipe(prompt, num_inference_steps=<span class="hljs-number">1</span>)

<span class="hljs-comment"># \uACB0\uACFC\uB294 \uC6CC\uBC0D\uC5C5 \uC804\uB2EC \uD6C4\uC758 CPU \uC7A5\uCE58\uC758 \uACB0\uACFC\uC640 \uC77C\uCE58\uD569\uB2C8\uB2E4.</span>
image = pipe(prompt).images[<span class="hljs-number">0</span>]`}}),D=new qe({props:{code:"cGlwZWxpbmUuZW5hYmxlX2F0dGVudGlvbl9zbGljaW5nKCk=",highlighted:"pipeline.enable_attention_slicing()"}}),F=new Xe({}),{c(){m=a("meta"),Q=f(),M=a("h1"),y=a("a"),J=a("span"),pl(u.$$.fragment),P=f(),K=a("span"),Il=s("Apple Silicon (M1/M2)\uC5D0\uC11C Stable Diffusion\uC744 \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95"),ul=f(),v=a("p"),Rl=s("Diffusers\uB294 Stable Diffusion \uCD94\uB860\uC744 \uC704\uD574 PyTorch "),X=a("code"),Al=s("mps"),Dl=s("\uB97C \uC0AC\uC6A9\uD574 Apple \uC2E4\uB9AC\uCF58\uACFC \uD638\uD658\uB429\uB2C8\uB2E4. \uB2E4\uC74C\uC740 Stable Diffusion\uC774 \uC788\uB294 M1 \uB610\uB294 M2 \uCEF4\uD4E8\uD130\uB97C \uC0AC\uC6A9\uD558\uAE30 \uC704\uD574 \uB530\uB77C\uC57C \uD558\uB294 \uB2E8\uACC4\uC785\uB2C8\uB2E4."),hl=f(),$=a("h2"),Fl=s("\uC694\uAD6C \uC0AC\uD56D"),yl=f(),E=a("ul"),q=a("li"),Bl=s("Apple silicon (M1/M2) \uD558\uB4DC\uC6E8\uC5B4\uC758 Mac \uCEF4\uD4E8\uD130."),kl=f(),L=a("li"),Pl=s("macOS 12.6 \uB610\uB294 \uC774\uD6C4 (13.0 \uB610\uB294 \uC774\uD6C4 \uCD94\uCC9C)."),Gl=f(),Y=a("li"),Nl=s("Python arm64 \uBC84\uC804"),Zl=f(),h=a("li"),gl=s("PyTorch 2.0(\uCD94\uCC9C) \uB610\uB294 1.13("),H=a("code"),Wl=s("mps"),xl=s("\uB97C \uC9C0\uC6D0\uD558\uB294 \uCD5C\uC18C \uBC84\uC804). Y"),j=a("a"),Kl=s("https://pytorch.org/get-started/locally/\uC758"),Xl=s(" \uC9C0\uCE68\uC5D0 \uB530\uB77C "),z=a("code"),ql=s("pip"),Ll=s(" \uB610\uB294 "),ll=a("code"),Yl=s("conda"),Hl=s("\uB85C \uC124\uCE58\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),El=f(),I=a("h2"),zl=s("\uCD94\uB860 \uD30C\uC774\uD504\uB77C\uC778"),Jl=f(),w=a("p"),le=s("\uC544\uB798 \uCF54\uB3C4\uB294 \uC775\uC219\uD55C "),el=a("code"),ee=s("to()"),te=s(" \uC778\uD130\uD398\uC774\uC2A4\uB97C \uC0AC\uC6A9\uD558\uC5EC "),tl=a("code"),se=s("mps"),oe=s(" \uBC31\uC5D4\uB4DC\uB85C Stable Diffusion \uD30C\uC774\uD504\uB77C\uC778\uC744 M1 \uB610\uB294 M2 \uC7A5\uCE58\uB85C \uC774\uB3D9\uD558\uB294 \uBC29\uBC95\uC744 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4."),Ql=f(),pl(b.$$.fragment),wl=f(),G=a("p"),ae=s("\uC774\uC804 \uD301\uC5D0\uC11C \uC124\uBA85\uD55C \uAC83\uB4E4\uC744 \uD3EC\uD568\uD55C \uC5EC\uB7EC \uBB38\uC81C\uB97C \uD574\uACB0\uD558\uBBC0\uB85C PyTorch 2 \uC774\uC0C1\uC744 \uC0AC\uC6A9\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4."),Tl=f(),pl(R.$$.fragment),dl=f(),A=a("h2"),ie=s("\uC131\uB2A5 \uCD94\uCC9C"),Vl=f(),N=a("p"),re=s("M1/M2 \uC131\uB2A5\uC740 \uBA54\uBAA8\uB9AC \uC555\uB825\uC5D0 \uB9E4\uC6B0 \uBBFC\uAC10\uD569\uB2C8\uB2E4. \uC2DC\uC2A4\uD15C\uC740 \uD544\uC694\uD55C \uACBD\uC6B0 \uC790\uB3D9\uC73C\uB85C \uC2A4\uC651\uB418\uC9C0\uB9CC \uC2A4\uC651\uD560 \uB54C \uC131\uB2A5\uC774 \uD06C\uAC8C \uC800\uD558\uB429\uB2C8\uB2E4."),Cl=f(),T=a("p"),pe=s("\uD2B9\uD788 \uCEF4\uD4E8\uD130\uC758 \uC2DC\uC2A4\uD15C RAM\uC774 64GB \uBBF8\uB9CC\uC774\uAC70\uB098 512 \xD7 512\uD53D\uC140\uBCF4\uB2E4 \uD070 \uBE44\uD45C\uC900 \uD574\uC0C1\uB3C4\uC5D0\uC11C \uC774\uBBF8\uC9C0\uB97C \uC0DD\uC131\uD558\uB294 \uACBD\uC6B0, \uCD94\uB860 \uC911\uC5D0 \uBA54\uBAA8\uB9AC \uC555\uB825\uC744 \uC904\uC774\uACE0 \uC2A4\uC640\uD551\uC744 \uBC29\uC9C0\uD558\uAE30 \uC704\uD574 "),sl=a("em"),ne=s("\uC5B4\uD150\uC158 \uC2AC\uB77C\uC774\uC2F1"),fe=s("\uC744 \uC0AC\uC6A9\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4. \uC5B4\uD150\uC158 \uC2AC\uB77C\uC774\uC2F1\uC740 \uBE44\uC6A9\uC774 \uB9CE\uC774 \uB4DC\uB294 \uC5B4\uD150\uC158 \uC791\uC5C5\uC744 \uD55C \uBC88\uC5D0 \uBAA8\uB450 \uC218\uD589\uD558\uB294 \uB300\uC2E0 \uC5EC\uB7EC \uB2E8\uACC4\uB85C \uC218\uD589\uD569\uB2C8\uB2E4. \uC77C\uBC18\uC801\uC73C\uB85C \uBC94\uC6A9 \uBA54\uBAA8\uB9AC\uAC00 \uC5C6\uB294 \uCEF4\uD4E8\uD130\uC5D0\uC11C ~20%\uC758 \uC131\uB2A5 \uC601\uD5A5\uC744 \uBBF8\uCE58\uC9C0\uB9CC 64GB \uC774\uC0C1\uC774 \uC544\uB2CC \uACBD\uC6B0 \uB300\uBD80\uBD84\uC758 Apple Silicon \uCEF4\uD4E8\uD130\uC5D0\uC11C "),ol=a("em"),ce=s("\uB354 \uB098\uC740 \uC131\uB2A5"),Ue=s("\uC774 \uAD00\uCC30\uB418\uC5C8\uC2B5\uB2C8\uB2E4."),_l=f(),pl(D.$$.fragment),vl=f(),V=a("h2"),S=a("a"),al=a("span"),pl(F.$$.fragment),me=f(),il=a("span"),Me=s("Known Issues"),bl=f(),Z=a("ul"),C=a("li"),ue=s("\uC5EC\uB7EC \uD504\uB86C\uD504\uD2B8\uB97C \uBC30\uCE58\uB85C \uC0DD\uC131\uD558\uB294 \uAC83\uC740 "),B=a("a"),he=s("\uCDA9\uB3CC\uC774 \uBC1C\uC0DD\uD558\uAC70\uB098 \uC548\uC815\uC801\uC73C\uB85C \uC791\uB3D9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4"),ye=s(". \uC6B0\uB9AC\uB294 \uC774\uAC83\uC774 "),_=a("a"),Ee=s("PyTorch\uC758 "),rl=a("code"),Je=s("mps"),Qe=s(" \uBC31\uC5D4\uB4DC"),we=s("\uC640 \uAD00\uB828\uC774 \uC788\uB2E4\uACE0 \uC0DD\uAC01\uD569\uB2C8\uB2E4. \uC774 \uBB38\uC81C\uB294 \uD574\uACB0\uB418\uACE0 \uC788\uC9C0\uB9CC \uC9C0\uAE08\uC740 \uBC30\uCE58 \uB300\uC2E0 \uBC18\uBCF5 \uBC29\uBC95\uC744 \uC0AC\uC6A9\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4."),this.h()},l(l){const p=ze('[data-svelte="svelte-1phssyn"]',document.head);m=i(p,"META",{name:!0,content:!0}),p.forEach(t),Q=c(l),M=i(l,"H1",{class:!0});var k=r(M);y=i(k,"A",{id:!0,class:!0,href:!0});var Te=r(y);J=i(Te,"SPAN",{});var de=r(J);nl(u.$$.fragment,de),de.forEach(t),Te.forEach(t),P=c(k),K=i(k,"SPAN",{});var Ve=r(K);Il=o(Ve,"Apple Silicon (M1/M2)\uC5D0\uC11C Stable Diffusion\uC744 \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95"),Ve.forEach(t),k.forEach(t),ul=c(l),v=i(l,"P",{});var Ol=r(v);Rl=o(Ol,"Diffusers\uB294 Stable Diffusion \uCD94\uB860\uC744 \uC704\uD574 PyTorch "),X=i(Ol,"CODE",{});var Ce=r(X);Al=o(Ce,"mps"),Ce.forEach(t),Dl=o(Ol,"\uB97C \uC0AC\uC6A9\uD574 Apple \uC2E4\uB9AC\uCF58\uACFC \uD638\uD658\uB429\uB2C8\uB2E4. \uB2E4\uC74C\uC740 Stable Diffusion\uC774 \uC788\uB294 M1 \uB610\uB294 M2 \uCEF4\uD4E8\uD130\uB97C \uC0AC\uC6A9\uD558\uAE30 \uC704\uD574 \uB530\uB77C\uC57C \uD558\uB294 \uB2E8\uACC4\uC785\uB2C8\uB2E4."),Ol.forEach(t),hl=c(l),$=i(l,"H2",{id:!0});var _e=r($);Fl=o(_e,"\uC694\uAD6C \uC0AC\uD56D"),_e.forEach(t),yl=c(l),E=i(l,"UL",{});var O=r(E);q=i(O,"LI",{});var ve=r(q);Bl=o(ve,"Apple silicon (M1/M2) \uD558\uB4DC\uC6E8\uC5B4\uC758 Mac \uCEF4\uD4E8\uD130."),ve.forEach(t),kl=c(O),L=i(O,"LI",{});var be=r(L);Pl=o(be,"macOS 12.6 \uB610\uB294 \uC774\uD6C4 (13.0 \uB610\uB294 \uC774\uD6C4 \uCD94\uCC9C)."),be.forEach(t),Gl=c(O),Y=i(O,"LI",{});var Se=r(Y);Nl=o(Se,"Python arm64 \uBC84\uC804"),Se.forEach(t),Zl=c(O),h=i(O,"LI",{});var d=r(h);gl=o(d,"PyTorch 2.0(\uCD94\uCC9C) \uB610\uB294 1.13("),H=i(d,"CODE",{});var Oe=r(H);Wl=o(Oe,"mps"),Oe.forEach(t),xl=o(d,"\uB97C \uC9C0\uC6D0\uD558\uB294 \uCD5C\uC18C \uBC84\uC804). Y"),j=i(d,"A",{href:!0,rel:!0});var $e=r(j);Kl=o($e,"https://pytorch.org/get-started/locally/\uC758"),$e.forEach(t),Xl=o(d," \uC9C0\uCE68\uC5D0 \uB530\uB77C "),z=i(d,"CODE",{});var je=r(z);ql=o(je,"pip"),je.forEach(t),Ll=o(d," \uB610\uB294 "),ll=i(d,"CODE",{});var Ie=r(ll);Yl=o(Ie,"conda"),Ie.forEach(t),Hl=o(d,"\uB85C \uC124\uCE58\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),d.forEach(t),O.forEach(t),El=c(l),I=i(l,"H2",{id:!0});var Re=r(I);zl=o(Re,"\uCD94\uB860 \uD30C\uC774\uD504\uB77C\uC778"),Re.forEach(t),Jl=c(l),w=i(l,"P",{});var g=r(w);le=o(g,"\uC544\uB798 \uCF54\uB3C4\uB294 \uC775\uC219\uD55C "),el=i(g,"CODE",{});var Ae=r(el);ee=o(Ae,"to()"),Ae.forEach(t),te=o(g," \uC778\uD130\uD398\uC774\uC2A4\uB97C \uC0AC\uC6A9\uD558\uC5EC "),tl=i(g,"CODE",{});var De=r(tl);se=o(De,"mps"),De.forEach(t),oe=o(g," \uBC31\uC5D4\uB4DC\uB85C Stable Diffusion \uD30C\uC774\uD504\uB77C\uC778\uC744 M1 \uB610\uB294 M2 \uC7A5\uCE58\uB85C \uC774\uB3D9\uD558\uB294 \uBC29\uBC95\uC744 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4."),g.forEach(t),Ql=c(l),nl(b.$$.fragment,l),wl=c(l),G=i(l,"P",{});var Fe=r(G);ae=o(Fe,"\uC774\uC804 \uD301\uC5D0\uC11C \uC124\uBA85\uD55C \uAC83\uB4E4\uC744 \uD3EC\uD568\uD55C \uC5EC\uB7EC \uBB38\uC81C\uB97C \uD574\uACB0\uD558\uBBC0\uB85C PyTorch 2 \uC774\uC0C1\uC744 \uC0AC\uC6A9\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4."),Fe.forEach(t),Tl=c(l),nl(R.$$.fragment,l),dl=c(l),A=i(l,"H2",{id:!0});var Be=r(A);ie=o(Be,"\uC131\uB2A5 \uCD94\uCC9C"),Be.forEach(t),Vl=c(l),N=i(l,"P",{});var ke=r(N);re=o(ke,"M1/M2 \uC131\uB2A5\uC740 \uBA54\uBAA8\uB9AC \uC555\uB825\uC5D0 \uB9E4\uC6B0 \uBBFC\uAC10\uD569\uB2C8\uB2E4. \uC2DC\uC2A4\uD15C\uC740 \uD544\uC694\uD55C \uACBD\uC6B0 \uC790\uB3D9\uC73C\uB85C \uC2A4\uC651\uB418\uC9C0\uB9CC \uC2A4\uC651\uD560 \uB54C \uC131\uB2A5\uC774 \uD06C\uAC8C \uC800\uD558\uB429\uB2C8\uB2E4."),ke.forEach(t),Cl=c(l),T=i(l,"P",{});var W=r(T);pe=o(W,"\uD2B9\uD788 \uCEF4\uD4E8\uD130\uC758 \uC2DC\uC2A4\uD15C RAM\uC774 64GB \uBBF8\uB9CC\uC774\uAC70\uB098 512 \xD7 512\uD53D\uC140\uBCF4\uB2E4 \uD070 \uBE44\uD45C\uC900 \uD574\uC0C1\uB3C4\uC5D0\uC11C \uC774\uBBF8\uC9C0\uB97C \uC0DD\uC131\uD558\uB294 \uACBD\uC6B0, \uCD94\uB860 \uC911\uC5D0 \uBA54\uBAA8\uB9AC \uC555\uB825\uC744 \uC904\uC774\uACE0 \uC2A4\uC640\uD551\uC744 \uBC29\uC9C0\uD558\uAE30 \uC704\uD574 "),sl=i(W,"EM",{});var Pe=r(sl);ne=o(Pe,"\uC5B4\uD150\uC158 \uC2AC\uB77C\uC774\uC2F1"),Pe.forEach(t),fe=o(W,"\uC744 \uC0AC\uC6A9\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4. \uC5B4\uD150\uC158 \uC2AC\uB77C\uC774\uC2F1\uC740 \uBE44\uC6A9\uC774 \uB9CE\uC774 \uB4DC\uB294 \uC5B4\uD150\uC158 \uC791\uC5C5\uC744 \uD55C \uBC88\uC5D0 \uBAA8\uB450 \uC218\uD589\uD558\uB294 \uB300\uC2E0 \uC5EC\uB7EC \uB2E8\uACC4\uB85C \uC218\uD589\uD569\uB2C8\uB2E4. \uC77C\uBC18\uC801\uC73C\uB85C \uBC94\uC6A9 \uBA54\uBAA8\uB9AC\uAC00 \uC5C6\uB294 \uCEF4\uD4E8\uD130\uC5D0\uC11C ~20%\uC758 \uC131\uB2A5 \uC601\uD5A5\uC744 \uBBF8\uCE58\uC9C0\uB9CC 64GB \uC774\uC0C1\uC774 \uC544\uB2CC \uACBD\uC6B0 \uB300\uBD80\uBD84\uC758 Apple Silicon \uCEF4\uD4E8\uD130\uC5D0\uC11C "),ol=i(W,"EM",{});var Ge=r(ol);ce=o(Ge,"\uB354 \uB098\uC740 \uC131\uB2A5"),Ge.forEach(t),Ue=o(W,"\uC774 \uAD00\uCC30\uB418\uC5C8\uC2B5\uB2C8\uB2E4."),W.forEach(t),_l=c(l),nl(D.$$.fragment,l),vl=c(l),V=i(l,"H2",{class:!0});var $l=r(V);S=i($l,"A",{id:!0,class:!0,href:!0});var Ne=r(S);al=i(Ne,"SPAN",{});var Ze=r(al);nl(F.$$.fragment,Ze),Ze.forEach(t),Ne.forEach(t),me=c($l),il=i($l,"SPAN",{});var ge=r(il);Me=o(ge,"Known Issues"),ge.forEach(t),$l.forEach(t),bl=c(l),Z=i(l,"UL",{});var We=r(Z);C=i(We,"LI",{});var x=r(C);ue=o(x,"\uC5EC\uB7EC \uD504\uB86C\uD504\uD2B8\uB97C \uBC30\uCE58\uB85C \uC0DD\uC131\uD558\uB294 \uAC83\uC740 "),B=i(x,"A",{href:!0,rel:!0});var xe=r(B);he=o(xe,"\uCDA9\uB3CC\uC774 \uBC1C\uC0DD\uD558\uAC70\uB098 \uC548\uC815\uC801\uC73C\uB85C \uC791\uB3D9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4"),xe.forEach(t),ye=o(x,". \uC6B0\uB9AC\uB294 \uC774\uAC83\uC774 "),_=i(x,"A",{href:!0,rel:!0});var jl=r(_);Ee=o(jl,"PyTorch\uC758 "),rl=i(jl,"CODE",{});var Ke=r(rl);Je=o(Ke,"mps"),Ke.forEach(t),Qe=o(jl," \uBC31\uC5D4\uB4DC"),jl.forEach(t),we=o(x,"\uC640 \uAD00\uB828\uC774 \uC788\uB2E4\uACE0 \uC0DD\uAC01\uD569\uB2C8\uB2E4. \uC774 \uBB38\uC81C\uB294 \uD574\uACB0\uB418\uACE0 \uC788\uC9C0\uB9CC \uC9C0\uAE08\uC740 \uBC30\uCE58 \uB300\uC2E0 \uBC18\uBCF5 \uBC29\uBC95\uC744 \uC0AC\uC6A9\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4."),x.forEach(t),We.forEach(t),this.h()},h(){U(m,"name","hf:doc:metadata"),U(m,"content",JSON.stringify(ot)),U(y,"id","apple-silicon-m1m2-stable-diffusion"),U(y,"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"),U(y,"href","#apple-silicon-m1m2-stable-diffusion"),U(M,"class","relative group"),U($,"id",""),U(j,"href","https://pytorch.org/get-started/locally/%EC%9D%98"),U(j,"rel","nofollow"),U(I,"id",""),U(A,"id",""),U(S,"id","known-issues"),U(S,"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"),U(S,"href","#known-issues"),U(V,"class","relative group"),U(B,"href","https://github.com/huggingface/diffusers/issues/363"),U(B,"rel","nofollow"),U(_,"href","https://github.com/pytorch/pytorch/issues/84039"),U(_,"rel","nofollow")},m(l,p){e(document.head,m),n(l,Q,p),n(l,M,p),e(M,y),e(y,J),fl(u,J,null),e(M,P),e(M,K),e(K,Il),n(l,ul,p),n(l,v,p),e(v,Rl),e(v,X),e(X,Al),e(v,Dl),n(l,hl,p),n(l,$,p),e($,Fl),n(l,yl,p),n(l,E,p),e(E,q),e(q,Bl),e(E,kl),e(E,L),e(L,Pl),e(E,Gl),e(E,Y),e(Y,Nl),e(E,Zl),e(E,h),e(h,gl),e(h,H),e(H,Wl),e(h,xl),e(h,j),e(j,Kl),e(h,Xl),e(h,z),e(z,ql),e(h,Ll),e(h,ll),e(ll,Yl),e(h,Hl),n(l,El,p),n(l,I,p),e(I,zl),n(l,Jl,p),n(l,w,p),e(w,le),e(w,el),e(el,ee),e(w,te),e(w,tl),e(tl,se),e(w,oe),n(l,Ql,p),fl(b,l,p),n(l,wl,p),n(l,G,p),e(G,ae),n(l,Tl,p),fl(R,l,p),n(l,dl,p),n(l,A,p),e(A,ie),n(l,Vl,p),n(l,N,p),e(N,re),n(l,Cl,p),n(l,T,p),e(T,pe),e(T,sl),e(sl,ne),e(T,fe),e(T,ol),e(ol,ce),e(T,Ue),n(l,_l,p),fl(D,l,p),n(l,vl,p),n(l,V,p),e(V,S),e(S,al),fl(F,al,null),e(V,me),e(V,il),e(il,Me),n(l,bl,p),n(l,Z,p),e(Z,C),e(C,ue),e(C,B),e(B,he),e(C,ye),e(C,_),e(_,Ee),e(_,rl),e(rl,Je),e(_,Qe),e(C,we),Sl=!0},p(l,[p]){const k={};p&2&&(k.$$scope={dirty:p,ctx:l}),b.$set(k)},i(l){Sl||(cl(u.$$.fragment,l),cl(b.$$.fragment,l),cl(R.$$.fragment,l),cl(D.$$.fragment,l),cl(F.$$.fragment,l),Sl=!0)},o(l){Ul(u.$$.fragment,l),Ul(b.$$.fragment,l),Ul(R.$$.fragment,l),Ul(D.$$.fragment,l),Ul(F.$$.fragment,l),Sl=!1},d(l){t(m),l&&t(Q),l&&t(M),ml(u),l&&t(ul),l&&t(v),l&&t(hl),l&&t($),l&&t(yl),l&&t(E),l&&t(El),l&&t(I),l&&t(Jl),l&&t(w),l&&t(Ql),ml(b,l),l&&t(wl),l&&t(G),l&&t(Tl),ml(R,l),l&&t(dl),l&&t(A),l&&t(Vl),l&&t(N),l&&t(Cl),l&&t(T),l&&t(_l),ml(D,l),l&&t(vl),l&&t(V),ml(F),l&&t(bl),l&&t(Z)}}}const ot={local:"apple-silicon-m1m2-stable-diffusion",sections:[{local:"",title:"\uC694\uAD6C \uC0AC\uD56D"},{local:"",title:"\uCD94\uB860 \uD30C\uC774\uD504\uB77C\uC778"},{local:"",title:"\uC131\uB2A5 \uCD94\uCC9C"},{local:"known-issues",title:"Known Issues"}],title:"Apple Silicon (M1/M2)\uC5D0\uC11C Stable Diffusion\uC744 \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95"};function at(Ml){return lt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ft extends Le{constructor(m){super();Ye(this,m,at,st,He,{})}}export{ft as default,ot as metadata};
