Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
KuuCi committed Jan 22, 2024
1 parent 7be59d4 commit 9e31fa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/generate_build_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def _get_torchvision_version(pytorch_version: str):
return '0.14.1'
raise ValueError(f'Invalid pytorch_version: {pytorch_version}')


def _get_pytorch_version(python_version: str):
if python_version == '3.10':
return ['1.13.1', '2.0.1', '2.1.2']
Expand Down Expand Up @@ -216,7 +217,7 @@ def _main():

# Only build EFA image on latest python with cuda on pytorch_stage
if interconnect == 'EFA' and not (python_version == LATEST_PYTHON_VERSION and use_cuda and
stage == 'pytorch_stage'):
stage == 'pytorch_stage'):
continue

# Skip the mellanox drivers if not in the cuda images or using EFA
Expand Down

0 comments on commit 9e31fa6

Please sign in to comment.