Skip to content

Commit f6bb654

Browse files
committed
update
1 parent 5ecd742 commit f6bb654

File tree

7 files changed

+6
-17
lines changed

7 files changed

+6
-17
lines changed

requirements/ci.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ wget
77
pkginfo ==1.12.1.2
88
packaging <25.1
99
tomlkit
10+
fastapi >=0.111.0 # to prevent `schema` error in `pydantic`

requirements/fabric/base.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ fsspec[http] >=2022.5.0, <2025.11.0
66
packaging >=20.0, <=25.0
77
typing-extensions >4.5.0, <4.16.0
88
lightning-utilities >=0.10.0, <0.16.0
9+
pytorch-lightning-enterprise >=0.0.1dev7

requirements/fabric/test.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ click ==8.1.8; python_version < "3.11"
1111
click ==8.3.0; python_version > "3.10"
1212
tensorboardX >=2.6, <2.7.0 # todo: relax it back to `>=2.2` after fixing tests
1313
huggingface-hub
14-
pytorch-lightning-enterprise >=0.0.1dev7

requirements/pytorch/base.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ torchmetrics >0.7.0, <1.9.0
99
packaging >=20.0, <=25.0
1010
typing-extensions >4.5.0, <4.16.0
1111
lightning-utilities >=0.10.0, <0.16.0
12+
pytorch-lightning-enterprise >=0.0.1dev7

requirements/pytorch/test.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ onnxruntime >=1.12.0, <1.24.0
1616
onnxscript >= 0.1.0, < 0.6.0
1717
psutil <7.1.2 # for `DeviceStatsMonitor`
1818
pandas >2.0, <2.4.0 # needed in benchmarks
19-
fastapi # for `ServableModuleValidator` # not setting version as re-defined in App
19+
fastapi >=0.111.0 # for `ServableModuleValidator` # not setting version as re-defined in App
2020
uvicorn # for `ServableModuleValidator` # not setting version as re-defined in App
2121

2222
tensorboard >=2.11, <2.21.0 # for `TensorBoardLogger`
2323

2424
torch-tensorrt; platform_system == "Linux" and python_version >= "3.12"
2525
huggingface-hub
26-
pytorch-lightning-enterprise >=0.0.1dev7

tests/tests_fabric/graveyard/test_tpu.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ def test_graveyard_single_tpu(import_path, name, tpu_available):
1818
with pytest.deprecated_call(match="is deprecated"):
1919
cls(device)
2020

21-
# required to prevent env-var leakage
22-
if hasattr(cls, "teardown"):
23-
cls.teardown()
24-
2521

2622
@pytest.mark.parametrize(
2723
("import_path", "name"),
@@ -42,8 +38,8 @@ def test_graveyard_no_device(import_path, name, tpu_available):
4238
module = import_module(import_path)
4339
cls = getattr(module, name)
4440
with pytest.deprecated_call(match="is deprecated"):
45-
cls()
41+
_instance = cls()
4642

4743
# required to prevent env-var leakage
4844
if hasattr(cls, "teardown"):
49-
cls.teardown()
45+
cls.teardown(_instance)

tests/tests_pytorch/graveyard/test_tpu.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ def test_graveyard_single_tpu(import_path, name):
1818
with pytest.deprecated_call(match="is deprecated"), pytest.raises(ModuleNotFoundError, match="torch_xla"):
1919
cls(device)
2020

21-
# required to prevent env-var leakage
22-
if hasattr(cls, "teardown"):
23-
cls.teardown()
24-
2521

2622
@pytest.mark.parametrize(
2723
("import_path", "name"),
@@ -43,7 +39,3 @@ def test_graveyard_no_device(import_path, name):
4339
cls = getattr(module, name)
4440
with pytest.deprecated_call(match="is deprecated"), pytest.raises(ModuleNotFoundError, match="torch_xla"):
4541
cls()
46-
47-
# required to prevent env-var leakage
48-
if hasattr(cls, "teardown"):
49-
cls.teardown()

0 commit comments

Comments
 (0)