Skip to content

Commit 08a9587

Browse files
committed
tpu
1 parent 09d5859 commit 08a9587

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

dockers/tpu-tests/tpu_test_cases.jsonnet

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ local tputests = base.BaseTest {
2121
command: utils.scriptCommand(
2222
|||
2323
cd pytorch-lightning
24-
coverage run --source=pytorch_lightning -m pytest tests/models/test_tpu.py tests/backends/test_tpu_backend.py pytorch_lightning/utilities/xla_device_utils.py -v
24+
coverage run --source=pytorch_lightning -m pytest -v \
25+
pytorch_lightning/utilities/xla_device_utils.py \
26+
tests/accelerators/legacy/test_tpu_backend.py \
27+
tests/models/test_tpu.py
2528
test_exit_code=$?
2629
echo "\n||| END PYTEST LOGS |||\n"
2730
coverage xml

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,10 @@ profile = "black"
3838
line_length = 120
3939
force_sort_within_sections = "False"
4040
order_by_type = "False"
41+
42+
43+
[tool.vulture]
44+
exclude = ["tests"]
45+
min_confidence = 80
46+
paths = ["pytorch_lightning"]
47+
sort_by_size = true

0 commit comments

Comments
 (0)