mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Add workaround low memory crash during image saving
Sample model moved to cpu before processing samples to image
This commit is contained in:
committed by
Lincoln Stein
parent
b40bfb5116
commit
485fe67c92
@ -108,6 +108,8 @@ def main():
|
||||
|
||||
# preload the model
|
||||
gen.load_model()
|
||||
#set additional option
|
||||
gen.free_gpu_mem = opt.free_gpu_mem
|
||||
|
||||
if not infile:
|
||||
print(
|
||||
|
Reference in New Issue
Block a user