File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 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"
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"
You can’t perform that action at this time.
0 commit comments