MCPcopy Create free account
hub / github.com/pytorch/pytorch / close

Method close

torch/_inductor/codecache.py:2150–2153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2148 self.is_open = True
2149
2150 def close(self):
2151 if self.is_open:
2152 self._dlclose()
2153 self.is_open = False
2154
2155 def _dlclose(self):
2156 f_dlclose = None

Callers 15

__exit__Method · 0.95
__del__Method · 0.95
dumpFunction · 0.45
enable_aot_loggingFunction · 0.45
__exit__Method · 0.45
cleanup_run_fnMethod · 0.45
end_captureMethod · 0.45
tearDownClassMethod · 0.45
_fnFunction · 0.45
tearDownClassMethod · 0.45
run_testMethod · 0.45

Calls 1

_dlcloseMethod · 0.95

Tested by 4

tearDownClassMethod · 0.36
tearDownClassMethod · 0.36
_lockFunction · 0.36
_rank_temp_fileFunction · 0.36