MCPcopy Create free account
hub / github.com/MeiGen-AI/MultiTalk / torch_gc

Function torch_gc

wan/utils/multitalk_utils.py:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42
43def torch_gc():
44 torch.cuda.empty_cache()
45 torch.cuda.ipc_collect()
46
47
48

Callers 1

calculate_x_ref_attn_mapFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected