Skip to content

Commit 6603897

Browse files
committed
PyTorch 버전 호환성 문서 추가, PyTorch for Edge 문서 추가
- PyToch 및 Domain APIs와의 버전 호환성 문서 추가 - PyTorch for Edge 문서 적용 / 기존 Mobile 내용 제거 - 이전 버전의 PyTorch 문서 내 누락된 1.8.2 LTS 내용 추가 - PyTorch 2.x 문서 좌측 바로가기 개선 - PyTorch 시작하기 하위 메뉴 스타일 개선 등
1 parent a9397e9 commit 6603897

File tree

10 files changed

+1246
-58
lines changed

10 files changed

+1246
-58
lines changed

_get_started/get-started-locally.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,3 @@ redirect_from: "/get-started/"
4444
<script page-id="get-started-locally" src="{{ site.baseurl }}/assets/menu-tab-selection.js"></script>
4545
<script src="{{ site.baseurl }}/assets/quick-start-module.js"></script>
4646
<script src="{{ site.baseurl }}/assets/show-screencast.js"></script>
47-
<script src="{{ site.baseurl }}/assets/get-started-sidebar.js"></script>

_get_started/mobile.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,39 @@
11
---
22
layout: get_started
3-
title: 모바일
4-
permalink: /get-started/mobile/
3+
title: PyTorch for Edge
4+
permalink: /get-started/executorch/
55
background-class: get-started-background
66
body-class: get-started
7-
order: 5
7+
order: 6
88
published: true
99
---
1010

11-
## PyTorch 모바일로 시작하기
11+
## Get Started with PyTorch ExecuTorch
1212

13-
PyTorch 1.3부터, PyTorch는 Python으로 iOS 및 Android 배포에 이르기까지 종단 간 워크플로우(end-to-end workflow)를 지원합니다.
14-
현재는 초기의, 실험적인 릴리즈로 앞으로 여러 영역에서 만들어나갈 예정입니다.
13+
PyTorch’s edge specific library is [ExecuTorch](https://github.com/pytorch/executorch/) and is designed to be lightweight, very performant even on devices with constrained hardware such as mobile phones, embedded systems and microcontrollers.
1514

16-
[Android]({{ site.external_urls.org_www }}/mobile/android)에서 시작하기
15+
ExecuTorch relies heavily on PyTorch core technologies such as [torch.compile](https://pytorch.org/docs/stable/torch.compiler.html) and [torch.export](https://pytorch.org/docs/stable/export.html), and should be very familiar to anyone who has used PyTorch in the past.
16+
17+
### Getting Started
18+
You can get started by following the [general getting started guide](https://pytorch.org/executorch/stable/getting-started.html#) or jump to the specific steps for your target device.
19+
20+
* [Using ExecuTorch on Android](https://pytorch.org/executorch/stable/using-executorch-android.html)
21+
* [Using ExecuTorch on iOS](https://pytorch.org/executorch/stable/using-executorch-ios.html)
22+
* [Using ExecuTorch with C++](https://pytorch.org/executorch/stable/using-executorch-cpp.html)
23+
24+
### Hardware Acceleration
25+
ExecuTorch provides out of the box hardware acceleration for a growing number of chip manufacturers. See the following resources to learn more about how to leverage them:
26+
27+
* [Backend Overview](https://pytorch.org/executorch/stable/backends-overview.html)
28+
* [XNNPACK](https://pytorch.org/executorch/stable/backends-xnnpack.html)
29+
* [Core ML](https://pytorch.org/executorch/stable/backends-coreml.html)
30+
* [MPS](https://pytorch.org/executorch/stable/backends-mps.html)
31+
* [Vulkan](https://pytorch.org/executorch/stable/backends-vulkan.html)
32+
* [ARM Ethos-U](https://pytorch.org/executorch/stable/backends-arm-ethos-u.html)
33+
* [Qualcomm AI Engine](https://pytorch.org/executorch/stable/backends-qualcomm.html)
34+
* [MediaTek](https://pytorch.org/executorch/stable/backends-mediatek.html)
35+
* [Cadence Xtensa](https://pytorch.org/executorch/stable/backends-cadence.html)
1736

18-
[iOS]({{ site.external_urls.org_www }}/mobile/ios)에서 시작하기
1937

2038
<script page-id="mobile" src="{{ site.baseurl }}/assets/menu-tab-selection.js"></script>
2139
<script src="{{ site.baseurl }}/assets/get-started-sidebar.js"></script>

_get_started/previous-versions.md

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ redirect_from: /previous-versions.html
1212
## 이전 버전의 PyTorch 설치하기
1313

1414
[최신 버전](/get-started/locally)을 설치하시기를 권해드리지만,
15-
편의를 위해 아래와 같이 이전 버전의 설치 파일과 방법을 제공하고 있습니다.
15+
편의를 위해 아래와 같이 이전 버전의 설치 파일과 방법을 제공하고 있습니다. \
16+
이전 버전의 PyTorch와 호환되는 Domain API의 버전 정보는 [PyTorch 버전 호환성](/get-started/compatibility/)을 참고해주세요.
1617

1718
## 1.0.0 이상 버전 설치하기
1819

@@ -1153,6 +1154,61 @@ pip install torch==1.9.0+cu102 torchvision==0.10.0+cu102 torchaudio==0.9.0 -f ht
11531154
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
11541155
```
11551156

1157+
### v1.8.2 with LTS support
1158+
1159+
#### Conda
1160+
1161+
##### OSX
1162+
1163+
macOS is currently not supported for LTS.
1164+
1165+
##### Linux and Windows
1166+
1167+
```
1168+
# CUDA 10.2
1169+
# NOTE: PyTorch LTS version 1.8.2 is only supported for Python <= 3.8.
1170+
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch-lts
1171+
1172+
# CUDA 11.1 (Linux)
1173+
# NOTE: 'nvidia' channel is required for cudatoolkit 11.1 <br> <b>NOTE:</b> Pytorch LTS version 1.8.2 is only supported for Python <= 3.8.
1174+
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch-lts -c nvidia
1175+
1176+
# CUDA 11.1 (Windows)
1177+
# 'conda-forge' channel is required for cudatoolkit 11.1 <br> <b>NOTE:</b> Pytorch LTS version 1.8.2 is only supported for Python <= 3.8.
1178+
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch-lts -c conda-forge
1179+
1180+
# CPU Only
1181+
# Pytorch LTS version 1.8.2 is only supported for Python <= 3.8.
1182+
conda install pytorch torchvision torchaudio cpuonly -c pytorch-lts
1183+
1184+
# ROCM5.x
1185+
1186+
Not supported in LTS.
1187+
```
1188+
1189+
#### Wheel
1190+
1191+
##### OSX
1192+
1193+
macOS is currently not supported in LTS.
1194+
1195+
##### Linux and Windows
1196+
1197+
```
1198+
# CUDA 10.2
1199+
pip3 install torch==1.8.2 torchvision==0.9.2 torchaudio==0.8.2 --extra-index-url https://download.pytorch.org/whl/lts/1.8/cu102
1200+
1201+
# CUDA 11.1
1202+
pip3 install torch==1.8.2 torchvision==0.9.2 torchaudio==0.8.2 --extra-index-url https://download.pytorch.org/whl/lts/1.8/cu111
1203+
1204+
# CPU Only
1205+
pip3 install torch==1.8.2 torchvision==0.9.2 torchaudio==0.8.2 --extra-index-url https://download.pytorch.org/whl/lts/1.8/cpu
1206+
1207+
# ROCM5.x
1208+
1209+
Not supported in LTS.
1210+
```
1211+
11561212
### v1.8.1
11571213

11581214
#### Conda

_get_started/pytorch.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: get_started
3-
title: PyTorch 2.0
3+
title: PyTorch 2.x
44
permalink: /get-started/pytorch-2.0/
55
featured-img: "assets/images/featured-img-pytorch-2.png"
66
background-class: get-started-background
@@ -369,7 +369,7 @@ We are super excited about the direction that we’ve taken for PyTorch 2.0 and
369369
- [Developer Discussions](https://dev-discuss.pytorch.org)
370370

371371
<script page-id="pytorch" src="{{ site.baseurl }}/assets/menu-tab-selection.js"></script>
372-
<script src="{{ site.baseurl }}/assets/quick-start-module.js"></script>
372+
<!-- <script src="{{ site.baseurl }}/assets/quick-start-module.js"></script> -->
373373
<script src="{{ site.baseurl }}/assets/show-screencast.js"></script>
374374

375375
## Accelerating Hugging Face and TIMM models with PyTorch 2.0
@@ -664,5 +664,3 @@ Disclaimer: Please do not share your personal information, last name, company wh
664664
- [TorchInductor](https://www.youtube.com/watch?v=vbtGZL7IrAw)
665665
- [Dynamic Shapes](https://www.youtube.com/watch?v=vbtGZL7IrAw)
666666
- [Export Path](https://www.youtube.com/watch?v=vbtGZL7IrAw)
667-
668-
<script src="{{ site.baseurl }}/assets/get-started-sidebar.js"></script>

0 commit comments

Comments
 (0)