fix AveCL

This commit is contained in:
iperov 2021-10-01 18:10:06 +04:00
commit 8f530cc0a7
4 changed files with 55 additions and 25 deletions

View file

@ -15,10 +15,6 @@ class NCore:
can raise Exception
"""
SCacheton.cleanup()
if Tensor._object_count != 0:
raise Exception(f'Unable to cleanup while {Tensor._object_count} Tensor objects exist.')
cleanup_devices()
__all__ = ['NCore']