@@ -64,31 +64,31 @@ run: |
6464 --source_import="lightning.fabric" \
6565 --target_import="lightning_fabric"
6666 fi
67-
67+
6868 extra=$(python -c "print({'lightning': 'fabric-'}.get('$(PACKAGE_NAME)', ''))")
6969 pip install -e ".[${extra}dev]" -U --upgrade-strategy=eager --extra-index-url="${TORCH_URL}"
70-
70+
7171 python requirements/collect_env_details.py
7272 python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu >= 2, f'GPU: {mgpu}'"
7373 python requirements/pytorch/check-avail-extras.py
7474 python -c "import bitsandbytes"
75-
75+
7676 # Testing: Fabric doctests
7777 if [ "${PACKAGE_NAME}" == "fabric" ]; then
7878 cd src/
7979 python -m pytest lightning_fabric
8080 cd ..
8181 fi
82-
82+
8383 cd tests/
8484 # Testing: fabric standard
8585 python -m coverage run --source ${COVERAGE_SOURCE} -m pytest tests_fabric/ -v --durations=50
86-
86+
8787 # Testing: fabric standalone
8888 export PL_RUN_STANDALONE_TESTS=1
8989 wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/run_standalone_tests.sh
9090 bash ./run_standalone_tests.sh "tests_fabric"
91-
91+
9292 python -m coverage report
9393 python -m coverage xml
9494 python -m coverage html
@@ -101,7 +101,7 @@ run: |
101101 # --flags=gpu,pytest,${COVERAGE_SOURCE} --name="GPU-coverage" --env=linux,azure
102102 # ls -l
103103 cd ..
104-
104+
105105 # Testing: fabric examples
106106 cd examples/
107107 bash run_fabric_examples.sh --accelerator=cuda --devices=1
0 commit comments