* 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 |
---|---|---|
.. | ||
_ffi | Loading commit data... | |
arith | Loading commit data... | |
autotvm | Loading commit data... | |
contrib | Loading commit data... | |
driver | Loading commit data... | |
exec | Loading commit data... | |
ir | Loading commit data... | |
micro | Loading commit data... | |
relay | Loading commit data... | |
rpc | Loading commit data... | |
runtime | Loading commit data... | |
target | Loading commit data... | |
te | Loading commit data... | |
tir | Loading commit data... | |
__init__.py | Loading commit data... | |
error.py | Loading commit data... | |
generic.py | Loading commit data... | |
testing.py | Loading commit data... |