* Use atexit to remove TempDirectory before interpreter shutdown. * Can't rely on complex functions from __del__ anyway. * Fixes warning message on my box: Exception ignored in: <function TempDirectory.__del__ at 0x12be10680> Traceback (most recent call last): File ".../tvm/python/tvm/contrib/util.py", line 55, in __del__ File ".../tvm/python/tvm/contrib/util.py", line 51, in remove File "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shutil.py", line 509, in rmtree AttributeError: 'NoneType' object has no attribute 'path'
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
debugger | Loading commit data... | |
tf_op | Loading commit data... | |
__init__.py | Loading commit data... | |
binutil.py | Loading commit data... | |
cblas.py | Loading commit data... | |
cc.py | Loading commit data... | |
clang.py | Loading commit data... | |
cublas.py | Loading commit data... | |
cublaslt.py | Loading commit data... | |
cudnn.py | Loading commit data... | |
dlpack.py | Loading commit data... | |
download.py | Loading commit data... | |
emscripten.py | Loading commit data... | |
graph_runtime.py | Loading commit data... | |
miopen.py | Loading commit data... | |
mps.py | Loading commit data... | |
mxnet.py | Loading commit data... | |
ndk.py | Loading commit data... | |
nnpack.py | Loading commit data... | |
nvcc.py | Loading commit data... | |
peak.py | Loading commit data... | |
pickle_memoize.py | Loading commit data... | |
random.py | Loading commit data... | |
rocblas.py | Loading commit data... | |
rocm.py | Loading commit data... | |
rpc.py | Loading commit data... | |
sdaccel.py | Loading commit data... | |
sparse.py | Loading commit data... | |
spirv.py | Loading commit data... | |
tar.py | Loading commit data... | |
tedd.py | Loading commit data... | |
tflite_runtime.py | Loading commit data... | |
util.py | Loading commit data... | |
xcode.py | Loading commit data... |