mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-03 01:17:10 +08:00
Update nodes_train.py
This commit is contained in:
parent
c408c4675f
commit
3e3adfe804
@ -597,7 +597,7 @@ class TrainLoraNode:
|
||||
finally:
|
||||
for m in mp.model.modules():
|
||||
unpatch(m)
|
||||
del ss, train_sampler, optimizer
|
||||
del train_sampler, optimizer
|
||||
torch.cuda.empty_cache()
|
||||
|
||||
for adapter in all_weight_adapters:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user