From de189f2db6c4d5dbf893b93300b10fe1e3a77d5a Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Sun, 9 Apr 2023 21:53:59 +0200 Subject: [PATCH] Increase chunk size when computing SHAs --- invokeai/backend/model_management/model_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/backend/model_management/model_manager.py b/invokeai/backend/model_management/model_manager.py index a51a2fec22..534b526081 100644 --- a/invokeai/backend/model_management/model_manager.py +++ b/invokeai/backend/model_management/model_manager.py @@ -1204,7 +1204,7 @@ class ModelManager(object): return self.device.type == "cuda" def _diffuser_sha256( - self, name_or_path: Union[str, Path], chunksize=4096 + self, name_or_path: Union[str, Path], chunksize=16777216 ) -> Union[str, bytes]: path = None if isinstance(name_or_path, Path):