Skip to content

Commit d632995

Browse files
committed
not it
1 parent d975305 commit d632995

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/tests_pytorch/strategies/test_ddp_integration_comm_hook.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
import sys
1514
from unittest import mock
1615

1716
import pytest
@@ -24,11 +23,6 @@
2423

2524
if torch.distributed.is_available():
2625
import torch.distributed.algorithms.ddp_comm_hooks.post_localSGD_hook as post_localSGD
27-
28-
if sys.version_info >= (3, 13):
29-
from enum import member
30-
31-
post_localSGD = member(post_localSGD)
3226
from torch.distributed.algorithms.ddp_comm_hooks import default_hooks as default
3327
from torch.distributed.algorithms.ddp_comm_hooks import powerSGD_hook as powerSGD
3428

0 commit comments

Comments
 (0)