[DOCS] fix tutorials for v2.0 (#422)

- Fix meta-parameter usage on tutorials.
- Install tutorial dependencies on CI.
- Switch from `requirements-test.txt` to `extras_require` for test dependencies, and also use it for tutorial dependencies.
- Make some performance tests deterministic.
This commit is contained in:
Madeleine Thompson
2022-01-07 12:34:38 -08:00
committed by GitHub
parent 8bf551ae7a
commit 9801aa7b56
11 changed files with 54 additions and 32 deletions

View File

@@ -25,7 +25,7 @@ jobs:
run: |
alias python='python3'
cd python
pip3 install -e .
pip3 install -e '.[tutorials]'
- name: Build docs
run: |
@@ -39,4 +39,4 @@ jobs:
eval `ssh-agent -s`
DISPLAY=:0 SSH_ASKPASS=~/.ssh/give_pass.sh ssh-add ${{ secrets.SSH_KEY }} <<< ${{ secrets.SSH_PASS }}
git remote set-url origin git@github.com:openai/triton.git
git push
git push

View File

@@ -28,7 +28,7 @@ jobs:
run: |
alias python='python3'
cd python
pip3 install -e .
pip3 install -e '.[tests]'
- name: Unit tests
run: |
@@ -44,4 +44,3 @@ jobs:
pytest -vs .
sudo nvidia-smi -i 0 -rgc
sudo nvidia-smi -i 0 -rmc