Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
105
def
_gc():
106
import
gc
107
108
gc.collect()
109
if
torch.cuda.is_available():
110
torch.cuda.empty_cache()
111
112
113
def
_clear_screen():
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected