Skip to content
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4e895d8
Set up CI with Azure Pipelines
NickNickGo Oct 20, 2020
675589a
Update azure-pipelines.yml
NickNickGo Oct 20, 2020
9e90413
Update azure-pipelines.yml
NickNickGo Oct 20, 2020
28fc099
Update azure-pipelines.yml
NickNickGo Oct 20, 2020
1f34332
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
e1f154b
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
62f6a29
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
33f9050
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
c2a5a9e
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
650fe2b
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
ff8fd8c
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
c91ba67
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
4b79eb1
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
ec43d27
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
7bd64a8
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
6d98718
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
57fb6d9
Update beam_search_optimizer_v1.py
NickNickGo Oct 21, 2020
ed3497d
Update beam_search_optimizer_v1.py
NickNickGo Oct 21, 2020
83943ba
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
489662f
Update azure-pipelines.yml
NickNickGo Oct 21, 2020
f5d524d
Set up CI with Azure Pipelines
NickNickGo Oct 22, 2020
29aa0cd
Update azure-pipelines.yml
NickNickGo Oct 22, 2020
6da9b08
Update azure-pipelines.yml
NickNickGo Oct 22, 2020
2d1b6d3
Update README.md
NickNickGo Oct 22, 2020
651da92
Update README.md
NickNickGo Oct 22, 2020
347f2b8
Update README.md
NickNickGo Oct 22, 2020
cce3d05
Update README.md
NickNickGo Oct 22, 2020
57f0801
Update README.md
NickNickGo Oct 22, 2020
c7db147
Update README.md
NickNickGo Oct 22, 2020
4226d31
Update README.md
NickNickGo Oct 22, 2020
9069c92
Update README.md
NickNickGo Oct 22, 2020
50e9ea6
Update README.md
NickNickGo Oct 22, 2020
f15428e
Update README.md
NickNickGo Oct 22, 2020
b8b60b4
Update README.md
NickNickGo Oct 22, 2020
719aef6
Update README.md
NickNickGo Oct 22, 2020
bcf6fb4
Set up CI with Azure Pipelines
NickNickGo Oct 22, 2020
af111a9
Update azure-pipelines.yml
NickNickGo Oct 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Python package

trigger:
- main
jobs:
- job: Fastseq_Tests
timeoutInMinutes: 360
#pool:
# vmImage: 'ubuntu-18.04'
pool:
name: default
demands:
- agent.name -equals gpu4

steps:
# Unfortunately nvidia's nvcc_linux-64=<version> seems to install 10.1 regardless?
# Most of this complexity is a workaround to get the compiler toolchain to match the
# cudatoolkit runtime
- script: |
#conda create --force --yes -n $(conda_env) python=$(python.version) cudatoolkit=$(cuda.version)
#conda init bash
#conda activate $(conda_env)
#conda install -q --yes conda
#conda install -q --yes pip
#conda install -q --yes gxx_linux-64
#if [[ $(cuda.version) != "10.2" ]]; then conda install --yes -c conda-forge cudatoolkit-dev=$(cuda.version) ; fi
#echo "PATH=$PATH, LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
python --version
#which nvcc
#nvcc --version
#which fastseq
#bash tests/run_fairseq_tests.sh
sudo docker run --gpus all --network=host --privileged -w '/root' --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 adsbrainwestus2.azurecr.io/fastseq:dev-py3 /bin/bash
ls
pip install --editable .
bash tests/run_fairseq_tests.sh
python --version
displayName: 'Setup environment python=$(python.version) pytorch=$(pytorch.version) cuda=$(cuda.version)'