From 1510d882fc234bc736ac61137e5aaa204d04b76a Mon Sep 17 00:00:00 2001 From: NickNickGo <66033489+NickNickGo@users.noreply.github.com> Date: Mon, 9 Nov 2020 22:28:03 -0800 Subject: [PATCH 1/7] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0cd5b7f..57511e5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,6 +1,6 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. - +# #Azure pipeline for continuous integration trigger: From 04f1a934fd6da646af5175962cfaff4920d841fa Mon Sep 17 00:00:00 2001 From: NickNickGo <66033489+NickNickGo@users.noreply.github.com> Date: Mon, 9 Nov 2020 22:29:08 -0800 Subject: [PATCH 2/7] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 57511e5..cde66d1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,7 +13,7 @@ jobs: pool: name: default demands: - - agent.name -equals gpu0 + - agent.name -equals gpu4 container: image: adsbrainwestus2.azurecr.io/fastseq:dev-py3 endpoint: fastseq-acr From b90371d1a55d401069a961c93887d7b9b861201d Mon Sep 17 00:00:00 2001 From: NickNickGo <66033489+NickNickGo@users.noreply.github.com> Date: Tue, 10 Nov 2020 08:52:50 -0800 Subject: [PATCH 3/7] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cde66d1..57511e5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,7 +13,7 @@ jobs: pool: name: default demands: - - agent.name -equals gpu4 + - agent.name -equals gpu0 container: image: adsbrainwestus2.azurecr.io/fastseq:dev-py3 endpoint: fastseq-acr From db25df1e28cf9ac94bf552c81c5b8c77e33864e9 Mon Sep 17 00:00:00 2001 From: NickNickGo <66033489+NickNickGo@users.noreply.github.com> Date: Tue, 10 Nov 2020 10:41:32 -0800 Subject: [PATCH 4/7] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 57511e5..0537aba 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,7 +13,7 @@ jobs: pool: name: default demands: - - agent.name -equals gpu0 + - agent.name -equals gpu0_11_10_2020 container: image: adsbrainwestus2.azurecr.io/fastseq:dev-py3 endpoint: fastseq-acr From e7cb70e1d1848623b29d304975e067e07c8bef54 Mon Sep 17 00:00:00 2001 From: NickNickGo <66033489+NickNickGo@users.noreply.github.com> Date: Tue, 10 Nov 2020 10:49:49 -0800 Subject: [PATCH 5/7] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0537aba..57511e5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,7 +13,7 @@ jobs: pool: name: default demands: - - agent.name -equals gpu0_11_10_2020 + - agent.name -equals gpu0 container: image: adsbrainwestus2.azurecr.io/fastseq:dev-py3 endpoint: fastseq-acr From e63e57b4485aca41edca797df63985eb0532551d Mon Sep 17 00:00:00 2001 From: NickNickGo <66033489+NickNickGo@users.noreply.github.com> Date: Fri, 13 Nov 2020 11:39:21 -0800 Subject: [PATCH 6/7] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 57511e5..2b93772 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -41,3 +41,10 @@ jobs: #cd benchmarks/ #CUDA_VISIBLE_DEVICES=3 run_all_benchmarks.sh displayName: 'run fastseq unit tests' + - task: PublishTestResults@2 + condition: succeededOrFailed() + inputs: + testRunTitle: 'Publish test results for Python $(python.version)' + failTaskOnFailedTests: true + + From d7b9bc71975f6ab7bf735d7ed7181c3d01478ed8 Mon Sep 17 00:00:00 2001 From: NickNickGo <66033489+NickNickGo@users.noreply.github.com> Date: Fri, 13 Nov 2020 12:25:55 -0800 Subject: [PATCH 7/7] Update azure-pipelines.yml --- azure-pipelines.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2b93772..831d9bf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -32,12 +32,12 @@ jobs: export CUDA_VISIBLE_DEVICES=3 echo "******* Running fairseq unittests *******" - bash tests/run_fairseq_tests.sh + bash tests/run_fairseq_tests.sh > out_fairseq echo "******* Running transformers unittests *******" - bash tests/run_transformers_tests.sh + #bash tests/run_transformers_tests.sh echo "******* Running fastseq unittests *******" - pip install pytorch-transformers==1.0.0 - python -m unittest discover -s tests/ -p 'test_*.py' -v + #pip install pytorch-transformers==1.0.0 + #python -m unittest discover -s tests/ -p 'test_*.py' -v #cd benchmarks/ #CUDA_VISIBLE_DEVICES=3 run_all_benchmarks.sh displayName: 'run fastseq unit tests' @@ -45,6 +45,7 @@ jobs: condition: succeededOrFailed() inputs: testRunTitle: 'Publish test results for Python $(python.version)' + testResultsFiles: 'out_fairseq' failTaskOnFailedTests: true