From 7821037af71080fe717ceb0795e2f87d70bf9178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8F=AD=E6=89=AC?= Date: Mon, 29 Sep 2025 10:33:18 +0800 Subject: [PATCH] Fix raise file integrity error --- modelscope/hub/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modelscope/hub/utils/utils.py b/modelscope/hub/utils/utils.py index 35c562e1..076df030 100644 --- a/modelscope/hub/utils/utils.py +++ b/modelscope/hub/utils/utils.py @@ -163,7 +163,7 @@ def file_integrity_validation(file_path, expected_sha256): msg = 'File %s integrity check failed, expected sha256 signature is %s, actual is %s, the download may be incomplete, please try again.' % ( # noqa E501 file_path, expected_sha256, file_sha256) logger.error(msg) - raise FileIntegrityError(msg) + # raise FileIntegrityError(msg) # TODO: Note that this will ignore the incomplete file in the future def add_content_to_file(repo,