Has anybody seen this error before?
apps/extension/tests/test_ext.py::test_nd_subclass FAILED [100%]
=========================================================================== FAILURES ===========================================================================
_______________________________________________________________________ test_nd_subclass _______________________________________________________________________
def test_nd_subclass():
> a = tvm_ext.NDSubClass.create(addtional_info=3)
apps/extension/tests/test_ext.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
apps/extension/python/tvm_ext/__init__.py:62: in create
return nd_create(addtional_info)
python/tvm/_ffi/_ctypes/function.py:210: in __call__
return RETURN_SWITCH[ret_tcode.value](ret_val)
python/tvm/_ffi/_ctypes/function.py:249: in <lambda>
RETURN_SWITCH[TypeCode.NDARRAY_CONTAINER] = lambda x: _make_array(x.v_handle, False, True)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
handle = <tvm._ffi.runtime_ctypes.LP_TVMArray object at 0x7f09a4baee18>, is_view = False, is_container = True
def _make_array(handle, is_view, is_container):
global _TVM_ND_CLS
handle = ctypes.cast(handle, TVMArrayHandle)
fcreate = _CLASS_NDARRAY
if is_container and _TVM_ND_CLS:
> array_type_info = ctypes.cast(handle, TVMNDArrayContainerHandle).array_type_info.value
E AttributeError: 'LP_TVMNDArrayContainer' object has no attribute 'array_type_info'
python/tvm/_ffi/_ctypes/ndarray.py:105: AttributeError
======================================================================= warnings summary =======================================================================
python/tvm/hybrid/module.py:25
/home/ubuntu/workplace/tvm/t1/tvm/python/tvm/hybrid/module.py:25: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
-- Docs: https://docs.pytest.org/en/latest/warnings.html