import{S as Vl,i as Sl,s as kl,e as o,k as n,w as U,t as r,M as Yl,c as f,d as t,m as c,a as p,x as h,h as s,b as u,N as al,G as a,g as i,y as d,q as y,o as $,B as E,v as xl}from"../../chunks/vendor-hf-doc-builder.js";import{T as Ql}from"../../chunks/Tip-hf-doc-builder.js";import{I as Tl}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as A}from"../../chunks/CodeBlock-hf-doc-builder.js";function zl(We){let m,C;return{c(){m=o("p"),C=r("\u{1F4A1} \uC804\uCCB4 \uD559\uC2B5\uC740 V100 GPU 4\uAC1C\uB97C \uC0AC\uC6A9\uD560 \uACBD\uC6B0, 2\uC2DC\uAC04\uC774 \uC18C\uC694\uB429\uB2C8\uB2E4.")},l(M){m=f(M,"P",{});var _=p(m);C=s(_,"\u{1F4A1} \uC804\uCCB4 \uD559\uC2B5\uC740 V100 GPU 4\uAC1C\uB97C \uC0AC\uC6A9\uD560 \uACBD\uC6B0, 2\uC2DC\uAC04\uC774 \uC18C\uC694\uB429\uB2C8\uB2E4."),_.forEach(t)},m(M,_){i(M,m,_),a(m,C)},d(M){M&&t(m)}}}function Fl(We){let m,C,M,_,Me,V,ut,_e,mt,Ce,oe,Mt,Ne,w,il,Ze,N,_t,S,Ut,ht,Xe,fe,dt,ge,k,Je,Z,yt,Y,$t,Et,Ge,x,Re,X,bt,Q,jt,wt,Te,z,Ve,pe,vt,Se,F,ke,L,At,Ye,ne,Wt,xe,I,Qe,P,Ct,ze,ce,Nt,Fe,B,Le,v,Zt,Ue,Xt,gt,he,Jt,Gt,Ie,q,Pe,H,Rt,Be,b,Tt,de,Vt,St,ye,kt,Yt,ue,xt,Qt,qe,g,zt,$e,Ft,Lt,He,J,De,G,It,D,Pt,Bt,Oe,O,Ke,K,Ee,rl,et,ee,tt,te,be,sl,lt,W,R,je,le,qt,we,Ht,at,j,ve,Dt,Ot,Ae,Kt,el,ae,tl,ll,it,ie,rt;return V=new Tl({}),k=new A({props:{code:"cGlwJTIwaW5zdGFsbCUyMGRpZmZ1c2VycyU1QnRyYWluaW5nJTVEJTIwYWNjZWxlcmF0ZSUyMGRhdGFzZXRz",highlighted:"pip install diffusers[training] accelerate datasets"}}),x=new A({props:{code:"YWNjZWxlcmF0ZSUyMGNvbmZpZw==",highlighted:"accelerate config"}}),z=new A({props:{code:"YWNjZWxlcmF0ZSUyMGNvbmZpZyUyMGRlZmF1bHQ=",highlighted:"accelerate config default"}}),F=new A({props:{code:"ZnJvbSUyMGFjY2VsZXJhdGUudXRpbHMlMjBpbXBvcnQlMjB3cml0ZV9iYXNpY19jb25maWclMEElMEF3cml0ZV9iYXNpY19jb25maWcoKQ==",highlighted:`<span class="hljs-keyword">from</span> accelerate.utils <span class="hljs-keyword">import</span> write_basic_config

write_basic_config()`}}),I=new A({props:{code:"LS1wdXNoX3RvX2h1Yg==",highlighted:"--push_to_hub"}}),B=new A({props:{code:"LS1jaGVja3BvaW50aW5nX3N0ZXBzJTNENTAw",highlighted:"--checkpointing_steps=500"}}),q=new A({props:{code:"LS1yZXN1bWVfZnJvbV9jaGVja3BvaW50JTNEJTIyY2hlY2twb2ludC0xNTAwJTIy",highlighted:'--resume_from_checkpoint=<span class="hljs-string">&quot;checkpoint-1500&quot;</span>'}}),J=new Ql({props:{$$slots:{default:[zl]},$$scope:{ctx:We}}}),O=new A({props:{code:"YWNjZWxlcmF0ZSUyMGxhdW5jaCUyMHRyYWluX3VuY29uZGl0aW9uYWwucHklMjAlNUMlMEElMjAlMjAtLWRhdGFzZXRfbmFtZSUzRCUyMmh1Z2dhbiUyRmZsb3dlcnMtMTAyLWNhdGVnb3JpZXMlMjIlMjAlNUMlMEElMjAlMjAtLXJlc29sdXRpb24lM0Q2NCUyMCU1QyUwQSUyMCUyMC0tb3V0cHV0X2RpciUzRCUyMmRkcG0tZW1hLWZsb3dlcnMtNjQlMjIlMjAlNUMlMEElMjAlMjAtLXRyYWluX2JhdGNoX3NpemUlM0QxNiUyMCU1QyUwQSUyMCUyMC0tbnVtX2Vwb2NocyUzRDEwMCUyMCU1QyUwQSUyMCUyMC0tZ3JhZGllbnRfYWNjdW11bGF0aW9uX3N0ZXBzJTNEMSUyMCU1QyUwQSUyMCUyMC0tbGVhcm5pbmdfcmF0ZSUzRDFlLTQlMjAlNUMlMEElMjAlMjAtLWxyX3dhcm11cF9zdGVwcyUzRDUwMCUyMCU1QyUwQSUyMCUyMC0tbWl4ZWRfcHJlY2lzaW9uJTNEbm8lMjAlNUMlMEElMjAlMjAtLXB1c2hfdG9faHVi",highlighted:`accelerate launch train_unconditional.py \\
  --dataset_name=<span class="hljs-string">&quot;huggan/flowers-102-categories&quot;</span> \\
  --resolution=64 \\
  --output_dir=<span class="hljs-string">&quot;ddpm-ema-flowers-64&quot;</span> \\
  --train_batch_size=16 \\
  --num_epochs=100 \\
  --gradient_accumulation_steps=1 \\
  --learning_rate=1e-4 \\
  --lr_warmup_steps=500 \\
  --mixed_precision=no \\
  --push_to_hub`}}),ee=new A({props:{code:"YWNjZWxlcmF0ZSUyMGxhdW5jaCUyMHRyYWluX3VuY29uZGl0aW9uYWwucHklMjAlNUMlMEElMjAlMjAtLWRhdGFzZXRfbmFtZSUzRCUyMmh1Z2dhbiUyRnBva2Vtb24lMjIlMjAlNUMlMEElMjAlMjAtLXJlc29sdXRpb24lM0Q2NCUyMCU1QyUwQSUyMCUyMC0tb3V0cHV0X2RpciUzRCUyMmRkcG0tZW1hLXBva2Vtb24tNjQlMjIlMjAlNUMlMEElMjAlMjAtLXRyYWluX2JhdGNoX3NpemUlM0QxNiUyMCU1QyUwQSUyMCUyMC0tbnVtX2Vwb2NocyUzRDEwMCUyMCU1QyUwQSUyMCUyMC0tZ3JhZGllbnRfYWNjdW11bGF0aW9uX3N0ZXBzJTNEMSUyMCU1QyUwQSUyMCUyMC0tbGVhcm5pbmdfcmF0ZSUzRDFlLTQlMjAlNUMlMEElMjAlMjAtLWxyX3dhcm11cF9zdGVwcyUzRDUwMCUyMCU1QyUwQSUyMCUyMC0tbWl4ZWRfcHJlY2lzaW9uJTNEbm8lMjAlNUMlMEElMjAlMjAtLXB1c2hfdG9faHVi",highlighted:`accelerate launch train_unconditional.py \\
  --dataset_name=<span class="hljs-string">&quot;huggan/pokemon&quot;</span> \\
  --resolution=64 \\
  --output_dir=<span class="hljs-string">&quot;ddpm-ema-pokemon-64&quot;</span> \\
  --train_batch_size=16 \\
  --num_epochs=100 \\
  --gradient_accumulation_steps=1 \\
  --learning_rate=1e-4 \\
  --lr_warmup_steps=500 \\
  --mixed_precision=no \\
  --push_to_hub`}}),le=new Tl({}),ie=new A({props:{code:"YWNjZWxlcmF0ZSUyMGxhdW5jaCUyMC0tbWl4ZWRfcHJlY2lzaW9uJTNEJTIyZnAxNiUyMiUyMC0tbXVsdGlfZ3B1JTIwdHJhaW5fdW5jb25kaXRpb25hbC5weSUyMCU1QyUwQSUyMCUyMC0tZGF0YXNldF9uYW1lJTNEJTIyaHVnZ2FuJTJGcG9rZW1vbiUyMiUyMCU1QyUwQSUyMCUyMC0tcmVzb2x1dGlvbiUzRDY0JTIwLS1jZW50ZXJfY3JvcCUyMC0tcmFuZG9tX2ZsaXAlMjAlNUMlMEElMjAlMjAtLW91dHB1dF9kaXIlM0QlMjJkZHBtLWVtYS1wb2tlbW9uLTY0JTIyJTIwJTVDJTBBJTIwJTIwLS10cmFpbl9iYXRjaF9zaXplJTNEMTYlMjAlNUMlMEElMjAlMjAtLW51bV9lcG9jaHMlM0QxMDAlMjAlNUMlMEElMjAlMjAtLWdyYWRpZW50X2FjY3VtdWxhdGlvbl9zdGVwcyUzRDElMjAlNUMlMEElMjAlMjAtLXVzZV9lbWElMjAlNUMlMEElMjAlMjAtLWxlYXJuaW5nX3JhdGUlM0QxZS00JTIwJTVDJTBBJTIwJTIwLS1scl93YXJtdXBfc3RlcHMlM0Q1MDAlMjAlNUMlMEElMjAlMjAtLW1peGVkX3ByZWNpc2lvbiUzRCUyMmZwMTYlMjIlMjAlNUMlMEElMjAlMjAtLWxvZ2dlciUzRCUyMndhbmRiJTIyJTIwJTVDJTBBJTIwJTIwLS1wdXNoX3RvX2h1Yg==",highlighted:`accelerate launch --mixed_precision=<span class="hljs-string">&quot;fp16&quot;</span> --multi_gpu train_unconditional.py \\
  --dataset_name=<span class="hljs-string">&quot;huggan/pokemon&quot;</span> \\
  --resolution=64 --center_crop --random_flip \\
  --output_dir=<span class="hljs-string">&quot;ddpm-ema-pokemon-64&quot;</span> \\
  --train_batch_size=16 \\
  --num_epochs=100 \\
  --gradient_accumulation_steps=1 \\
  --use_ema \\
  --learning_rate=1e-4 \\
  --lr_warmup_steps=500 \\
  --mixed_precision=<span class="hljs-string">&quot;fp16&quot;</span> \\
  --logger=<span class="hljs-string">&quot;wandb&quot;</span> \\
  --push_to_hub`}}),{c(){m=o("meta"),C=n(),M=o("h1"),_=o("a"),Me=o("span"),U(V.$$.fragment),ut=n(),_e=o("span"),mt=r("Unconditional \uC774\uBBF8\uC9C0 \uC0DD\uC131"),Ce=n(),oe=o("p"),Mt=r("unconditional \uC774\uBBF8\uC9C0 \uC0DD\uC131\uC740 text-to-image \uB610\uB294 image-to-image \uBAA8\uB378\uACFC \uB2EC\uB9AC \uD14D\uC2A4\uD2B8\uB098 \uC774\uBBF8\uC9C0\uC5D0 \uB300\uD55C \uC870\uAC74\uC774 \uC5C6\uC774 \uD559\uC2B5 \uB370\uC774\uD130 \uBD84\uD3EC\uC640 \uC720\uC0AC\uD55C \uC774\uBBF8\uC9C0\uB9CC\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4."),Ne=n(),w=o("iframe"),Ze=n(),N=o("p"),_t=r("\uC774 \uAC00\uC774\uB4DC\uC5D0\uC11C\uB294 \uAE30\uC874\uC5D0 \uC874\uC7AC\uD558\uB358 \uB370\uC774\uD130\uC14B\uACFC \uC790\uC2E0\uB9CC\uC758 \uCEE4\uC2A4\uD140 \uB370\uC774\uD130\uC14B\uC5D0 \uB300\uD574 unconditional image generation \uBAA8\uB378\uC744 \uD6C8\uB828\uD558\uB294 \uBC29\uBC95\uC744 \uC124\uBA85\uD569\uB2C8\uB2E4. \uD6C8\uB828 \uC138\uBD80 \uC0AC\uD56D\uC5D0 \uB300\uD574 \uB354 \uC790\uC138\uD788 \uC54C\uACE0 \uC2F6\uB2E4\uBA74 unconditional image generation\uC744 \uC704\uD55C \uBAA8\uB4E0 \uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uB97C "),S=o("a"),Ut=r("\uC5EC\uAE30"),ht=r("\uC5D0\uC11C \uD655\uC778\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Xe=n(),fe=o("p"),dt=r("\uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC2E4\uD589\uD558\uAE30 \uC804, \uBA3C\uC800 \uC758\uC874\uC131 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB4E4\uC744 \uC124\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4."),ge=n(),U(k.$$.fragment),Je=n(),Z=o("p"),yt=r("\uADF8 \uB2E4\uC74C \u{1F917} "),Y=o("a"),$t=r("Accelerate"),Et=r(" \uD658\uACBD\uC744 \uCD08\uAE30\uD654\uD569\uB2C8\uB2E4."),Ge=n(),U(x.$$.fragment),Re=n(),X=o("p"),bt=r("\uBCC4\uB3C4\uC758 \uC124\uC815 \uC5C6\uC774 \uAE30\uBCF8 \uC124\uC815\uC73C\uB85C \u{1F917} "),Q=o("a"),jt=r("Accelerate"),wt=r(" \uD658\uACBD\uC744 \uCD08\uAE30\uD654\uD574\uBD05\uC2DC\uB2E4."),Te=n(),U(z.$$.fragment),Ve=n(),pe=o("p"),vt=r("\uB178\uD2B8\uBD81\uACFC \uAC19\uC740 \uB300\uD654\uD615 \uC258\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uB294 \uD658\uACBD\uC758 \uACBD\uC6B0, \uB2E4\uC74C\uACFC \uAC19\uC774 \uC0AC\uC6A9\uD574\uBCFC \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."),Se=n(),U(F.$$.fragment),ke=n(),L=o("h2"),At=r("\uBAA8\uB378\uC744 \uD5C8\uBE0C\uC5D0 \uC5C5\uB85C\uB4DC\uD558\uAE30"),Ye=n(),ne=o("p"),Wt=r("\uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 \uB2E4\uC74C \uC778\uC790\uB97C \uCD94\uAC00\uD558\uC5EC \uD5C8\uBE0C\uC5D0 \uBAA8\uB378\uC744 \uC5C5\uB85C\uB4DC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),xe=n(),U(I.$$.fragment),Qe=n(),P=o("h2"),Ct=r("\uCCB4\uD06C\uD3EC\uC778\uD2B8 \uC800\uC7A5\uD558\uACE0 \uBD88\uB7EC\uC624\uAE30"),ze=n(),ce=o("p"),Nt=r("\uD6C8\uB828 \uC911 \uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD560 \uACBD\uC6B0\uB97C \uB300\uBE44\uD558\uC5EC \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C \uC815\uAE30\uC801\uC73C\uB85C \uC800\uC7A5\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4. \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C \uC800\uC7A5\uD558\uB824\uBA74 \uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 \uB2E4\uC74C \uC778\uC790\uB97C \uC804\uB2EC\uD569\uB2C8\uB2E4:"),Fe=n(),U(B.$$.fragment),Le=n(),v=o("p"),Zt=r("\uC804\uCCB4 \uD6C8\uB828 \uC0C1\uD0DC\uB294 500\uC2A4\uD15D\uB9C8\uB2E4 "),Ue=o("code"),Xt=r("output_dir"),gt=r("\uC758 \uD558\uC704 \uD3F4\uB354\uC5D0 \uC800\uC7A5\uB418\uBA70, \uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 "),he=o("code"),Jt=r("--resume_from_checkpoint"),Gt=r(" \uC778\uC790\uB97C \uC804\uB2EC\uD568\uC73C\uB85C\uC368 \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C \uBD88\uB7EC\uC624\uACE0 \uD6C8\uB828\uC744 \uC7AC\uAC1C\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Ie=n(),U(q.$$.fragment),Pe=n(),H=o("h2"),Rt=r("\uD30C\uC778\uD29C\uB2DD"),Be=n(),b=o("p"),Tt=r("\uC774\uC81C \uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC2DC\uC791\uD560 \uC900\uBE44\uAC00 \uB418\uC5C8\uC2B5\uB2C8\uB2E4! "),de=o("code"),Vt=r("--dataset_name"),St=r(" \uC778\uC790\uC5D0 \uD30C\uC778\uD29C\uB2DD\uD560 \uB370\uC774\uD130\uC14B \uC774\uB984\uC744 \uC9C0\uC815\uD55C \uB2E4\uC74C, "),ye=o("code"),kt=r("--output_dir"),Yt=r(" \uC778\uC790\uC5D0 \uC9C0\uC815\uB41C \uACBD\uB85C\uB85C \uC800\uC7A5\uD569\uB2C8\uB2E4. \uBCF8\uC778\uB9CC\uC758 \uB370\uC774\uD130\uC14B\uB97C \uC0AC\uC6A9\uD558\uB824\uBA74, "),ue=o("a"),xt=r("\uD559\uC2B5\uC6A9 \uB370\uC774\uD130\uC14B \uB9CC\uB4E4\uAE30"),Qt=r(" \uAC00\uC774\uB4DC\uB97C \uCC38\uC870\uD558\uC138\uC694."),qe=n(),g=o("p"),zt=r("\uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uB294 "),$e=o("code"),Ft=r("diffusion_pytorch_model.bin"),Lt=r(" \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uACE0, \uADF8\uAC83\uC744 \uB2F9\uC2E0\uC758 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC\uC5D0 \uC800\uC7A5\uD569\uB2C8\uB2E4."),He=n(),U(J.$$.fragment),De=n(),G=o("p"),It=r("\uC608\uB97C \uB4E4\uC5B4, "),D=o("a"),Pt=r("Oxford Flowers"),Bt=r(" \uB370\uC774\uD130\uC14B\uC744 \uC0AC\uC6A9\uD574 \uD30C\uC778\uD29C\uB2DD\uD560 \uACBD\uC6B0:"),Oe=n(),U(O.$$.fragment),Ke=n(),K=o("div"),Ee=o("img"),et=r(`
[Pokemon](https://huggingface.co/datasets/huggan/pokemon) \uB370\uC774\uD130\uC14B\uC744 \uC0AC\uC6A9\uD560 \uACBD\uC6B0:

	`),U(ee.$$.fragment),tt=n(),te=o("div"),be=o("img"),lt=n(),W=o("h3"),R=o("a"),je=o("span"),U(le.$$.fragment),qt=n(),we=o("span"),Ht=r("\uC5EC\uB7EC\uAC1C\uC758 GPU\uB85C \uD6C8\uB828\uD558\uAE30"),at=n(),j=o("p"),ve=o("code"),Dt=r("accelerate"),Ot=r("\uC744 \uC0AC\uC6A9\uD558\uBA74 \uC6D0\uD65C\uD55C \uB2E4\uC911 GPU \uD6C8\uB828\uC774 \uAC00\uB2A5\uD569\uB2C8\uB2E4. "),Ae=o("code"),Kt=r("accelerate"),el=r("\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBD84\uC0B0 \uD6C8\uB828\uC744 \uC2E4\uD589\uD558\uB824\uBA74 "),ae=o("a"),tl=r("\uC5EC\uAE30"),ll=r(" \uC9C0\uCE68\uC744 \uB530\uB974\uC138\uC694. \uB2E4\uC74C\uC740 \uBA85\uB839\uC5B4 \uC608\uC81C\uC785\uB2C8\uB2E4."),it=n(),U(ie.$$.fragment),this.h()},l(e){const l=Yl('[data-svelte="svelte-1phssyn"]',document.head);m=f(l,"META",{name:!0,content:!0}),l.forEach(t),C=c(e),M=f(e,"H1",{class:!0});var re=p(M);_=f(re,"A",{id:!0,class:!0,href:!0});var ol=p(_);Me=f(ol,"SPAN",{});var fl=p(Me);h(V.$$.fragment,fl),fl.forEach(t),ol.forEach(t),ut=c(re),_e=f(re,"SPAN",{});var pl=p(_e);mt=s(pl,"Unconditional \uC774\uBBF8\uC9C0 \uC0DD\uC131"),pl.forEach(t),re.forEach(t),Ce=c(e),oe=f(e,"P",{});var nl=p(oe);Mt=s(nl,"unconditional \uC774\uBBF8\uC9C0 \uC0DD\uC131\uC740 text-to-image \uB610\uB294 image-to-image \uBAA8\uB378\uACFC \uB2EC\uB9AC \uD14D\uC2A4\uD2B8\uB098 \uC774\uBBF8\uC9C0\uC5D0 \uB300\uD55C \uC870\uAC74\uC774 \uC5C6\uC774 \uD559\uC2B5 \uB370\uC774\uD130 \uBD84\uD3EC\uC640 \uC720\uC0AC\uD55C \uC774\uBBF8\uC9C0\uB9CC\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4."),nl.forEach(t),Ne=c(e),w=f(e,"IFRAME",{src:!0,frameborder:!0,width:!0,height:!0}),p(w).forEach(t),Ze=c(e),N=f(e,"P",{});var st=p(N);_t=s(st,"\uC774 \uAC00\uC774\uB4DC\uC5D0\uC11C\uB294 \uAE30\uC874\uC5D0 \uC874\uC7AC\uD558\uB358 \uB370\uC774\uD130\uC14B\uACFC \uC790\uC2E0\uB9CC\uC758 \uCEE4\uC2A4\uD140 \uB370\uC774\uD130\uC14B\uC5D0 \uB300\uD574 unconditional image generation \uBAA8\uB378\uC744 \uD6C8\uB828\uD558\uB294 \uBC29\uBC95\uC744 \uC124\uBA85\uD569\uB2C8\uB2E4. \uD6C8\uB828 \uC138\uBD80 \uC0AC\uD56D\uC5D0 \uB300\uD574 \uB354 \uC790\uC138\uD788 \uC54C\uACE0 \uC2F6\uB2E4\uBA74 unconditional image generation\uC744 \uC704\uD55C \uBAA8\uB4E0 \uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uB97C "),S=f(st,"A",{href:!0,rel:!0});var cl=p(S);Ut=s(cl,"\uC5EC\uAE30"),cl.forEach(t),ht=s(st,"\uC5D0\uC11C \uD655\uC778\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),st.forEach(t),Xe=c(e),fe=f(e,"P",{});var ul=p(fe);dt=s(ul,"\uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC2E4\uD589\uD558\uAE30 \uC804, \uBA3C\uC800 \uC758\uC874\uC131 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB4E4\uC744 \uC124\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4."),ul.forEach(t),ge=c(e),h(k.$$.fragment,e),Je=c(e),Z=f(e,"P",{});var ot=p(Z);yt=s(ot,"\uADF8 \uB2E4\uC74C \u{1F917} "),Y=f(ot,"A",{href:!0,rel:!0});var ml=p(Y);$t=s(ml,"Accelerate"),ml.forEach(t),Et=s(ot," \uD658\uACBD\uC744 \uCD08\uAE30\uD654\uD569\uB2C8\uB2E4."),ot.forEach(t),Ge=c(e),h(x.$$.fragment,e),Re=c(e),X=f(e,"P",{});var ft=p(X);bt=s(ft,"\uBCC4\uB3C4\uC758 \uC124\uC815 \uC5C6\uC774 \uAE30\uBCF8 \uC124\uC815\uC73C\uB85C \u{1F917} "),Q=f(ft,"A",{href:!0,rel:!0});var Ml=p(Q);jt=s(Ml,"Accelerate"),Ml.forEach(t),wt=s(ft," \uD658\uACBD\uC744 \uCD08\uAE30\uD654\uD574\uBD05\uC2DC\uB2E4."),ft.forEach(t),Te=c(e),h(z.$$.fragment,e),Ve=c(e),pe=f(e,"P",{});var _l=p(pe);vt=s(_l,"\uB178\uD2B8\uBD81\uACFC \uAC19\uC740 \uB300\uD654\uD615 \uC258\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uB294 \uD658\uACBD\uC758 \uACBD\uC6B0, \uB2E4\uC74C\uACFC \uAC19\uC774 \uC0AC\uC6A9\uD574\uBCFC \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."),_l.forEach(t),Se=c(e),h(F.$$.fragment,e),ke=c(e),L=f(e,"H2",{id:!0});var Ul=p(L);At=s(Ul,"\uBAA8\uB378\uC744 \uD5C8\uBE0C\uC5D0 \uC5C5\uB85C\uB4DC\uD558\uAE30"),Ul.forEach(t),Ye=c(e),ne=f(e,"P",{});var hl=p(ne);Wt=s(hl,"\uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 \uB2E4\uC74C \uC778\uC790\uB97C \uCD94\uAC00\uD558\uC5EC \uD5C8\uBE0C\uC5D0 \uBAA8\uB378\uC744 \uC5C5\uB85C\uB4DC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),hl.forEach(t),xe=c(e),h(I.$$.fragment,e),Qe=c(e),P=f(e,"H2",{id:!0});var dl=p(P);Ct=s(dl,"\uCCB4\uD06C\uD3EC\uC778\uD2B8 \uC800\uC7A5\uD558\uACE0 \uBD88\uB7EC\uC624\uAE30"),dl.forEach(t),ze=c(e),ce=f(e,"P",{});var yl=p(ce);Nt=s(yl,"\uD6C8\uB828 \uC911 \uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD560 \uACBD\uC6B0\uB97C \uB300\uBE44\uD558\uC5EC \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C \uC815\uAE30\uC801\uC73C\uB85C \uC800\uC7A5\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4. \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C \uC800\uC7A5\uD558\uB824\uBA74 \uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 \uB2E4\uC74C \uC778\uC790\uB97C \uC804\uB2EC\uD569\uB2C8\uB2E4:"),yl.forEach(t),Fe=c(e),h(B.$$.fragment,e),Le=c(e),v=f(e,"P",{});var me=p(v);Zt=s(me,"\uC804\uCCB4 \uD6C8\uB828 \uC0C1\uD0DC\uB294 500\uC2A4\uD15D\uB9C8\uB2E4 "),Ue=f(me,"CODE",{});var $l=p(Ue);Xt=s($l,"output_dir"),$l.forEach(t),gt=s(me,"\uC758 \uD558\uC704 \uD3F4\uB354\uC5D0 \uC800\uC7A5\uB418\uBA70, \uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 "),he=f(me,"CODE",{});var El=p(he);Jt=s(El,"--resume_from_checkpoint"),El.forEach(t),Gt=s(me," \uC778\uC790\uB97C \uC804\uB2EC\uD568\uC73C\uB85C\uC368 \uCCB4\uD06C\uD3EC\uC778\uD2B8\uB97C \uBD88\uB7EC\uC624\uACE0 \uD6C8\uB828\uC744 \uC7AC\uAC1C\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),me.forEach(t),Ie=c(e),h(q.$$.fragment,e),Pe=c(e),H=f(e,"H2",{id:!0});var bl=p(H);Rt=s(bl,"\uD30C\uC778\uD29C\uB2DD"),bl.forEach(t),Be=c(e),b=f(e,"P",{});var T=p(b);Tt=s(T,"\uC774\uC81C \uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC2DC\uC791\uD560 \uC900\uBE44\uAC00 \uB418\uC5C8\uC2B5\uB2C8\uB2E4! "),de=f(T,"CODE",{});var jl=p(de);Vt=s(jl,"--dataset_name"),jl.forEach(t),St=s(T," \uC778\uC790\uC5D0 \uD30C\uC778\uD29C\uB2DD\uD560 \uB370\uC774\uD130\uC14B \uC774\uB984\uC744 \uC9C0\uC815\uD55C \uB2E4\uC74C, "),ye=f(T,"CODE",{});var wl=p(ye);kt=s(wl,"--output_dir"),wl.forEach(t),Yt=s(T," \uC778\uC790\uC5D0 \uC9C0\uC815\uB41C \uACBD\uB85C\uB85C \uC800\uC7A5\uD569\uB2C8\uB2E4. \uBCF8\uC778\uB9CC\uC758 \uB370\uC774\uD130\uC14B\uB97C \uC0AC\uC6A9\uD558\uB824\uBA74, "),ue=f(T,"A",{href:!0});var vl=p(ue);xt=s(vl,"\uD559\uC2B5\uC6A9 \uB370\uC774\uD130\uC14B \uB9CC\uB4E4\uAE30"),vl.forEach(t),Qt=s(T," \uAC00\uC774\uB4DC\uB97C \uCC38\uC870\uD558\uC138\uC694."),T.forEach(t),qe=c(e),g=f(e,"P",{});var pt=p(g);zt=s(pt,"\uD559\uC2B5 \uC2A4\uD06C\uB9BD\uD2B8\uB294 "),$e=f(pt,"CODE",{});var Al=p($e);Ft=s(Al,"diffusion_pytorch_model.bin"),Al.forEach(t),Lt=s(pt," \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uACE0, \uADF8\uAC83\uC744 \uB2F9\uC2E0\uC758 \uB9AC\uD3EC\uC9C0\uD1A0\uB9AC\uC5D0 \uC800\uC7A5\uD569\uB2C8\uB2E4."),pt.forEach(t),He=c(e),h(J.$$.fragment,e),De=c(e),G=f(e,"P",{});var nt=p(G);It=s(nt,"\uC608\uB97C \uB4E4\uC5B4, "),D=f(nt,"A",{href:!0,rel:!0});var Wl=p(D);Pt=s(Wl,"Oxford Flowers"),Wl.forEach(t),Bt=s(nt," \uB370\uC774\uD130\uC14B\uC744 \uC0AC\uC6A9\uD574 \uD30C\uC778\uD29C\uB2DD\uD560 \uACBD\uC6B0:"),nt.forEach(t),Oe=c(e),h(O.$$.fragment,e),Ke=c(e),K=f(e,"DIV",{class:!0});var Cl=p(K);Ee=f(Cl,"IMG",{src:!0}),Cl.forEach(t),et=s(e,`
[Pokemon](https://huggingface.co/datasets/huggan/pokemon) \uB370\uC774\uD130\uC14B\uC744 \uC0AC\uC6A9\uD560 \uACBD\uC6B0:

	`),h(ee.$$.fragment,e),tt=c(e),te=f(e,"DIV",{class:!0});var Nl=p(te);be=f(Nl,"IMG",{src:!0}),Nl.forEach(t),lt=c(e),W=f(e,"H3",{class:!0});var ct=p(W);R=f(ct,"A",{id:!0,class:!0,href:!0});var Zl=p(R);je=f(Zl,"SPAN",{});var Xl=p(je);h(le.$$.fragment,Xl),Xl.forEach(t),Zl.forEach(t),qt=c(ct),we=f(ct,"SPAN",{});var gl=p(we);Ht=s(gl,"\uC5EC\uB7EC\uAC1C\uC758 GPU\uB85C \uD6C8\uB828\uD558\uAE30"),gl.forEach(t),ct.forEach(t),at=c(e),j=f(e,"P",{});var se=p(j);ve=f(se,"CODE",{});var Jl=p(ve);Dt=s(Jl,"accelerate"),Jl.forEach(t),Ot=s(se,"\uC744 \uC0AC\uC6A9\uD558\uBA74 \uC6D0\uD65C\uD55C \uB2E4\uC911 GPU \uD6C8\uB828\uC774 \uAC00\uB2A5\uD569\uB2C8\uB2E4. "),Ae=f(se,"CODE",{});var Gl=p(Ae);Kt=s(Gl,"accelerate"),Gl.forEach(t),el=s(se,"\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBD84\uC0B0 \uD6C8\uB828\uC744 \uC2E4\uD589\uD558\uB824\uBA74 "),ae=f(se,"A",{href:!0,rel:!0});var Rl=p(ae);tl=s(Rl,"\uC5EC\uAE30"),Rl.forEach(t),ll=s(se," \uC9C0\uCE68\uC744 \uB530\uB974\uC138\uC694. \uB2E4\uC74C\uC740 \uBA85\uB839\uC5B4 \uC608\uC81C\uC785\uB2C8\uB2E4."),se.forEach(t),it=c(e),h(ie.$$.fragment,e),this.h()},h(){u(m,"name","hf:doc:metadata"),u(m,"content",JSON.stringify(Ll)),u(_,"id","unconditional"),u(_,"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(_,"href","#unconditional"),u(M,"class","relative group"),al(w.src,il="https://stevhliu-ddpm-butterflies-128.hf.space")||u(w,"src",il),u(w,"frameborder","0"),u(w,"width","850"),u(w,"height","550"),u(S,"href","https://github.com/huggingface/diffusers/tree/main/examples/unconditional_image_generation"),u(S,"rel","nofollow"),u(Y,"href","https://github.com/huggingface/accelerate/"),u(Y,"rel","nofollow"),u(Q,"href","https://github.com/huggingface/accelerate/"),u(Q,"rel","nofollow"),u(L,"id",""),u(P,"id",""),u(H,"id",""),u(ue,"href","create_dataset"),u(D,"href","https://huggingface.co/datasets/huggan/flowers-102-categories"),u(D,"rel","nofollow"),al(Ee.src,rl="https://user-images.githubusercontent.com/26864830/180248660-a0b143d0-b89a-42c5-8656-2ebf6ece7e52.png")||u(Ee,"src",rl),u(K,"class","flex justify-center"),al(be.src,sl="https://user-images.githubusercontent.com/26864830/180248200-928953b4-db38-48db-b0c6-8b740fe6786f.png")||u(be,"src",sl),u(te,"class","flex justify-center"),u(R,"id","gpu"),u(R,"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(R,"href","#gpu"),u(W,"class","relative group"),u(ae,"href","https://huggingface.co/docs/accelerate/basic_tutorials/launch"),u(ae,"rel","nofollow")},m(e,l){a(document.head,m),i(e,C,l),i(e,M,l),a(M,_),a(_,Me),d(V,Me,null),a(M,ut),a(M,_e),a(_e,mt),i(e,Ce,l),i(e,oe,l),a(oe,Mt),i(e,Ne,l),i(e,w,l),i(e,Ze,l),i(e,N,l),a(N,_t),a(N,S),a(S,Ut),a(N,ht),i(e,Xe,l),i(e,fe,l),a(fe,dt),i(e,ge,l),d(k,e,l),i(e,Je,l),i(e,Z,l),a(Z,yt),a(Z,Y),a(Y,$t),a(Z,Et),i(e,Ge,l),d(x,e,l),i(e,Re,l),i(e,X,l),a(X,bt),a(X,Q),a(Q,jt),a(X,wt),i(e,Te,l),d(z,e,l),i(e,Ve,l),i(e,pe,l),a(pe,vt),i(e,Se,l),d(F,e,l),i(e,ke,l),i(e,L,l),a(L,At),i(e,Ye,l),i(e,ne,l),a(ne,Wt),i(e,xe,l),d(I,e,l),i(e,Qe,l),i(e,P,l),a(P,Ct),i(e,ze,l),i(e,ce,l),a(ce,Nt),i(e,Fe,l),d(B,e,l),i(e,Le,l),i(e,v,l),a(v,Zt),a(v,Ue),a(Ue,Xt),a(v,gt),a(v,he),a(he,Jt),a(v,Gt),i(e,Ie,l),d(q,e,l),i(e,Pe,l),i(e,H,l),a(H,Rt),i(e,Be,l),i(e,b,l),a(b,Tt),a(b,de),a(de,Vt),a(b,St),a(b,ye),a(ye,kt),a(b,Yt),a(b,ue),a(ue,xt),a(b,Qt),i(e,qe,l),i(e,g,l),a(g,zt),a(g,$e),a($e,Ft),a(g,Lt),i(e,He,l),d(J,e,l),i(e,De,l),i(e,G,l),a(G,It),a(G,D),a(D,Pt),a(G,Bt),i(e,Oe,l),d(O,e,l),i(e,Ke,l),i(e,K,l),a(K,Ee),i(e,et,l),d(ee,e,l),i(e,tt,l),i(e,te,l),a(te,be),i(e,lt,l),i(e,W,l),a(W,R),a(R,je),d(le,je,null),a(W,qt),a(W,we),a(we,Ht),i(e,at,l),i(e,j,l),a(j,ve),a(ve,Dt),a(j,Ot),a(j,Ae),a(Ae,Kt),a(j,el),a(j,ae),a(ae,tl),a(j,ll),i(e,it,l),d(ie,e,l),rt=!0},p(e,[l]){const re={};l&2&&(re.$$scope={dirty:l,ctx:e}),J.$set(re)},i(e){rt||(y(V.$$.fragment,e),y(k.$$.fragment,e),y(x.$$.fragment,e),y(z.$$.fragment,e),y(F.$$.fragment,e),y(I.$$.fragment,e),y(B.$$.fragment,e),y(q.$$.fragment,e),y(J.$$.fragment,e),y(O.$$.fragment,e),y(ee.$$.fragment,e),y(le.$$.fragment,e),y(ie.$$.fragment,e),rt=!0)},o(e){$(V.$$.fragment,e),$(k.$$.fragment,e),$(x.$$.fragment,e),$(z.$$.fragment,e),$(F.$$.fragment,e),$(I.$$.fragment,e),$(B.$$.fragment,e),$(q.$$.fragment,e),$(J.$$.fragment,e),$(O.$$.fragment,e),$(ee.$$.fragment,e),$(le.$$.fragment,e),$(ie.$$.fragment,e),rt=!1},d(e){t(m),e&&t(C),e&&t(M),E(V),e&&t(Ce),e&&t(oe),e&&t(Ne),e&&t(w),e&&t(Ze),e&&t(N),e&&t(Xe),e&&t(fe),e&&t(ge),E(k,e),e&&t(Je),e&&t(Z),e&&t(Ge),E(x,e),e&&t(Re),e&&t(X),e&&t(Te),E(z,e),e&&t(Ve),e&&t(pe),e&&t(Se),E(F,e),e&&t(ke),e&&t(L),e&&t(Ye),e&&t(ne),e&&t(xe),E(I,e),e&&t(Qe),e&&t(P),e&&t(ze),e&&t(ce),e&&t(Fe),E(B,e),e&&t(Le),e&&t(v),e&&t(Ie),E(q,e),e&&t(Pe),e&&t(H),e&&t(Be),e&&t(b),e&&t(qe),e&&t(g),e&&t(He),E(J,e),e&&t(De),e&&t(G),e&&t(Oe),E(O,e),e&&t(Ke),e&&t(K),e&&t(et),E(ee,e),e&&t(tt),e&&t(te),e&&t(lt),e&&t(W),E(le),e&&t(at),e&&t(j),e&&t(it),E(ie,e)}}}const Ll={local:"unconditional",sections:[{local:"",title:"\uBAA8\uB378\uC744 \uD5C8\uBE0C\uC5D0 \uC5C5\uB85C\uB4DC\uD558\uAE30"},{local:"",title:"\uCCB4\uD06C\uD3EC\uC778\uD2B8 \uC800\uC7A5\uD558\uACE0 \uBD88\uB7EC\uC624\uAE30"},{local:"",sections:[{local:"gpu",title:"\uC5EC\uB7EC\uAC1C\uC758 GPU\uB85C \uD6C8\uB828\uD558\uAE30"}],title:"\uD30C\uC778\uD29C\uB2DD"}],title:"Unconditional \uC774\uBBF8\uC9C0 \uC0DD\uC131"};function Il(We){return xl(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Dl extends Vl{constructor(m){super();Sl(this,m,Il,Fl,kl,{})}}export{Dl as default,Ll as metadata};
