mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
pass lazy_offload to model cache
This commit is contained in:
parent
b69f26c85c
commit
ffd0f5924b
@ -342,6 +342,7 @@ class ModelManager(object):
|
|||||||
self.cache = ModelCache(
|
self.cache = ModelCache(
|
||||||
max_cache_size=max_cache_size,
|
max_cache_size=max_cache_size,
|
||||||
max_vram_cache_size=self.app_config.vram_cache_size,
|
max_vram_cache_size=self.app_config.vram_cache_size,
|
||||||
|
lazy_offloading=self.app_config.lazy_offload,
|
||||||
execution_device=device_type,
|
execution_device=device_type,
|
||||||
precision=precision,
|
precision=precision,
|
||||||
sequential_offload=sequential_offload,
|
sequential_offload=sequential_offload,
|
||||||
|
Loading…
Reference in New Issue
Block a user