mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-05-25 20:49:07 +08:00
Update model_optimization_nodes.py
This commit is contained in:
parent
37206374ef
commit
50e7dd34d3
@ -2237,7 +2237,7 @@ class EndRecordCUDAMemoryHistory():
|
|||||||
RETURN_NAMES = ("input", "output_path",)
|
RETURN_NAMES = ("input", "output_path",)
|
||||||
FUNCTION = "end"
|
FUNCTION = "end"
|
||||||
CATEGORY = "KJNodes/experimental"
|
CATEGORY = "KJNodes/experimental"
|
||||||
DESCRIPTION = "Records CUDA memory allocation history between start and end, saves to a file that can be analyzed here: https://docs.pytorch.org/memory_viz"
|
DESCRIPTION = "Records CUDA memory allocation history between start and end, saves to a file that can be analyzed here: https://docs.pytorch.org/memory_viz or with VisualizeCUDAMemoryHistory node"
|
||||||
|
|
||||||
def end(self, input, output_path):
|
def end(self, input, output_path):
|
||||||
mm.soft_empty_cache()
|
mm.soft_empty_cache()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user