File tree Expand file tree Collapse file tree 4 files changed +2
-36
lines changed
tests/tests_pytorch/deprecated_api Expand file tree Collapse file tree 4 files changed +2
-36
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
67
67
* env_prefix
68
68
* env_parse
69
69
70
+ - Removed the deprecated code in ` pl.core.mixins ` ([ #16424 ] ( https://github.com/Lightning-AI/lightning/pull/16424 ) )
71
+
70
72
- Removed the deprecated code in ` pl.utilities.distributed ` ([ #16390 ] ( https://github.com/Lightning-AI/lightning/pull/16390 ) )
71
73
72
74
- Removed the deprecated code in ` pl.utilities.apply_func ` ([ #16413 ] ( https://github.com/Lightning-AI/lightning/pull/16413 ) )
Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
-
15
- from lightning_fabric .utilities .device_dtype_mixin import _DeviceDtypeModuleMixin # noqa: F401
16
14
from pytorch_lightning .core .mixins .hparams_mixin import HyperparametersMixin # noqa: F401
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 17
17
from torch .utils .data import DataLoader
18
18
19
19
from pytorch_lightning .accelerators .cpu import CPUAccelerator
20
- from pytorch_lightning .core .mixins .device_dtype_mixin import DeviceDtypeModuleMixin
21
20
from pytorch_lightning .demos .boring_classes import RandomDataset
22
21
from pytorch_lightning .strategies .utils import on_colab_kaggle
23
22
from pytorch_lightning .utilities .cloud_io import atomic_save , get_filesystem , load
@@ -31,14 +30,6 @@ def test_v1_10_deprecated_on_colab_kaggle_func():
31
30
on_colab_kaggle ()
32
31
33
32
34
- def test_v1_10_deprecated_device_dtype_module_mixin ():
35
- class MyModule (DeviceDtypeModuleMixin ):
36
- pass
37
-
38
- with pytest .deprecated_call (match = "mixins.DeviceDtypeModuleMixin` has been deprecated in v1.8.0" ):
39
- MyModule ()
40
-
41
-
42
33
def test_v1_10_deprecated_cloud_io_utilities (tmpdir ):
43
34
with pytest .deprecated_call (match = "cloud_io.atomic_save` has been deprecated in v1.8.0" ):
44
35
atomic_save ({}, tmpdir / "atomic_save.ckpt" )
You can’t perform that action at this time.
0 commit comments