Skip to content

Commit c936d01

Browse files
committed
swap
1 parent 5c50254 commit c936d01

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.azure/gpu-benchmarks.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ jobs:
7575
pip list
7676
displayName: "Image info & NVIDIA"
7777
78+
- bash: |
79+
pip install -q -r .actions/requirements.txt
80+
python .actions/assistant.py copy_replace_imports --source_dir="./tests" \
81+
--source_import="lightning.fabric,lightning.pytorch" \
82+
--target_import="lightning_fabric,pytorch_lightning"
83+
displayName: "Adjust tests"
84+
7885
- bash: pip install -e .[dev] --find-links ${TORCH_URL}
7986
env:
8087
FREEZE_REQUIREMENTS: "1"
@@ -86,13 +93,6 @@ jobs:
8693
python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu == 2, f'GPU: {mgpu}'"
8794
displayName: "Env details"
8895
89-
- bash: |
90-
pip install -q -r .actions/requirements.txt
91-
python .actions/assistant.py copy_replace_imports --source_dir="./tests" \
92-
--source_import="lightning.fabric,lightning.pytorch" \
93-
--target_import="lightning_fabric,pytorch_lightning"
94-
displayName: "Adjust tests"
95-
9696
- bash: python -m pytest parity_$(PACKAGE_NAME) -v --durations=0
9797
env:
9898
PL_RUNNING_BENCHMARKS: "1"

0 commit comments

Comments
 (0)