MCPcopy
hub / github.com/tinygrad/tinygrad / finalize

Method finalize

tinygrad/device.py:332–336  ·  view source on GitHub ↗

Called at the end of process lifetime to allow the device to finalize.

(self)

Source from the content-addressed store, hash-verified

330 """
331 # override this in your device implementation
332 def finalize(self):
333 """
334 Called at the end of process lifetime to allow the device to finalize.
335 """
336 # override this in your device implementation
337
338if PROFILE:
339 @atexit.register

Callers 2

device.pyFile · 0.45
get_cfgMethod · 0.45

Calls

no outgoing calls

Tested by 1

get_cfgMethod · 0.36