mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
Init for korean docs (#1910)
* init for korean docs * edit build yml file for multi language docs * edit one more build yml file for multi language docs * add title for get_frontmatter error
This commit is contained in:
1
.github/workflows/build_documentation.yml
vendored
1
.github/workflows/build_documentation.yml
vendored
@@ -13,5 +13,6 @@ jobs:
|
||||
with:
|
||||
commit_sha: ${{ github.sha }}
|
||||
package: diffusers
|
||||
languages: en ko
|
||||
secrets:
|
||||
token: ${{ secrets.HUGGINGFACE_PUSH }}
|
||||
|
||||
1
.github/workflows/build_pr_documentation.yml
vendored
1
.github/workflows/build_pr_documentation.yml
vendored
@@ -14,3 +14,4 @@ jobs:
|
||||
commit_sha: ${{ github.event.pull_request.head.sha }}
|
||||
pr_number: ${{ github.event.number }}
|
||||
package: diffusers
|
||||
languages: en ko
|
||||
|
||||
|
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
193
docs/source/ko/_toctree.yml
Normal file
193
docs/source/ko/_toctree.yml
Normal file
@@ -0,0 +1,193 @@
|
||||
- sections:
|
||||
- local: index
|
||||
title: "๐งจ Diffusers"
|
||||
- local: quicktour
|
||||
title: "ํ์ด๋ณด๊ธฐ"
|
||||
- local: installation
|
||||
title: "์ค์น"
|
||||
title: "์์ํ๊ธฐ"
|
||||
- sections:
|
||||
- sections:
|
||||
- local: in_translation
|
||||
title: "Loading Pipelines, Models, and Schedulers"
|
||||
- local: in_translation
|
||||
title: "Using different Schedulers"
|
||||
- local: in_translation
|
||||
title: "Configuring Pipelines, Models, and Schedulers"
|
||||
- local: in_translation
|
||||
title: "Loading and Adding Custom Pipelines"
|
||||
title: "๋ถ๋ฌ์ค๊ธฐ & ํ๋ธ (๋ฒ์ญ ์์ )"
|
||||
- sections:
|
||||
- local: in_translation
|
||||
title: "Unconditional Image Generation"
|
||||
- local: in_translation
|
||||
title: "Text-to-Image Generation"
|
||||
- local: in_translation
|
||||
title: "Text-Guided Image-to-Image"
|
||||
- local: in_translation
|
||||
title: "Text-Guided Image-Inpainting"
|
||||
- local: in_translation
|
||||
title: "Text-Guided Depth-to-Image"
|
||||
- local: in_translation
|
||||
title: "Reusing seeds for deterministic generation"
|
||||
- local: in_translation
|
||||
title: "Community Pipelines"
|
||||
- local: in_translation
|
||||
title: "How to contribute a Pipeline"
|
||||
title: "์ถ๋ก ์ ์ํ ํ์ดํ๋ผ์ธ (๋ฒ์ญ ์์ )"
|
||||
- sections:
|
||||
- local: in_translation
|
||||
title: "Reinforcement Learning"
|
||||
- local: in_translation
|
||||
title: "Audio"
|
||||
- local: in_translation
|
||||
title: "Other Modalities"
|
||||
title: "Taking Diffusers Beyond Images"
|
||||
title: "Diffusers ์ฌ์ฉ๋ฒ (๋ฒ์ญ ์์ )"
|
||||
- sections:
|
||||
- local: in_translation
|
||||
title: "Memory and Speed"
|
||||
- local: in_translation
|
||||
title: "xFormers"
|
||||
- local: in_translation
|
||||
title: "ONNX"
|
||||
- local: in_translation
|
||||
title: "OpenVINO"
|
||||
- local: in_translation
|
||||
title: "MPS"
|
||||
- local: in_translation
|
||||
title: "Habana Gaudi"
|
||||
title: "์ต์ ํ/ํน์ ํ๋์จ์ด (๋ฒ์ญ ์์ )"
|
||||
- sections:
|
||||
- local: in_translation
|
||||
title: "Overview"
|
||||
- local: in_translation
|
||||
title: "Unconditional Image Generation"
|
||||
- local: in_translation
|
||||
title: "Textual Inversion"
|
||||
- local: in_translation
|
||||
title: "Dreambooth"
|
||||
- local: in_translation
|
||||
title: "Text-to-image fine-tuning"
|
||||
title: "ํ์ต (๋ฒ์ญ ์์ )"
|
||||
- sections:
|
||||
- local: in_translation
|
||||
title: "Stable Diffusion"
|
||||
- local: in_translation
|
||||
title: "Philosophy"
|
||||
- local: in_translation
|
||||
title: "How to contribute?"
|
||||
title: "๊ฐ๋
์ค๋ช
(๋ฒ์ญ ์์ )"
|
||||
- sections:
|
||||
- sections:
|
||||
- local: in_translation
|
||||
title: "Models"
|
||||
- local: in_translation
|
||||
title: "Diffusion Pipeline"
|
||||
- local: in_translation
|
||||
title: "Logging"
|
||||
- local: in_translation
|
||||
title: "Configuration"
|
||||
- local: in_translation
|
||||
title: "Outputs"
|
||||
title: "Main Classes"
|
||||
|
||||
- sections:
|
||||
- local: in_translation
|
||||
title: "Overview"
|
||||
- local: in_translation
|
||||
title: "AltDiffusion"
|
||||
- local: in_translation
|
||||
title: "Cycle Diffusion"
|
||||
- local: in_translation
|
||||
title: "DDIM"
|
||||
- local: in_translation
|
||||
title: "DDPM"
|
||||
- local: in_translation
|
||||
title: "Latent Diffusion"
|
||||
- local: in_translation
|
||||
title: "Unconditional Latent Diffusion"
|
||||
- local: in_translation
|
||||
title: "PaintByExample"
|
||||
- local: in_translation
|
||||
title: "PNDM"
|
||||
- local: in_translation
|
||||
title: "Score SDE VE"
|
||||
- sections:
|
||||
- local: in_translation
|
||||
title: "Overview"
|
||||
- local: in_translation
|
||||
title: "Text-to-Image"
|
||||
- local: in_translation
|
||||
title: "Image-to-Image"
|
||||
- local: in_translation
|
||||
title: "Inpaint"
|
||||
- local: in_translation
|
||||
title: "Depth-to-Image"
|
||||
- local: in_translation
|
||||
title: "Image-Variation"
|
||||
- local: in_translation
|
||||
title: "Super-Resolution"
|
||||
title: "Stable Diffusion"
|
||||
- local: in_translation
|
||||
title: "Stable Diffusion 2"
|
||||
- local: in_translation
|
||||
title: "Safe Stable Diffusion"
|
||||
- local: in_translation
|
||||
title: "Stochastic Karras VE"
|
||||
- local: in_translation
|
||||
title: "Dance Diffusion"
|
||||
- local: in_translation
|
||||
title: "UnCLIP"
|
||||
- local: in_translation
|
||||
title: "Versatile Diffusion"
|
||||
- local: in_translation
|
||||
title: "VQ Diffusion"
|
||||
- local: in_translation
|
||||
title: "RePaint"
|
||||
- local: in_translation
|
||||
title: "Audio Diffusion"
|
||||
title: "ํ์ดํ๋ผ์ธ (๋ฒ์ญ ์์ )"
|
||||
- sections:
|
||||
- local: in_translation
|
||||
title: "Overview"
|
||||
- local: in_translation
|
||||
title: "DDIM"
|
||||
- local: in_translation
|
||||
title: "DDPM"
|
||||
- local: in_translation
|
||||
title: "Singlestep DPM-Solver"
|
||||
- local: in_translation
|
||||
title: "Multistep DPM-Solver"
|
||||
- local: in_translation
|
||||
title: "Heun Scheduler"
|
||||
- local: in_translation
|
||||
title: "DPM Discrete Scheduler"
|
||||
- local: in_translation
|
||||
title: "DPM Discrete Scheduler with ancestral sampling"
|
||||
- local: in_translation
|
||||
title: "Stochastic Kerras VE"
|
||||
- local: in_translation
|
||||
title: "Linear Multistep"
|
||||
- local: in_translation
|
||||
title: "PNDM"
|
||||
- local: in_translation
|
||||
title: "VE-SDE"
|
||||
- local: in_translation
|
||||
title: "IPNDM"
|
||||
- local: in_translation
|
||||
title: "VP-SDE"
|
||||
- local: in_translation
|
||||
title: "Euler scheduler"
|
||||
- local: in_translation
|
||||
title: "Euler Ancestral Scheduler"
|
||||
- local: in_translation
|
||||
title: "VQDiffusionScheduler"
|
||||
- local: in_translation
|
||||
title: "RePaint Scheduler"
|
||||
title: "์ค์ผ์ค๋ฌ (๋ฒ์ญ ์์ )"
|
||||
- sections:
|
||||
- local: in_translation
|
||||
title: "RL Planning"
|
||||
title: "Experimental Features"
|
||||
title: "API (๋ฒ์ญ ์์ )"
|
||||
16
docs/source/ko/in_translation.mdx
Normal file
16
docs/source/ko/in_translation.mdx
Normal file
@@ -0,0 +1,16 @@
|
||||
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
||||
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations under the License.
|
||||
-->
|
||||
|
||||
# ๋ฒ์ญ์ค
|
||||
|
||||
์ด์ฌํ ๋ฒ์ญ์ ์งํ์ค์
๋๋ค. ์กฐ๊ธ๋ง ๊ธฐ๋ค๋ ค์ฃผ์ธ์.
|
||||
๊ฐ์ฌํฉ๋๋ค!
|
||||
63
docs/source/ko/index.mdx
Normal file
63
docs/source/ko/index.mdx
Normal file
@@ -0,0 +1,63 @@
|
||||
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
||||
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations under the License.
|
||||
-->
|
||||
|
||||
<p align="center">
|
||||
<br>
|
||||
<img src="https://raw.githubusercontent.com/huggingface/diffusers/77aadfee6a891ab9fcfb780f87c693f7a5beeb8e/docs/source/imgs/diffusers_library.jpg" width="400"/>
|
||||
<br>
|
||||
</p>
|
||||
|
||||
# ๐งจ Diffusers
|
||||
|
||||
๐ค Diffusers๋ ์ฌ์ ํ์ต๋ ๋น์ ๋ฐ ์ค๋์ค ํ์ฐ ๋ชจ๋ธ์ ์ ๊ณตํ๊ณ , ์ถ๋ก ๋ฐ ํ์ต์ ์ํ ๋ชจ๋์ ๋๊ตฌ ์์ ์ญํ ์ ํฉ๋๋ค.
|
||||
|
||||
๋ณด๋ค ์ ํํ๊ฒ, ๐ค Diffusers๋ ๋ค์์ ์ ๊ณตํฉ๋๋ค:
|
||||
|
||||
- ๋จ ๋ช ์ค์ ์ฝ๋๋ก ์ถ๋ก ์ ์คํํ ์ ์๋ ์ต์ ํ์ฐ ํ์ดํ๋ผ์ธ์ ์ ๊ณตํฉ๋๋ค. ([**Using Diffusers**](./using-diffusers/conditional_image_generation)๋ฅผ ์ดํด๋ณด์ธ์) ์ง์๋๋ ๋ชจ๋ ํ์ดํ๋ผ์ธ๊ณผ ํด๋น ๋
ผ๋ฌธ์ ๋ํ ๊ฐ์๋ฅผ ๋ณด๋ ค๋ฉด [**Pipelines**](#pipelines)์ ์ดํด๋ณด์ธ์.
|
||||
- ์ถ๋ก ์์ ์๋ vs ํ์ง์ ์ ์ถฉ์ ์ํด ์ํธ๊ตํ์ ์ผ๋ก ์ฌ์ฉํ ์ ์๋ ๋ค์ํ ๋
ธ์ด์ฆ ์ค์ผ์ค๋ฌ๋ฅผ ์ ๊ณตํฉ๋๋ค. ์์ธํ ๋ด์ฉ์ [**Schedulers**](./api/schedulers/overview)๋ฅผ ์ฐธ๊ณ ํ์ธ์.
|
||||
- UNet๊ณผ ๊ฐ์ ์ฌ๋ฌ ์ ํ์ ๋ชจ๋ธ์ end-to-end ํ์ฐ ์์คํ
์ ๊ตฌ์ฑ ์์๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค. ์์ธํ ๋ด์ฉ์ [**Models**](./api/models)์ ์ฐธ๊ณ ํ์ธ์.
|
||||
- ๊ฐ์ฅ ์ธ๊ธฐ์๋ ํ์ฐ ๋ชจ๋ธ ํ
์คํฌ๋ฅผ ํ์ตํ๋ ๋ฐฉ๋ฒ์ ๋ณด์ฌ์ฃผ๋ ์์ ๋ค์ ์ ๊ณตํฉ๋๋ค. ์์ธํ ๋ด์ฉ์ [**Training**](./training/overview)๋ฅผ ์ฐธ๊ณ ํ์ธ์.
|
||||
|
||||
## ๐งจ Diffusers ํ์ดํ๋ผ์ธ
|
||||
|
||||
๋ค์ ํ์๋ ๊ณต์์ ์ผ๋ก ์ง์๋๋ ๋ชจ๋ ํ์ดํ๋ผ์ธ, ๊ด๋ จ ๋
ผ๋ฌธ, ์ง์ ์ฌ์ฉํด ๋ณผ ์ ์๋ Colab ๋
ธํธ๋ถ(์ฌ์ฉ ๊ฐ๋ฅํ ๊ฒฝ์ฐ)์ด ์์ฝ๋์ด ์์ต๋๋ค.
|
||||
|
||||
| Pipeline | Paper | Tasks | Colab
|
||||
|---|---|:---:|:---:|
|
||||
| [alt_diffusion](./api/pipelines/alt_diffusion) | [**AltDiffusion**](https://arxiv.org/abs/2211.06679) | Image-to-Image Text-Guided Generation |
|
||||
| [audio_diffusion](./api/pipelines/audio_diffusion) | [**Audio Diffusion**](https://github.com/teticio/audio-diffusion.git) | Unconditional Audio Generation | [](https://colab.research.google.com/github/teticio/audio-diffusion/blob/master/notebooks/audio_diffusion_pipeline.ipynb)
|
||||
| [cycle_diffusion](./api/pipelines/cycle_diffusion) | [**Cycle Diffusion**](https://arxiv.org/abs/2210.05559) | Image-to-Image Text-Guided Generation |
|
||||
| [dance_diffusion](./api/pipelines/dance_diffusion) | [**Dance Diffusion**](https://github.com/williamberman/diffusers.git) | Unconditional Audio Generation |
|
||||
| [ddpm](./api/pipelines/ddpm) | [**Denoising Diffusion Probabilistic Models**](https://arxiv.org/abs/2006.11239) | Unconditional Image Generation |
|
||||
| [ddim](./api/pipelines/ddim) | [**Denoising Diffusion Implicit Models**](https://arxiv.org/abs/2010.02502) | Unconditional Image Generation |
|
||||
| [latent_diffusion](./api/pipelines/latent_diffusion) | [**High-Resolution Image Synthesis with Latent Diffusion Models**](https://arxiv.org/abs/2112.10752)| Text-to-Image Generation |
|
||||
| [latent_diffusion](./api/pipelines/latent_diffusion) | [**High-Resolution Image Synthesis with Latent Diffusion Models**](https://arxiv.org/abs/2112.10752)| Super Resolution Image-to-Image |
|
||||
| [latent_diffusion_uncond](./api/pipelines/latent_diffusion_uncond) | [**High-Resolution Image Synthesis with Latent Diffusion Models**](https://arxiv.org/abs/2112.10752) | Unconditional Image Generation |
|
||||
| [paint_by_example](./api/pipelines/paint_by_example) | [**Paint by Example: Exemplar-based Image Editing with Diffusion Models**](https://arxiv.org/abs/2211.13227) | Image-Guided Image Inpainting |
|
||||
| [pndm](./api/pipelines/pndm) | [**Pseudo Numerical Methods for Diffusion Models on Manifolds**](https://arxiv.org/abs/2202.09778) | Unconditional Image Generation |
|
||||
| [score_sde_ve](./api/pipelines/score_sde_ve) | [**Score-Based Generative Modeling through Stochastic Differential Equations**](https://openreview.net/forum?id=PxTIG12RRHS) | Unconditional Image Generation |
|
||||
| [score_sde_vp](./api/pipelines/score_sde_vp) | [**Score-Based Generative Modeling through Stochastic Differential Equations**](https://openreview.net/forum?id=PxTIG12RRHS) | Unconditional Image Generation |
|
||||
| [stable_diffusion](./api/pipelines/stable_diffusion/text2img) | [**Stable Diffusion**](https://stability.ai/blog/stable-diffusion-public-release) | Text-to-Image Generation | [](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/training_example.ipynb)
|
||||
| [stable_diffusion](./api/pipelines/stable_diffusion/img2img) | [**Stable Diffusion**](https://stability.ai/blog/stable-diffusion-public-release) | Image-to-Image Text-Guided Generation | [](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/image_2_image_using_diffusers.ipynb)
|
||||
| [stable_diffusion](./api/pipelines/stable_diffusion/inpaint) | [**Stable Diffusion**](https://stability.ai/blog/stable-diffusion-public-release) | Text-Guided Image Inpainting | [](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/in_painting_with_stable_diffusion_using_diffusers.ipynb)
|
||||
| [stable_diffusion_2](./api/pipelines/stable_diffusion_2) | [**Stable Diffusion 2**](https://stability.ai/blog/stable-diffusion-v2-release) | Text-to-Image Generation |
|
||||
| [stable_diffusion_2](./api/pipelines/stable_diffusion_2) | [**Stable Diffusion 2**](https://stability.ai/blog/stable-diffusion-v2-release) | Text-Guided Image Inpainting |
|
||||
| [stable_diffusion_2](./api/pipelines/stable_diffusion_2) | [**Stable Diffusion 2**](https://stability.ai/blog/stable-diffusion-v2-release) | Text-Guided Super Resolution Image-to-Image |
|
||||
| [stable_diffusion_safe](./api/pipelines/stable_diffusion_safe) | [**Safe Stable Diffusion**](https://arxiv.org/abs/2211.05105) | Text-Guided Generation | [](https://colab.research.google.com/github/ml-research/safe-latent-diffusion/blob/main/examples/Safe%20Latent%20Diffusion.ipynb)
|
||||
| [stochastic_karras_ve](./api/pipelines/stochastic_karras_ve) | [**Elucidating the Design Space of Diffusion-Based Generative Models**](https://arxiv.org/abs/2206.00364) | Unconditional Image Generation |
|
||||
| [unclip](./api/pipelines/unclip) | [Hierarchical Text-Conditional Image Generation with CLIP Latents](https://arxiv.org/abs/2204.06125) | Text-to-Image Generation |
|
||||
| [versatile_diffusion](./api/pipelines/versatile_diffusion) | [Versatile Diffusion: Text, Images and Variations All in One Diffusion Model](https://arxiv.org/abs/2211.08332) | Text-to-Image Generation |
|
||||
| [versatile_diffusion](./api/pipelines/versatile_diffusion) | [Versatile Diffusion: Text, Images and Variations All in One Diffusion Model](https://arxiv.org/abs/2211.08332) | Image Variations Generation |
|
||||
| [versatile_diffusion](./api/pipelines/versatile_diffusion) | [Versatile Diffusion: Text, Images and Variations All in One Diffusion Model](https://arxiv.org/abs/2211.08332) | Dual Image and Text Guided Generation |
|
||||
| [vq_diffusion](./api/pipelines/vq_diffusion) | [Vector Quantized Diffusion Model for Text-to-Image Synthesis](https://arxiv.org/abs/2111.14822) | Text-to-Image Generation |
|
||||
|
||||
**์ฐธ๊ณ **: ํ์ดํ๋ผ์ธ์ ํด๋น ๋ฌธ์์ ์ค๋ช
๋ ๋๋ก ํ์ฐ ์์คํ
์ ์ฌ์ฉํ ๋ฐฉ๋ฒ์ ๋ํ ๊ฐ๋จํ ์์
๋๋ค.
|
||||
142
docs/source/ko/installation.mdx
Normal file
142
docs/source/ko/installation.mdx
Normal file
@@ -0,0 +1,142 @@
|
||||
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
||||
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations under the License.
|
||||
-->
|
||||
|
||||
# ์ค์น
|
||||
|
||||
์ฌ์ฉํ์๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ๋ง๋ ๐ค Diffusers๋ฅผ ์ค์นํ์ธ์.
|
||||
|
||||
๐ค Diffusers๋ Python 3.7+, PyTorch 1.7.0+ ๋ฐ flax์์ ํ
์คํธ๋์์ต๋๋ค. ์ฌ์ฉ์ค์ธ ๋ฅ๋ฌ๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ๋ํ ์๋์ ์ค์น ์๋ด๋ฅผ ๋ฐ๋ฅด์ธ์.
|
||||
|
||||
- [PyTorch ์ค์น ์๋ด](https://pytorch.org/get-started/locally/)
|
||||
- [Flax ์ค์น ์๋ด](https://flax.readthedocs.io/en/latest/)
|
||||
|
||||
## pip๋ฅผ ์ด์ฉํ ์ค์น
|
||||
|
||||
[๊ฐ์ ํ๊ฒฝ](https://docs.python.org/3/library/venv.html)์ ๐ค Diffusers๋ฅผ ์ค์นํด์ผ ํฉ๋๋ค.
|
||||
Python ๊ฐ์ ํ๊ฒฝ์ ์ต์ํ์ง ์์ ๊ฒฝ์ฐ [๊ฐ์ํ๊ฒฝ pip ์ค์น ๊ฐ์ด๋](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/)๋ฅผ ์ดํด๋ณด์ธ์.
|
||||
๊ฐ์ ํ๊ฒฝ์ ์ฌ์ฉํ๋ฉด ์๋ก ๋ค๋ฅธ ํ๋ก์ ํธ๋ฅผ ๋ ์ฝ๊ฒ ๊ด๋ฆฌํ๊ณ , ์ข
์์ฑ๊ฐ์ ํธํ์ฑ ๋ฌธ์ ๋ฅผ ํผํ ์ ์์ต๋๋ค.
|
||||
|
||||
ํ๋ก์ ํธ ๋๋ ํ ๋ฆฌ์ ๊ฐ์ ํ๊ฒฝ์ ์์ฑํ๋ ๊ฒ์ผ๋ก ์์ํ์ธ์:
|
||||
|
||||
```bash
|
||||
python -m venv .env
|
||||
```
|
||||
|
||||
๊ทธ๋ฆฌ๊ณ ๊ฐ์ ํ๊ฒฝ์ ํ์ฑํํฉ๋๋ค:
|
||||
|
||||
```bash
|
||||
source .env/bin/activate
|
||||
```
|
||||
|
||||
์ด์ ๋ค์์ ๋ช
๋ น์ด๋ก ๐ค Diffusers๋ฅผ ์ค์นํ ์ค๋น๊ฐ ๋์์ต๋๋ค:
|
||||
|
||||
**PyTorch์ ๊ฒฝ์ฐ**
|
||||
|
||||
```bash
|
||||
pip install diffusers["torch"]
|
||||
```
|
||||
|
||||
**Flax์ ๊ฒฝ์ฐ**
|
||||
|
||||
```bash
|
||||
pip install diffusers["flax"]
|
||||
```
|
||||
|
||||
## ์์ค๋ก๋ถํฐ ์ค์น
|
||||
|
||||
์์ค์์ `diffusers`๋ฅผ ์ค์นํ๊ธฐ ์ ์, `torch` ๋ฐ `accelerate`์ด ์ค์น๋์ด ์๋์ง ํ์ธํ์ธ์.
|
||||
|
||||
`torch` ์ค์น์ ๋ํด์๋ [torch docs](https://pytorch.org/get-started/locally/#start-locally)๋ฅผ ์ฐธ๊ณ ํ์ธ์.
|
||||
|
||||
๋ค์๊ณผ ๊ฐ์ด `accelerate`์ ์ค์นํ์ธ์.
|
||||
|
||||
```bash
|
||||
pip install accelerate
|
||||
```
|
||||
|
||||
๋ค์ ๋ช
๋ น์ด๋ฅผ ์ฌ์ฉํ์ฌ ์์ค์์ ๐ค Diffusers๋ฅผ ์ค์นํ์ธ์:
|
||||
|
||||
```bash
|
||||
pip install git+https://github.com/huggingface/diffusers
|
||||
```
|
||||
|
||||
์ด ๋ช
๋ น์ด๋ ์ต์ `stable` ๋ฒ์ ์ด ์๋ ์ต์ฒจ๋จ `main` ๋ฒ์ ์ ์ค์นํฉ๋๋ค.
|
||||
`main` ๋ฒ์ ์ ์ต์ ๊ฐ๋ฐ ์ ๋ณด๋ฅผ ์ต์ ์ํ๋ก ์ ์งํ๋ ๋ฐ ์ ์ฉํฉ๋๋ค.
|
||||
์๋ฅผ ๋ค์ด ๋ง์ง๋ง ๊ณต์ ๋ฆด๋ฆฌ์ฆ ์ดํ ๋ฒ๊ทธ๊ฐ ์์ ๋์์ง๋ง, ์ ๋ฆด๋ฆฌ์ฆ๊ฐ ์์ง ์ถ์๋์ง ์์ ๊ฒฝ์ฐ์
๋๋ค.
|
||||
๊ทธ๋ฌ๋ ์ด๋ `main` ๋ฒ์ ์ด ํญ์ ์์ ์ ์ด์ง ์์ ์ ์์์ ์๋ฏธํฉ๋๋ค.
|
||||
์ฐ๋ฆฌ๋ `main` ๋ฒ์ ์ด ์ง์์ ์ผ๋ก ์๋ํ๋๋ก ๋
ธ๋ ฅํ๊ณ ์์ผ๋ฉฐ, ๋๋ถ๋ถ์ ๋ฌธ์ ๋ ๋ณดํต ๋ช ์๊ฐ ๋๋ ํ๋ฃจ ์์ ํด๊ฒฐ๋ฉ๋๋ค.
|
||||
๋ฌธ์ ๊ฐ ๋ฐ์ํ๋ฉด ๋ ๋นจ๋ฆฌ ํด๊ฒฐํ ์ ์๋๋ก [Issue](https://github.com/huggingface/transformers/issues)๋ฅผ ์ด์ด์ฃผ์ธ์!
|
||||
|
||||
|
||||
## ํธ์ง๊ฐ๋ฅํ ์ค์น
|
||||
|
||||
๋ค์์ ์ํํ๋ ค๋ฉด ํธ์ง๊ฐ๋ฅํ ์ค์น๊ฐ ํ์ํฉ๋๋ค:
|
||||
|
||||
* ์์ค ์ฝ๋์ `main` ๋ฒ์ ์ ์ฌ์ฉ
|
||||
* ๐ค Diffusers์ ๊ธฐ์ฌ (์ฝ๋์ ๋ณ๊ฒฝ ์ฌํญ์ ํ
์คํธํ๊ธฐ ์ํด ํ์)
|
||||
|
||||
์ ์ฅ์๋ฅผ ๋ณต์ ํ๊ณ ๋ค์ ๋ช
๋ น์ด๋ฅผ ์ฌ์ฉํ์ฌ ๐ค Diffusers๋ฅผ ์ค์นํฉ๋๋ค:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/huggingface/diffusers.git
|
||||
cd diffusers
|
||||
```
|
||||
|
||||
**PyTorch์ ๊ฒฝ์ฐ**
|
||||
|
||||
```
|
||||
pip install -e ".[torch]"
|
||||
```
|
||||
|
||||
**Flax์ ๊ฒฝ์ฐ**
|
||||
|
||||
```
|
||||
pip install -e ".[flax]"
|
||||
```
|
||||
|
||||
์ด๋ฌํ ๋ช
๋ น์ด๋ค์ ์ ์ฅ์๋ฅผ ๋ณต์ ํ ํด๋์ Python ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๊ฒฝ๋ก๋ฅผ ์ฐ๊ฒฐํฉ๋๋ค.
|
||||
Python์ ์ด์ ์ผ๋ฐ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๊ฒฝ๋ก์ ๋ํ์ฌ ๋ณต์ ํ ํด๋ ๋ด๋ถ๋ฅผ ์ดํด๋ด
๋๋ค.
|
||||
์๋ฅผ๋ค์ด Python ํจํค์ง๊ฐ `~/anaconda3/envs/main/lib/python3.7/site-packages/`์ ์ค์น๋์ด ์๋ ๊ฒฝ์ฐ Python์ ๋ณต์ ํ ํด๋์ธ `~/diffusers/`๋ ๊ฒ์ํฉ๋๋ค.
|
||||
|
||||
<Tip warning={true}>
|
||||
|
||||
๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ๊ณ์ ์ฌ์ฉํ๋ ค๋ฉด `diffusers` ํด๋๋ฅผ ์ ์งํด์ผ ํฉ๋๋ค.
|
||||
|
||||
</Tip>
|
||||
|
||||
์ด์ ๋ค์ ๋ช
๋ น์ด๋ฅผ ์ฌ์ฉํ์ฌ ์ต์ ๋ฒ์ ์ ๐ค Diffusers๋ก ์ฝ๊ฒ ์
๋ฐ์ดํธํ ์ ์์ต๋๋ค:
|
||||
|
||||
```bash
|
||||
cd ~/diffusers/
|
||||
git pull
|
||||
```
|
||||
|
||||
์ด๋ ๊ฒ ํ๋ฉด, ๋ค์์ ์คํํ ๋ Python ํ๊ฒฝ์ด ๐ค Diffusers์ `main` ๋ฒ์ ์ ์ฐพ๊ฒ ๋ฉ๋๋ค.
|
||||
|
||||
## ํ
๋ ๋ฉํธ๋ฆฌ ๋ก๊น
์ ๋ํ ์๋ฆผ
|
||||
|
||||
์ฐ๋ฆฌ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ `from_pretrained()` ์์ฒญ ์ค์ ํ
๋ ๋ฉํธ๋ฆฌ ์ ๋ณด๋ฅผ ์๊ฒฉ์ผ๋ก ์์งํฉ๋๋ค.
|
||||
์ด ๋ฐ์ดํฐ์๋ Diffusers ๋ฐ PyTorch/Flax์ ๋ฒ์ , ์์ฒญ๋ ๋ชจ๋ธ ๋๋ ํ์ดํ๋ผ์ธ ํด๋์ค, ๊ทธ๋ฆฌ๊ณ ํ๋ธ์์ ํธ์คํ
๋๋ ๊ฒฝ์ฐ ์ฌ์ ํ์ต๋ ์ฒดํฌํฌ์ธํธ์ ๋ํ ๊ฒฝ๋ก๋ฅผ ํฌํจํฉ๋๋ค.
|
||||
์ด ์ฌ์ฉ ๋ฐ์ดํฐ๋ ๋ฌธ์ ๋ฅผ ๋๋ฒ๊น
ํ๊ณ ์๋ก์ด ๊ธฐ๋ฅ์ ์ฐ์ ์์๋ฅผ ์ง์ ํ๋๋ฐ ๋์์ด ๋ฉ๋๋ค.
|
||||
ํ
๋ ๋ฉํธ๋ฆฌ๋ HuggingFace ํ๋ธ์์ ๋ชจ๋ธ๊ณผ ํ์ดํ๋ผ์ธ์ ๋ถ๋ฌ์ฌ ๋๋ง ์ ์ก๋๋ฉฐ, ๋ก์ปฌ ์ฌ์ฉ ์ค์๋ ์์ง๋์ง ์์ต๋๋ค.
|
||||
|
||||
์ฐ๋ฆฌ๋ ์ถ๊ฐ ์ ๋ณด๋ฅผ ๊ณต์ ํ์ง ์๊ธฐ๋ฅผ ์ํ๋ ์ฌ๋์ด ์๋ค๋ ๊ฒ์ ์ดํดํ๊ณ ๊ฐ์ธ ์ ๋ณด๋ฅผ ์กด์คํ๋ฏ๋ก, ํฐ๋ฏธ๋์์ `DISABLE_TELEMETRY` ํ๊ฒฝ ๋ณ์๋ฅผ ์ค์ ํ์ฌ ํ
๋ ๋ฉํธ๋ฆฌ ์์ง์ ๋นํ์ฑํํ ์ ์์ต๋๋ค.
|
||||
|
||||
Linux/MacOS์์:
|
||||
```bash
|
||||
export DISABLE_TELEMETRY=YES
|
||||
```
|
||||
|
||||
Windows์์:
|
||||
```bash
|
||||
set DISABLE_TELEMETRY=YES
|
||||
```
|
||||
123
docs/source/ko/quicktour.mdx
Normal file
123
docs/source/ko/quicktour.mdx
Normal file
@@ -0,0 +1,123 @@
|
||||
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
||||
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations under the License.
|
||||
-->
|
||||
|
||||
# ํ์ด๋ณด๊ธฐ
|
||||
|
||||
๐งจ Diffusers๋ก ๋น ๋ฅด๊ฒ ์์ํ๊ณ ์คํํ์ธ์!
|
||||
์ด ํ์ด๋ณด๊ธฐ๋ ์ฌ๋ฌ๋ถ์ด ๊ฐ๋ฐ์, ์ผ๋ฐ์ฌ์ฉ์ ์๊ด์์ด ์์ํ๋ ๋ฐ ๋์์ ์ฃผ๋ฉฐ, ์ถ๋ก ์ ์ํด [`DiffusionPipeline`] ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์ ๋ณด์ฌ์ค๋๋ค.
|
||||
|
||||
์์ํ๊ธฐ์ ์์์, ํ์ํ ๋ชจ๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๊ฐ ์ค์น๋์ด ์๋์ง ํ์ธํ์ธ์:
|
||||
|
||||
```bash
|
||||
pip install --upgrade diffusers accelerate transformers
|
||||
```
|
||||
|
||||
- [`accelerate`](https://huggingface.co/docs/accelerate/index)์ ์ถ๋ก ๋ฐ ํ์ต์ ์ํ ๋ชจ๋ธ ๋ถ๋ฌ์ค๊ธฐ ์๋๋ฅผ ๋์
๋๋ค.
|
||||
- [`transformers`](https://huggingface.co/docs/transformers/index)๋ [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion/overview)๊ณผ ๊ฐ์ด ๊ฐ์ฅ ๋๋ฆฌ ์ฌ์ฉ๋๋ ํ์ฐ ๋ชจ๋ธ์ ์คํํ๊ธฐ ์ํด ํ์ํฉ๋๋ค.
|
||||
|
||||
## DiffusionPipeline
|
||||
|
||||
[`DiffusionPipeline`]์ ์ถ๋ก ์ ์ํด ์ฌ์ ํ์ต๋ ํ์ฐ ์์คํ
์ ์ฌ์ฉํ๋ ๊ฐ์ฅ ์ฌ์ด ๋ฐฉ๋ฒ์
๋๋ค. ๋ค์ํ ์์์ ๋ง์ ์์
์ [`DiffusionPipeline`]์ ๋ฐ๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค. ์ง์๋๋ ์์
์ ์๋์ ํ๋ฅผ ์ฐธ๊ณ ํ์ธ์:
|
||||
|
||||
| **Task** | **Description** | **Pipeline**
|
||||
|------------------------------|--------------------------------------------------------------------------------------------------------------|-----------------|
|
||||
| Unconditional Image Generation | ๊ฐ์ฐ์์ ๋
ธ์ด์ฆ์์ ์ด๋ฏธ์ง ์์ฑ | [unconditional_image_generation](./using-diffusers/unconditional_image_generation`) |
|
||||
| Text-Guided Image Generation | ํ
์คํธ ํ๋กฌํํธ๋ก ์ด๋ฏธ์ง ์์ฑ | [conditional_image_generation](./using-diffusers/conditional_image_generation) |
|
||||
| Text-Guided Image-to-Image Translation | ํ
์คํธ ํ๋กฌํํธ์ ๋ฐ๋ผ ์ด๋ฏธ์ง ์กฐ์ | [img2img](./using-diffusers/img2img) |
|
||||
| Text-Guided Image-Inpainting | ๋ง์คํฌ ๋ฐ ํ
์คํธ ํ๋กฌํํธ๊ฐ ์ฃผ์ด์ง ์ด๋ฏธ์ง์ ๋ง์คํน๋ ๋ถ๋ถ์ ์ฑ์ฐ๊ธฐ | [inpaint](./using-diffusers/inpaint) |
|
||||
| Text-Guided Depth-to-Image Translation | ๊น์ด ์ถ์ ์ ํตํด ๊ตฌ์กฐ๋ฅผ ์ ์งํ๋ฉด์ ํ
์คํธ ํ๋กฌํํธ์ ๋ฐ๋ผ ์ด๋ฏธ์ง์ ์ผ๋ถ๋ฅผ ์กฐ์ | [depth2image](./using-diffusers/depth2image) |
|
||||
|
||||
ํ์ฐ ํ์ดํ๋ผ์ธ์ด ๋ค์ํ ์์
์ ๋ํด ์ด๋ป๊ฒ ์๋ํ๋์ง๋ [**Using Diffusers**](./using-diffusers/overview)๋ฅผ ์ฐธ๊ณ ํ์ธ์.
|
||||
|
||||
์๋ฅผ๋ค์ด, [`DiffusionPipeline`] ์ธ์คํด์ค๋ฅผ ์์ฑํ์ฌ ์์ํ๊ณ , ๋ค์ด๋ก๋ํ๋ ค๋ ํ์ดํ๋ผ์ธ ์ฒดํฌํฌ์ธํธ๋ฅผ ์ง์ ํฉ๋๋ค.
|
||||
๋ชจ๋ [Diffusers' checkpoint](https://huggingface.co/models?library=diffusers&sort=downloads)์ ๋ํด [`DiffusionPipeline`]์ ์ฌ์ฉํ ์ ์์ต๋๋ค.
|
||||
ํ์ง๋ง, ์ด ๊ฐ์ด๋์์๋ [Stable Diffusion](https://huggingface.co/CompVis/stable-diffusion)์ ์ฌ์ฉํ์ฌ text-to-image๋ฅผ ํ๋๋ฐ [`DiffusionPipeline`]์ ์ฌ์ฉํฉ๋๋ค.
|
||||
|
||||
[Stable Diffusion](https://huggingface.co/CompVis/stable-diffusion) ๊ธฐ๋ฐ ๋ชจ๋ธ์ ์คํํ๊ธฐ ์ ์ [license](https://huggingface.co/spaces/CompVis/stable-diffusion-license)๋ฅผ ์ฃผ์ ๊น๊ฒ ์ฝ์ผ์ธ์.
|
||||
์ด๋ ๋ชจ๋ธ์ ํฅ์๋ ์ด๋ฏธ์ง ์์ฑ ๊ธฐ๋ฅ๊ณผ ์ด๊ฒ์ผ๋ก ์์ฑ๋ ์ ์๋ ์ ํดํ ์ฝํ
์ธ ๋๋ฌธ์
๋๋ค. ์ ํํ Stable Diffusion ๋ชจ๋ธ(*์*: [`runwayml/stable-diffusion-v1-5`](https://huggingface.co/runwayml/stable-diffusion-v1-5))๋ก ์ด๋ํ์ฌ ๋ผ์ด์ผ์ค๋ฅผ ์ฝ์ผ์ธ์.
|
||||
|
||||
๋ค์๊ณผ ๊ฐ์ด ๋ชจ๋ธ์ ๋ก๋ํ ์ ์์ต๋๋ค:
|
||||
|
||||
```python
|
||||
>>> from diffusers import DiffusionPipeline
|
||||
|
||||
>>> pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")
|
||||
```
|
||||
|
||||
[`DiffusionPipeline`]์ ๋ชจ๋ ๋ชจ๋ธ๋ง, ํ ํฐํ ๋ฐ ์ค์ผ์ค๋ง ๊ตฌ์ฑ์์๋ฅผ ๋ค์ด๋ก๋ํ๊ณ ์บ์ํฉ๋๋ค.
|
||||
๋ชจ๋ธ์ ์ฝ 14์ต๊ฐ์ ๋งค๊ฐ๋ณ์๋ก ๊ตฌ์ฑ๋์ด ์์ผ๋ฏ๋ก GPU์์ ์คํํ๋ ๊ฒ์ด ์ข์ต๋๋ค.
|
||||
PyTorch์์์ ๋ง์ฐฌ๊ฐ์ง๋ก ์์ฑ๊ธฐ ๊ฐ์ฒด๋ฅผ GPU๋ก ์ฎ๊ธธ ์ ์์ต๋๋ค.
|
||||
|
||||
```python
|
||||
>>> pipeline.to("cuda")
|
||||
```
|
||||
|
||||
์ด์ `pipeline`์ ์ฌ์ฉํ ์ ์์ต๋๋ค:
|
||||
|
||||
```python
|
||||
>>> image = pipeline("An image of a squirrel in Picasso style").images[0]
|
||||
```
|
||||
|
||||
์ถ๋ ฅ์ ๊ธฐ๋ณธ์ ์ผ๋ก [PIL Image object](https://pillow.readthedocs.io/en/stable/reference/Image.html?highlight=image#the-image-class)๋ก ๋ํ๋ฉ๋๋ค.
|
||||
|
||||
๋ค์๊ณผ ๊ฐ์ด ํจ์๋ฅผ ํธ์ถํ์ฌ ์ด๋ฏธ์ง๋ฅผ ์ ์ฅํ ์ ์์ต๋๋ค:
|
||||
|
||||
```python
|
||||
>>> image.save("image_of_squirrel_painting.png")
|
||||
```
|
||||
|
||||
**์ฐธ๊ณ **: ๋ค์์ ํตํด ๊ฐ์ค์น๋ฅผ ๋ค์ด๋ก๋ํ์ฌ ๋ก์ปฌ์์ ํ์ดํ๋ผ์ธ์ ์ฌ์ฉํ ์๋ ์์ต๋๋ค:
|
||||
|
||||
```
|
||||
git lfs install
|
||||
git clone https://huggingface.co/runwayml/stable-diffusion-v1-5
|
||||
```
|
||||
|
||||
๊ทธ๋ฆฌ๊ณ ์ ์ฅ๋ ๊ฐ์ค์น๋ฅผ ํ์ดํ๋ผ์ธ์ ๋ถ๋ฌ์ต๋๋ค.
|
||||
|
||||
```python
|
||||
>>> pipeline = DiffusionPipeline.from_pretrained("./stable-diffusion-v1-5")
|
||||
```
|
||||
|
||||
ํ์ดํ๋ผ์ธ ์คํ์ ๋์ผํ ๋ชจ๋ธ ์ํคํ
์ฒ์ด๋ฏ๋ก ์์ ์ฝ๋์ ๋์ผํฉ๋๋ค.
|
||||
|
||||
```python
|
||||
>>> generator.to("cuda")
|
||||
>>> image = generator("An image of a squirrel in Picasso style").images[0]
|
||||
>>> image.save("image_of_squirrel_painting.png")
|
||||
```
|
||||
|
||||
ํ์ฐ ์์คํ
์ ๊ฐ๊ฐ ์ฅ์ ์ด ์๋ ์ฌ๋ฌ ๋ค๋ฅธ [schedulers](./api/schedulers/overview)์ ํจ๊ป ์ฌ์ฉํ ์ ์์ต๋๋ค. ๊ธฐ๋ณธ์ ์ผ๋ก Stable Diffusion์ `PNDMScheduler`๋ก ์คํ๋์ง๋ง ๋ค๋ฅธ ์ค์ผ์ค๋ฌ๋ฅผ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์ ๋งค์ฐ ๊ฐ๋จํฉ๋๋ค. *์* [`EulerDiscreteScheduler`] ์ค์ผ์ค๋ฌ๋ฅผ ์ฌ์ฉํ๋ ค๋ ๊ฒฝ์ฐ, ๋ค์๊ณผ ๊ฐ์ด ์ฌ์ฉํ ์ ์์ต๋๋ค:
|
||||
|
||||
```python
|
||||
>>> from diffusers import EulerDiscreteScheduler
|
||||
|
||||
>>> pipeline = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")
|
||||
|
||||
>>> # change scheduler to Euler
|
||||
>>> pipeline.scheduler = EulerDiscreteScheduler.from_config(pipeline.scheduler.config)
|
||||
```
|
||||
|
||||
์ค์ผ์ค๋ฌ ๋ณ๊ฒฝ ๋ฐฉ๋ฒ์ ๋ํ ์์ธํ ๋ด์ฉ์ [Using Schedulers](./using-diffusers/schedulers) ๊ฐ์ด๋๋ฅผ ์ฐธ๊ณ ํ์ธ์.
|
||||
|
||||
[Stability AI's](https://stability.ai/)์ Stable Diffusion ๋ชจ๋ธ์ ์ธ์์ ์ธ ์ด๋ฏธ์ง ์์ฑ ๋ชจ๋ธ์ด๋ฉฐ ํ
์คํธ์์ ์ด๋ฏธ์ง๋ฅผ ์์ฑํ๋ ๊ฒ๋ณด๋ค ํจ์ฌ ๋ ๋ง์ ์์
์ ์ํํ ์ ์์ต๋๋ค. ์ฐ๋ฆฌ๋ Stable Diffusion๋ง์ ์ํ ์ ์ฒด ๋ฌธ์ ํ์ด์ง๋ฅผ ์ ๊ณตํฉ๋๋ค [link](./conceptual/stable_diffusion).
|
||||
|
||||
๋ง์ฝ ๋ ์ ์ ๋ฉ๋ชจ๋ฆฌ, ๋ ๋์ ์ถ๋ก ์๋, Mac๊ณผ ๊ฐ์ ํน์ ํ๋์จ์ด ๋๋ ONNX ๋ฐํ์์์ ์คํ๋๋๋ก Stable Diffusion์ ์ต์ ํํ๋ ๋ฐฉ๋ฒ์ ์๊ณ ์ถ๋ค๋ฉด ์ต์ ํ ํ์ด์ง๋ฅผ ์ดํด๋ณด์ธ์:
|
||||
|
||||
- [Optimized PyTorch on GPU](./optimization/fp16)
|
||||
- [Mac OS with PyTorch](./optimization/mps)
|
||||
- [ONNX](./optimization/onnx)
|
||||
- [OpenVINO](./optimization/open_vino)
|
||||
|
||||
ํ์ฐ ๋ชจ๋ธ์ ๋ฏธ์ธ์กฐ์ ํ๊ฑฐ๋ ํ์ต์ํค๋ ค๋ฉด, [**training section**](./training/overview)์ ์ดํด๋ณด์ธ์.
|
||||
|
||||
๋ง์ง๋ง์ผ๋ก, ์์ฑ๋ ์ด๋ฏธ์ง๋ฅผ ๊ณต๊ฐ์ ์ผ๋ก ๋ฐฐํฌํ ๋ ์ ์ค์ ๊ธฐํด ์ฃผ์ธ์ ๐ค.
|
||||
Reference in New Issue
Block a user