Skip to content

Commit

Permalink
Remove deprecated warning
Browse files Browse the repository at this point in the history
Tests will fail after 9940
  • Loading branch information
four4fish committed Nov 17, 2021
1 parent 1bf80f2 commit c5cabf8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pytorch_lightning/accelerators/accelerator.py
Expand Up @@ -66,10 +66,6 @@ def __init__(
precision_plugin parameter is deprecated will be removed soon.
Use :`training_type_plugin(precision_plugin) instead.
"""
rank_zero_deprecation(
f"`precision_plugin` in {self.__class__.__name__} was deprecated and will be removed soon"
f" Use `training_type_plugin(precision_plugin)` instead."
)
self.training_type_plugin._precision_plugin = precision_plugin

self.optimizers: List = []
Expand Down

0 comments on commit c5cabf8

Please sign in to comment.