Skip to content

Commit 9fb71dc

Browse files
committed
check
1 parent e7d800f commit 9fb71dc

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.azure/gpu-tests-fabric.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
set -e
121121
python requirements/collect_env_details.py
122122
python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu == 2, f'GPU: {mgpu}'"
123-
python -c "import bitsandbytes"
123+
python requirements/pytorch/check-avail-extras.py
124124
displayName: "Env details"
125125
126126
- bash: python -m pytest lightning_fabric

.azure/gpu-tests-pytorch.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ jobs:
135135
python requirements/collect_env_details.py
136136
python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu == 2, f'GPU: {mgpu}'"
137137
python requirements/pytorch/check-avail-extras.py
138-
python -c "import bitsandbytes"
139138
displayName: "Env details"
140139
141140
- bash: python -m pytest pytorch_lightning

requirements/pytorch/check-avail-extras.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
import matplotlib # noqa: F401
55
import omegaconf # noqa: F401
66
import rich # noqa: F401
7+
8+
import torch # noqa: F401
9+
if torch.cuda.is_available():
10+
import bitsandbytes # noqa: F401

0 commit comments

Comments
 (0)