mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-30 19:21:39 +00:00
Change auto_memory to be layer_offloading and allow you to set the amount to unload
This commit is contained in:
@@ -1759,7 +1759,7 @@ class BaseSDTrainProcess(BaseTrainProcess):
|
||||
)
|
||||
|
||||
# we cannot merge in if quantized
|
||||
if self.model_config.quantize or self.model_config.auto_memory:
|
||||
if self.model_config.quantize or self.model_config.layer_offloading:
|
||||
# todo find a way around this
|
||||
self.network.can_merge_in = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user