mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Increase chunk size when computing SHAs
This commit is contained in:
parent
4463124bdd
commit
de189f2db6
@ -1204,7 +1204,7 @@ class ModelManager(object):
|
|||||||
return self.device.type == "cuda"
|
return self.device.type == "cuda"
|
||||||
|
|
||||||
def _diffuser_sha256(
|
def _diffuser_sha256(
|
||||||
self, name_or_path: Union[str, Path], chunksize=4096
|
self, name_or_path: Union[str, Path], chunksize=16777216
|
||||||
) -> Union[str, bytes]:
|
) -> Union[str, bytes]:
|
||||||
path = None
|
path = None
|
||||||
if isinstance(name_or_path, Path):
|
if isinstance(name_or_path, Path):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user