Update nodes.py

This commit is contained in:
kijai 2024-09-18 21:09:49 +03:00
parent 251d6599c0
commit 1e15c5b901

View File

@ -482,7 +482,7 @@ class CogVideoXFunSampler:
pipe = pipeline["pipe"]
dtype = pipeline["dtype"]
pipe.enable_model_cpu_offload()
pipe.enable_model_cpu_offload(device=device)
mm.soft_empty_cache()
@ -594,7 +594,7 @@ class CogVideoXFunVid2VidSampler:
pipe = pipeline["pipe"]
dtype = pipeline["dtype"]
pipe.enable_model_cpu_offload()
pipe.enable_model_cpu_offload(device=device)
mm.soft_empty_cache()