Skip to content

Commit

Permalink
lru restore
Browse files Browse the repository at this point in the history
  • Loading branch information
sambhavnoobcoder committed Jan 23, 2025
1 parent 689b39f commit 393869b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/utils/import_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ def is_g2p_en_available():
return _g2p_en_available


@lru_cache
@lru_cache()
def is_torch_tpu_available(check_device=True):
"Checks if `torch_xla` is installed and potentially if a TPU is in the environment"
warnings.warn(
Expand Down

0 comments on commit 393869b

Please sign in to comment.