Merge branch 'lstein/remove-hardcoded-cuda-device' into release/invokeai-3-0-alpha

This commit is contained in:
Lincoln Stein 2023-07-01 21:15:58 -04:00
commit 3c2ce51f10

View File

@ -100,8 +100,6 @@ class ModelCache(object):
:param sha_chunksize: Chunksize to use when calculating sha256 model hash
'''
#max_cache_size = 9999
execution_device = torch.device('cuda')
self.model_infos: Dict[str, ModelBase] = dict()
self.lazy_offloading = lazy_offloading
#self.sequential_offload: bool=sequential_offload