MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / clear_cache

Function clear_cache

diffusers/examples/community/fresco_v2v.py:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51
52def clear_cache():
53 gc.collect()
54 torch.cuda.empty_cache()
55
56
57def coords_grid(b, h, w, homogeneous=False, device=None):

Callers 3

get_intraframe_parasFunction · 0.85
__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected