Skip to content

Commit e1e683d

Browse files
committedMar 27, 2022
1 parent 866b04a commit e1e683d

17 files changed

+271
-365
lines changed
 

‎_config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Site settings
2-
title: "PyTorch KR Website"
2+
title: "PyTorch Korea User Group"
33
author: "PyTorch Korea User Group"
4-
default_author: The PyTorch Korea Community
5-
description: "PyTorch Korea User Group - it's an unofficial user community for Korean"
4+
default_author: PyTorch Korea User Group
5+
description: "파이토치 한국 사용자 모임에 오신 것을 환영합니다. 딥러닝 프레임워크인 파이토치(PyTorch)를 사용하는 한국어 사용자들을 위해 문서를 번역하고 정보를 공유하고 있습니다."
66
latest_version: 1.0
77
timezone: Asia/Seoul
88
url: "https://pytorch.kr"

‎_devel/update_hub_submodule.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set -ex
22
pushd _hub
3-
git pull https://github.com/9bow/PyTorch-hub-kr
3+
git pull https://github.com/PyTorchKorea/hub-kr
44
popd
55
cp _hub/images/* assets/images/
66

‎_get_started/previous-versions.md

+109
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,115 @@ redirect_from: /previous-versions.html
1616

1717
## 1.0.0 이상 버전 설치하기
1818

19+
### v1.9.0
20+
21+
#### Conda
22+
23+
##### OSX
24+
25+
```
26+
# conda
27+
conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 -c pytorch
28+
```
29+
30+
##### Linux and Windows
31+
32+
```
33+
# CUDA 10.2
34+
conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=10.2 -c pytorch
35+
36+
# CUDA 11.3
37+
conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=11.3 -c pytorch -c conda-forge
38+
39+
# CPU Only
40+
conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cpuonly -c pytorch
41+
```
42+
43+
#### Wheel
44+
45+
##### OSX
46+
47+
```
48+
pip install torch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0
49+
```
50+
51+
##### Linux and Windows
52+
53+
```
54+
# ROCM 4.2 (Linux only)
55+
pip install torch==1.9.0+rocm4.2 torchvision==0.10.0+rocm4.2 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
56+
57+
# ROCM 4.1 (Linux only)
58+
pip install torch==1.9.0+rocm4.1 torchvision==0.10.0+rocm4.1 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
59+
60+
# ROCM 4.0.1 (Linux only)
61+
pip install torch==1.9.0+rocm4.0.1 torchvision==0.10.0+rocm4.0.1 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
62+
63+
# CUDA 11.1
64+
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
65+
66+
# CUDA 10.2
67+
pip install torch==1.9.0+cu102 torchvision==0.10.0+cu102 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
68+
69+
# CPU only
70+
pip install torch==1.9.0+cpu torchvision==0.10.0+cpu torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
71+
```
72+
73+
### v1.8.1
74+
75+
#### Conda
76+
77+
##### OSX
78+
79+
```
80+
# conda
81+
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 -c pytorch
82+
```
83+
84+
##### Linux and Windows
85+
86+
```
87+
# CUDA 10.2
88+
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=10.2 -c pytorch
89+
90+
# CUDA 11.3
91+
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=11.3 -c pytorch -c conda-forge
92+
93+
# CPU Only
94+
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cpuonly -c pytorch
95+
```
96+
97+
#### Wheel
98+
99+
##### OSX
100+
101+
```
102+
pip install torch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1
103+
```
104+
105+
##### Linux and Windows
106+
107+
```
108+
# ROCM 4.0.1 (Linux only)
109+
pip install torch==1.8.1+rocm4.0.1 torchvision==0.9.1+rocm4.0.1 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
110+
111+
# ROCM 3.10 (Linux only)
112+
pip install torch==1.8.1+rocm3.10 torchvision==0.9.1+rocm3.10 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
113+
114+
# CUDA 11.1
115+
pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
116+
117+
# CUDA 10.2
118+
pip install torch==1.8.1+cu102 torchvision==0.9.1+cu102 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
119+
120+
# CUDA 10.1
121+
pip install torch==1.8.1+cu101 torchvision==0.9.1+cu101 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
122+
123+
# CPU only
124+
pip install torch==1.8.1+cpu torchvision==0.9.1+cpu torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
125+
```
126+
127+
19128
### v1.8.0
20129

21130
#### Conda

‎_includes/cookie_banner.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="cookie-banner-wrapper">
22
<div class="container">
3-
<p class="gdpr-notice">To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow our usage of cookies. As the current maintainers of this site, Facebook’s Cookies Policy applies. Learn more, including about available controls: <a href="https://www.facebook.com/policies/cookies/">Cookies Policy</a>.</p>
3+
<p class="gdpr-notice">사이트 트래픽을 분석하고 사용 경험을 최적화하기 위해 쿠키를 사용합니다. 메뉴를 클릭하거나 사이트를 탐색하면 쿠키 사용을 허용하는 데 동의하는 것으로 간주합니다.</p>
44
<img class="close-button" src="{{ site.baseurl }}/assets/images/pytorch-x.svg">
55
</div>
66
</div>

‎_includes/mobile_page_side_nav.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="sticky-top mobile-page-sidebar">
2-
<p id="shortcuts-menu">Shortcuts</p>
2+
<p id="shortcuts-menu">바로가기</p>
33
<ul id="mobile-page-sidebar-list"></ul>
44
</div>
55

‎_includes/open_graph_and_meta.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<meta
33
name="description"
44
property="og:description"
5-
content="(Unofficial) Korean user community for PyTorch which is an open source machine learning framework that accelerates the path from research prototyping to production deployment."
5+
content="파이토치 한국 사용자 모임에 오신 것을 환영합니다. 딥러닝 프레임워크인 파이토치(PyTorch)를 사용하는 한국어 사용자들을 위해 문서를 번역하고 정보를 공유하고 있습니다."
66
/>
7-
<meta property="og:url" content="https://www.pytorch.kr" />
7+
<meta property="og:url" content="https://pytorch.kr" />
88
<meta property="og:type" content="website" />
99
<meta
1010
property="og:image"

‎_includes/quick_start_local.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p>사용 환경을 선택하고 설치 명령을 복사해서 실행해 보세요. Stable 버전은 테스트 및 지원되고 있는 가장 최근의 PyTorch 버전으로, 대부분의 사용자에게 적합합니다.
2-
Preview 버전은 아직 완전히 테스트되지 않은 최신 1.11 버전으로 매일 업데이트됩니다. 사용 중인 패키지 매니저에 따라 <b>아래의 사전 요구사항(예: numpy)</b>이 충족되었는지 확인해 주세요.
2+
Preview 버전은 아직 완전히 테스트되지 않은 최신 1.12 버전으로 매일 업데이트됩니다. 사용 중인 패키지 매니저에 따라 <b>아래의 사전 요구사항(예: numpy)</b>이 충족되었는지 확인해 주세요.
33
모든 의존성을 설치할 수 있는 Anaconda를 패키지 매니저로 추천합니다. <a href="{{ site.baseurl }}/get-started/previous-versions">이전 버전의 PyTorch도 설치할 수 있습니다</a>. LibTorch는 C++에서만 지원합니다.
44
</p>
55
<p><a href="https://pytorch.org/enterprise-support-program" target="_blank">PyTorch Enterprise Support Program</a>을 통해 Stable 및 LTS 바이너리에 대한 추가적인 지원 / 보증이 가능합니다.
@@ -33,7 +33,7 @@
3333
<div class="option-text">PyTorch 빌드</div>
3434
</div>
3535
<div class="col-md-4 option block version selected" id="stable">
36-
<div class="option-text">Stable (1.10)</div>
36+
<div class="option-text">Stable (1.11.0)</div>
3737
</div>
3838
<div class="col-md-4 option block version" id="preview">
3939
<div class="option-text">Preview (Nightly)</div>

‎_layouts/hub_detail.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h1>
3131
<a href="https://colab.research.google.com/github/pytorch/pytorch.github.io/blob/master/{{ page.path | replace: "_hub", "assets/hub" | replace: ".md", ".ipynb" }}"><button class="btn btn-lg with-right-white-arrow detail-colab-link">Open on Google Colab</button></a>
3232
{% if page.demo-model-link %}
3333
{% if page.demo-model-button-text == blank or page.demo-model-button-text == nil %}
34-
<a href="{{ page.demo-model-link }}"><button class="btn btn-lg with-right-white-arrow detail-web-demo-link">Demo Model Output</button></a>
34+
<a href="{{ page.demo-model-link }}"><button class="btn btn-lg with-right-white-arrow detail-web-demo-link">Open Model Demo</button></a>
3535
{% else %}
3636
<a href="{{ page.demo-model-link }}"><button class="btn btn-lg with-right-white-arrow detail-web-demo-link">{{ page.demo-model-button-text }}</button></a>
3737
{% endif %}

‎_mobile/android.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ They are specified as environment variables:
295295

296296
`ANDROID_HOME` - path to [Android SDK](https://developer.android.com/studio/command-line/sdkmanager.html)
297297

298-
`ANDROID_NDK` - path to [Android NDK](https://developer.android.com/studio/projects/install-ndk)
298+
`ANDROID_NDK` - path to [Android NDK](https://developer.android.com/studio/projects/install-ndk). It's recommended to use NDK 21.x.
299299

300300
`GRADLE_HOME` - path to [gradle](https://gradle.org/releases/)
301301

‎_mobile/home.md

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ redirect_from: "/mobile/"
1111

1212
# PyTorch Mobile
1313

14+
**New!** Build AI-powered mobile apps in minutes with [PyTorch Live]({{site.baseurl}}/live).
15+
1416
There is a growing need to execute ML models on edge devices to reduce latency, preserve privacy, and enable new interactive use cases.
1517

1618
The PyTorch Mobile runtime beta release allows you to seamlessly go from training a model to deploying it, while staying entirely within the PyTorch ecosystem. It provides an end-to-end workflow that simplifies the research to production environment for mobile devices. In addition, it paves the way for privacy-preserving features via federated learning techniques.

‎_mobile/ios.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ To get started with PyTorch on iOS, we recommend exploring the following [HelloW
1616

1717
HelloWorld is a simple image classification application that demonstrates how to use PyTorch C++ libraries on iOS. The code is written in Swift and uses Objective-C as a bridge.
1818

19+
### Requirements
20+
21+
- XCode 11.0 or above
22+
- iOS 12.0 or above
23+
1924
### Model Preparation
2025

2126
Let's start with model preparation. If you are familiar with PyTorch, you probably should already know how to train and save your model. In case you don't, we are going to use a pre-trained image classification model - [MobileNet v2](https://pytorch.org/hub/pytorch_vision_mobilenet_v2/), which is already packaged in [TorchVision](https://pytorch.org/docs/stable/torchvision/index.html). To install it, run the command below.
@@ -32,7 +37,7 @@ Once we have TorchVision installed successfully, let's navigate to the HelloWorl
3237
python trace_model.py
3338
```
3439

35-
If everything works well, we should have our model - `model.pt` generated in the `HelloWorld` folder. Now copy the model file to our application folder `HelloWorld/model`.
40+
If everything works well, `model.pt` should be generated and saved in the `HelloWorld/HelloWorld/model` folder.
3641

3742
> To find out more details about TorchScript, please visit [tutorials on pytorch.org](https://pytorch.org/tutorials/advanced/cpp_export.html)
3843
@@ -65,7 +70,7 @@ guard var pixelBuffer = resizedImage.normalized() else {
6570
}
6671
```
6772

68-
We first load the image from our bundle and resize it to 224x224. Then we call this `normalized()` category method to normalized the pixel buffer. Let's take a closer look at the code below.
73+
We first load the image from our bundle and resize it to 224x224. Then we call this `normalized()` category method to normalize the pixel buffer. Let's take a closer look at the code below.
6974

7075
```swift
7176
var normalizedBuffer: [Float32] = [Float32](repeating: 0, count: w * h * 3)
@@ -82,7 +87,7 @@ The code might look weird at first glance, but it’ll make sense once we unders
8287

8388
#### TorchScript Module
8489

85-
Now that we have preprocessed our input data and we have a pre-trained TorchScript model, the next step is to use them to run predication. To do that, we'll first load our model into the application.
90+
Now that we have preprocessed our input data and we have a pre-trained TorchScript model, the next step is to use them to run prediction. To do that, we'll first load our model into the application.
8691

8792
```swift
8893
private lazy var module: TorchModule = {

‎_news/news-item-1.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22
order: 1
3-
link: https://pytorch.org/blog/pytorch-1.10-released
4-
summary: (영문) PyTorch 1.10 Release, including CUDA Graphs APIs, TorchScript improvements
3+
link: https://pytorch.org/blog/pytorch-1.11-released
4+
summary: (영문) NEW! PyTorch 1.11, TorchData, and functorch are now available
55
---
6-
7-

‎_news/news-item-2.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
order: 2
3-
link: https://pytorch.org/blog/pytorch-1.10-new-library-releases
4-
summary: (영문) New Library Releases in PyTorch 1.10, including TorchX, TorchAudio, TorchVision
3+
link: https://pytorch.org/blog/pytorch-1.11-new-library-releases
4+
summary: (영문) NEW! Introducing TorchRec, and other domain library updates in PyTorch 1.11
55
---
6-

‎_news/news-item-3.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
order: 3
3-
link: https://github.com/pytorch/pytorch/releases/tag/v1.8.1
4-
summary: (영문) PyTorch 1.8.1 is now available with improvements and bug fixes
3+
link: https://pytorch.org/blog/introducing-torchrec
4+
summary: (영문) NEW! Introducing TorchRec, a library for modern production recommendation systems
55
---
6-

‎_news/news-item-4.md

-5
This file was deleted.

‎_sass/hub.scss

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@
1010
font-weight: lighter;
1111
}
1212
#hub-sub-header {
13-
color: $white;
13+
color: $not_quite_black;
1414
}
1515
}
1616

1717
p.lead, p.hub-release-message {
1818
margin-bottom: rem(10px);
1919
padding-top: rem(5px);
20-
// color: $dark_grey;
21-
color: $white;
20+
color: $dark_grey;
2221

2322
@include desktop {
2423
width: 77%;

‎assets/quick-start-module.js

+132-332
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.