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,