make hash validation optional (#1124)

Co-authored-by: Yingda Chen <yingda.chen@alibaba-inc.com>
This commit is contained in:
Yingda Chen
2024-12-04 18:46:48 +08:00
committed by GitHub
parent c67ffd4cbc
commit 8d66932e3f

View File

@@ -15,7 +15,6 @@ logger = get_logger()
enable_default_hash_validation = \
os.getenv(MODELSCOPE_ENABLE_DEFAULT_HASH_VALIDATION, 'False').strip().lower() == 'true'
"""Implements caching functionality, used internally only
"""