Skip to content

Commit

Permalink
ci: testing with torch=2.0 (#1671)
Browse files Browse the repository at this point in the history
* testing with `torch=2.0`
* gnu
  • Loading branch information
Borda authored Mar 31, 2023
1 parent f22303f commit cdfc8df
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .azure/gpu-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,18 @@ jobs:
- job: pytest
strategy:
matrix:
'PyTorch - old':
'PyTorch | old':
docker-image: 'pytorch/pytorch:1.9.0-cuda11.1-cudnn8-runtime'
agent-pool: 'lit-rtx-3090'
torch-ver: '1.9.0'
'PyTorch - LTS':
'PyTorch | 1.X':
docker-image: 'pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime'
agent-pool: 'lit-rtx-3090'
torch-ver: '1.13.1'
# todo: when docker are live
#'PyTorch - stable':
# docker-image: 'pytorch/pytorch:2.0.0-cuda11.6-cudnn8-runtime'
# agent-pool: 'lit-rtx-3090'
# torch-ver: '2.0.0'
'PyTorch | 2.X':
docker-image: 'pytorch/pytorch:2.0.0-cuda11.7-cudnn8-runtime'
agent-pool: 'lit-rtx-3090'
torch-ver: '2.0.0'
# how long to run the job before automatically cancelling
timeoutInMinutes: "120"
# how much time to give 'run always even if cancelled tasks' before stopping them
Expand All @@ -47,6 +46,8 @@ jobs:
TORCH_HOME: "/var/tmp/torch"
TRANSFORMERS_CACHE: "/var/tmp/huggingface"
PIP_CACHE_DIR: "/var/tmp/pip"
# MKL_THREADING_LAYER: "GNU"
MKL_SERVICE_FORCE_INTEL: 1
# todo: consider unfreeze for master too
FREEZE_REQUIREMENTS: 1

Expand Down

0 comments on commit cdfc8df

Please sign in to comment.