Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jan 8, 2025
1 parent e7d800f commit 9fb71dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .azure/gpu-tests-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
set -e
python requirements/collect_env_details.py
python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu == 2, f'GPU: {mgpu}'"
python -c "import bitsandbytes"
python requirements/pytorch/check-avail-extras.py
displayName: "Env details"
- bash: python -m pytest lightning_fabric
Expand Down
1 change: 0 additions & 1 deletion .azure/gpu-tests-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ jobs:
python requirements/collect_env_details.py
python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu == 2, f'GPU: {mgpu}'"
python requirements/pytorch/check-avail-extras.py
python -c "import bitsandbytes"
displayName: "Env details"
- bash: python -m pytest pytorch_lightning
Expand Down
4 changes: 4 additions & 0 deletions requirements/pytorch/check-avail-extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
import matplotlib # noqa: F401
import omegaconf # noqa: F401
import rich # noqa: F401

import torch # noqa: F401
if torch.cuda.is_available():
import bitsandbytes # noqa: F401

0 comments on commit 9fb71dc

Please sign in to comment.