File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 4141 echo "Torch URL: ${TORCH_URL}"
4242 COVERAGE_SOURCE=$(python -c 'n = "$(PACKAGE_NAME)" ; print(dict(fabric="lightning_fabric").get(n, n))')
4343 echo "collecting coverage for: ${COVERAGE_SOURCE}"
44+ TORCH_VER=$(python -c "import torch; print(torch.__version__.rsplit('.', 1)[0])")
4445
4546 if [ "${TORCH_VER}" == "2.1" ]; then
4647 echo "Set oldest versions"
Original file line number Diff line number Diff line change 4141 echo "Torch URL: ${TORCH_URL}"
4242 COVERAGE_SOURCE=$(python -c 'n = "$(PACKAGE_NAME)" ; print(dict(fabric="pytorch_lightning").get(n, n))')
4343 echo "collecting coverage for: ${COVERAGE_SOURCE}"
44+ TORCH_VER=$(python -c "import torch; print(torch.__version__.rsplit('.', 1)[0])")
4445
4546 if [ "${TORCH_VER}" == "2.1" ]; then
4647 recho "Set oldest versions"
You can’t perform that action at this time.
0 commit comments