Skip to content

Commit 82d8437

Browse files
serena-ruanB-Step62
authored andcommitted
Fix transformers test in examples (#14640)
Signed-off-by: serena-ruan <[email protected]>
1 parent 4d04a96 commit 82d8437

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/helper_functions.py

+2
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,8 @@ def clear_hub_cache():
660660
except ImportError:
661661
# Local import check for mlflow-skinny not including huggingface_hub
662662
pass
663+
except Exception as e:
664+
_logger.warning(f"Failed to clear cache: {e}", exc_info=True)
663665

664666

665667
def flaky(max_tries=3):

0 commit comments

Comments
 (0)