mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2026-01-21 22:24:00 +00:00
update examples and sphnix docs for the new api (#63)
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
# Setup
|
||||
|
||||
## Install with pip
|
||||
### PyPI
|
||||
|
||||
```bash
|
||||
pip install colossalai
|
||||
```
|
||||
|
||||
## Install from source
|
||||
### Install From Source (Recommended)
|
||||
|
||||
> We **recommend** you to install from source as the Colossal-AI is updating frequently in the early versions. The documentation will be in line with the main branch of the repository. Feel free to raise an issue if you encounter any problem. :)
|
||||
|
||||
```shell
|
||||
git clone git@github.com:hpcaitech/ColossalAI.git
|
||||
git clone https://github.com/hpcaitech/ColossalAI.git
|
||||
cd ColossalAI
|
||||
# install dependency
|
||||
pip install -r requirements/requirements.txt
|
||||
@@ -22,8 +24,4 @@ Install and enable CUDA kernel fusion (compulsory installation when using fused
|
||||
|
||||
```shell
|
||||
pip install -v --no-cache-dir --global-option="--cuda_ext" .
|
||||
|
||||
# install with editable enabled
|
||||
pip install -v --no-cache-dir --global-option="--cuda_ext" -e .
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user