mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-01 02:31:11 +06:00
nits
This commit is contained in:
parent
d462a8ea38
commit
0f3c368384
@ -47,7 +47,6 @@ logger = logging.get_logger(__name__)
|
||||
if is_torch_available():
|
||||
# required for @can_return_tuple decorator to work with torchdynamo
|
||||
import torch # noqa: F401
|
||||
from torch._dynamo import is_compiling
|
||||
|
||||
|
||||
class cached_property(property):
|
||||
|
Loading…
Reference in New Issue
Block a user