Skip to content

Commit

Permalink
CI: Azure - LTS & stable builds (#1013)
Browse files Browse the repository at this point in the history
* CI: Azure - multiple configs
* Apply suggestions from code review

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
  • Loading branch information
Borda and akihironitta authored May 6, 2022
1 parent 21384e5 commit 91ab307
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .azure/gpu-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ pr:

jobs:
- job: pytest
strategy:
matrix:
'PyTorch - LTS':
PyTorch: '1.8.1'
CUDA: '11.1'
'PyTorch - stable':
PyTorch: '1.11.0'
CUDA: '11.3'
#maxParallel: '2'
# how long to run the job before automatically cancelling
timeoutInMinutes: "55"
# how much time to give 'run always even if cancelled tasks' before stopping them
Expand All @@ -26,7 +35,7 @@ jobs:
pool: azure-gpus-spot

container:
image: "pytorch/pytorch:1.8.1-cuda11.1-cudnn8-runtime"
image: "pytorch/pytorch:$(PyTorch)-cuda$(CUDA)-cudnn8-runtime"
options: "--runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=all --name ci-container -v /usr/bin/docker:/tmp/docker:ro"

workspace:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ jobs:
check-jsonschema .github/actions/*/*.yml --builtin-schema "github-actions"
- name: Azure Pipelines
run: |
check-jsonschema .azure/*.yml --schemafile "https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/v1.188.1/service-schema.json"
env:
SCHEMA_FILE: https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/v1.204.0/service-schema.json
run: check-jsonschema .azure/*.yml --schemafile "$SCHEMA_FILE"

0 comments on commit 91ab307

Please sign in to comment.