MCPcopy
hub / github.com/QwenLM/Qwen3 / _gc

Function _gc

examples/demo/cli_demo.py:105–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103
104
105def _gc():
106 import gc
107
108 gc.collect()
109 if torch.cuda.is_available():
110 torch.cuda.empty_cache()
111
112
113def _clear_screen():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected