File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -116,13 +116,6 @@ jobs:
116116 pip install setuptools==75.6.0 jsonargparse==4.35.0
117117 displayName: "Install package & dependencies"
118118
119- - bash : |
120- set -e
121- python requirements/collect_env_details.py
122- python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu == 2, f'GPU: {mgpu}'"
123- python requirements/pytorch/check-avail-extras.py
124- displayName: "Env details"
125-
126119 - bash : |
127120 # get pytorch version
128121 PYTORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])")
@@ -134,6 +127,13 @@ jobs:
134127 fi
135128 displayName: "Handle bitsandbytes"
136129
130+ - bash : |
131+ set -e
132+ python requirements/collect_env_details.py
133+ python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu == 2, f'GPU: {mgpu}'"
134+ python requirements/pytorch/check-avail-extras.py
135+ displayName: "Env details"
136+
137137 - bash : python -m pytest lightning_fabric
138138 workingDirectory : src
139139 # without succeeded this could run even if the job has already failed
Original file line number Diff line number Diff line change @@ -130,13 +130,6 @@ jobs:
130130 condition : and(succeeded(), eq(variables['PACKAGE_NAME'], 'lightning'))
131131 displayName : " Drop PL for LAI"
132132
133- - bash : |
134- set -e
135- python requirements/collect_env_details.py
136- python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu == 2, f'GPU: {mgpu}'"
137- python requirements/pytorch/check-avail-extras.py
138- displayName: "Env details"
139-
140133 - bash : |
141134 # get pytorch version
142135 PYTORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])")
@@ -148,6 +141,13 @@ jobs:
148141 fi
149142 displayName: "Handle bitsandbytes"
150143
144+ - bash : |
145+ set -e
146+ python requirements/collect_env_details.py
147+ python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu == 2, f'GPU: {mgpu}'"
148+ python requirements/pytorch/check-avail-extras.py
149+ displayName: "Env details"
150+
151151 - bash : python -m pytest pytorch_lightning
152152 workingDirectory : src
153153 # without succeeded this could run even if the job has already failed
You can’t perform that action at this time.
0 commit comments