Skip to content

Commit f0d69bd

Browse files
committed
Revert "test: add decorator to get_torch_version for testing"
This reverts commit 4cd737a.
1 parent 4cd737a commit f0d69bd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

megatron/core/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
"""Utility functions used throughout Megatron core"""
44

5-
from .backwards_compatibility_decorators import exempt_from_compat_check
6-
75
import array
86
import asyncio
97
import functools
@@ -282,7 +280,6 @@ def __getattribute__(self, attr):
282280
return validator
283281

284282

285-
@exempt_from_compat_check # TEST: Decorator functionality
286283
def get_torch_version():
287284
"""Get pytorch version from __version__; if not available use pip's. Use caching."""
288285

0 commit comments

Comments
 (0)