[doc] add os scope, update tutorial install and tips (#2914)

pull/2920/head
binmakeswell 2 years ago committed by GitHub
parent 7b13f7db18
commit 0afb55fc5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -273,6 +273,7 @@ Colossal-AI 为您提供了一系列并行组件。我们的目标是让您的
<p align="right">(<a href="#top">返回顶端</a>)</p>
## 安装
> Colossal-AI 目前仅支持Linux操作系统没有在其他操作系统如Windows和macOS进行测试
### 从PyPI安装

@ -275,6 +275,7 @@ Acceleration of [AlphaFold Protein Structure](https://alphafold.ebi.ac.uk/)
<p align="right">(<a href="#top">back to top</a>)</p>
## Installation
> Colossal-AI currently only supports the Linux operating system and has not been tested on other OS such as Windows and macOS.
### Install from PyPI

@ -1,4 +1,5 @@
# Setup
> Colossal-AI currently only supports the Linux operating system and has not been tested on other OS such as Windows and macOS.
## Download From PyPI

@ -1,4 +1,5 @@
# 安装
> Colossal-AI 目前仅支持Linux操作系统没有在其他操作系统如Windows和macOS进行测试
## 从PyPI上安装

@ -1,5 +1,7 @@
# Colossal-AI Tutorial Hands-on
> This path is an abbreviated tutorial prepared for specific activities and may not be maintained in real time. For use of Colossal-AI, please refer to other [examples](https://github.com/hpcaitech/ColossalAI/tree/main/examples) and [documents](https://www.colossalai.org/).
## Introduction
Welcome to the [Colossal-AI](https://github.com/hpcaitech/ColossalAI) tutorial, which has been accepted as official tutorials by top conference [SC](https://sc22.supercomputing.org/), [AAAI](https://aaai.org/Conferences/AAAI-23/), [PPoPP](https://ppopp23.sigplan.org/), [CVPR](https://cvpr2023.thecvf.com/), etc.
@ -38,16 +40,7 @@ If you encounter any problem while running these tutorials, you may want to rais
## 🛠️ Setup environment
[[video]](https://www.youtube.com/watch?v=dpMYj974ZIc) You should use `conda` to create a virtual environment, we recommend **python 3.8**, e.g. `conda create -n colossal python=3.8`. This installation commands are for CUDA 11.3, if you have a different version of CUDA, please download PyTorch and Colossal-AI accordingly.
```
# install torch
# visit https://pytorch.org/get-started/locally/ to download other versions
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113
# install latest ColossalAI
# visit https://colossalai.org/download to download corresponding version of Colossal-AI
pip install colossalai==0.1.11rc3+torch1.12cu11.3 -f https://release.colossalai.org
```
You can refer to the [Installation](https://github.com/hpcaitech/ColossalAI#installation) to set up your environment.
You can run `colossalai check -i` to verify if you have correctly set up your environment 🕹️.
![](https://raw.githubusercontent.com/hpcaitech/public_assets/main/examples/tutorial/colossalai%20check%20-i.png)

Loading…
Cancel
Save