Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prune deprecated utils modules #7503

Merged
merged 14 commits into from
May 13, 2021
Prev Previous commit
Next Next commit
xla_device_utils
  • Loading branch information
Borda committed May 12, 2021
commit e5ef30cb517f54a1ee46836f7f9b5f73b4cc7502
20 changes: 0 additions & 20 deletions pytorch_lightning/utilities/xla_device_utils.py

This file was deleted.

7 changes: 0 additions & 7 deletions tests/deprecated_api/test_remove_1-4.py
Original file line number Diff line number Diff line change
@@ -44,13 +44,6 @@ def test_v1_4_0_deprecated_trainer_methods():
assert trainer.get_model() == trainer.lightning_module


def test_v1_4_0_deprecated_imports():

_soft_unimport_module('pytorch_lightning.utilities.xla_device_utils')
with pytest.deprecated_call(match='will be removed in v1.4'):
from pytorch_lightning.utilities.xla_device_utils import XLADeviceUtils # noqa: F811 F401


def test_v1_4_0_deprecated_trainer_device_distrib():
"""Test that Trainer attributes works fine."""
trainer = Trainer()