-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into inference/pipechanges
- Loading branch information
Showing
169 changed files
with
6,750 additions
and
1,542 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: amd | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- 'staging**' | ||
paths-ignore: | ||
- 'docs/**' | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
unit-tests: | ||
# The type of runner that the job will run on | ||
runs-on: [self-hosted, amd] | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
# Runs a single command using the runners shell | ||
- name: environment | ||
run: | | ||
rocm-smi --showhw | ||
which python | ||
python --version | ||
which hipcc | ||
hipcc --version | ||
python -c "import torch; print('torch:', torch.__version__, torch)" | ||
python -c "import torch; print('CUDA available:', torch.cuda.is_available())" | ||
sudo apt-get update | ||
sudo apt-get install -y libaio-dev | ||
# Runs a set of commands using the runners shell | ||
- name: Install deepspeed | ||
run: | | ||
sudo /opt/conda/bin/pip install .[dev,1bit,autotuning] | ||
#python -c "from deepspeed.env_report import cli_main; cli_main()" | ||
ds_report | ||
# Runs a set of commands using the runners shell | ||
- name: Unit tests | ||
run: | | ||
if [[ -d ./torch-extensions ]]; then rm -rf ./torch-extensions; fi | ||
cd tests | ||
TORCH_EXTENSIONS_DIR=./torch-extensions pytest --color=yes --durations=0 --forked --verbose -x -n 4 -m 'not sequential' unit/ | ||
TORCH_EXTENSIONS_DIR=./torch-extensions pytest --color=yes --durations=0 --forked --verbose -x -m 'sequential' unit/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: nv-lightning-v100 | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- 'staging**' | ||
paths-ignore: | ||
- 'docs/**' | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
unit-tests: | ||
runs-on: [self-hosted, nvidia, torch18, v100] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: environment | ||
run: | | ||
nvidia-smi | ||
which python | ||
python --version | ||
which nvcc | ||
nvcc --version | ||
pip install torch==1.8.2+cu111 torchvision==0.9.2+cu111 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html | ||
python -c "import torch; print('torch:', torch.__version__, torch)" | ||
python -c "import torch; print('CUDA available:', torch.cuda.is_available())" | ||
- name: Install deepspeed | ||
run: | | ||
pip install .[dev,autotuning] | ||
ds_report | ||
- name: PyTorch Lightning Tests | ||
run: | | ||
if [[ -d ./torch-extensions ]]; then rm -rf ./torch-extensions; fi | ||
pip install pytorch-lightning | ||
cd tests | ||
TORCH_EXTENSIONS_DIR=./torch-extensions pytest --color=yes --durations=0 --verbose lightning/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: nv-torch12-p40 | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- 'staging**' | ||
paths-ignore: | ||
- 'docs/**' | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
unit-tests: | ||
runs-on: [self-hosted, nvidia, torch12, p40] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: environment | ||
run: | | ||
nvidia-smi | ||
which python | ||
python --version | ||
which nvcc | ||
nvcc --version | ||
python -c "import torch; print('torch:', torch.__version__, torch)" | ||
python -c "import torch; print('CUDA available:', torch.cuda.is_available())" | ||
- name: Install deepspeed | ||
run: | | ||
pip install .[dev,autotuning] | ||
ds_report | ||
- name: Unit tests | ||
run: | | ||
if [[ -d ./torch-extensions ]]; then rm -rf ./torch-extensions; fi | ||
cd tests | ||
TORCH_EXTENSIONS_DIR=./torch-extensions pytest --color=yes --durations=0 --forked --verbose -n 4 unit/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: nv-torch18-v100 | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- 'staging**' | ||
paths-ignore: | ||
- 'docs/**' | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
unit-tests: | ||
runs-on: [self-hosted, nvidia, torch18, v100] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: environment | ||
run: | | ||
nvidia-smi | ||
which python | ||
python --version | ||
which nvcc | ||
nvcc --version | ||
pip install torch==1.8.2+cu111 torchvision==0.9.2+cu111 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html | ||
python -c "import torch; print('torch:', torch.__version__, torch)" | ||
python -c "import torch; print('CUDA available:', torch.cuda.is_available())" | ||
- name: Install deepspeed | ||
run: | | ||
pip install .[dev,1bit,autotuning,sparse_attn] | ||
ds_report | ||
- name: Unit tests | ||
run: | | ||
unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch | ||
if [[ -d ./torch-extensions ]]; then rm -rf ./torch-extensions; fi | ||
cd tests | ||
TORCH_EXTENSIONS_DIR=./torch-extensions pytest --color=yes --durations=0 --forked --verbose -n 4 -m 'not sequential' unit/ | ||
TORCH_EXTENSIONS_DIR=./torch-extensions pytest --color=yes --durations=0 --forked --verbose -m 'sequential' unit/ |
Oops, something went wrong.