K1504296 opened a new issue #7799: URL: https://github.com/apache/tvm/issues/7799
Hello, I've been trying to get more tests in the scripts directory working on aarch64 devices for use in the jenkins ci. Currently I'm encountering a segmentation fault when running task_python_integration.sh : tests/python/relay/test_op_level2.py This segmentation fault occurs when running _compile() with an ic value of 16 and an oc value of 32. However, This doesn't occur when ic and oc are set to ic=17 and oc=29 or other values when testing skylake-avx512. Is this test causing issues on any devices other than aarch64 devices? If not does there need to be a conditional statement added to prevent this from executing on aarch64? Problem Area: https://github.com/apache/tvm/blob/32d80d6ed4987b1b1d26841cbb018f571c8eeb1d/tests/python/relay/test_op_level2.py#L1580 fast_int8_dtypes = ("uint8", "int8", "int32") asm = _compile( ic=16, oc=32, target=target, data_layout="NCHW", kernel_layout="OIHW", dtypes=fast_int8_dtypes, ) The error message: tests/python/relay/test_op_level2.py::test_conv2d_int8_intrinsics 'core-avx2' is not a recognized processor for this target (ignoring processor) 'core-avx2' is not a recognized processor for this target (ignoring processor) 'core-avx2' is not a recognized processor for this target (ignoring processor) 'core-avx2' is not a recognized processor for this target (ignoring processor) 'core-avx2' is not a recognized processor for this target (ignoring processor) 'core-avx2' is not a recognized processor for this target (ignoring processor) Fatal Python error: Segmentation fault Current thread 0x0000ffff96394010 (most recent call first): File "/workspace/python/tvm/_ffi/_ctypes/packed_func.py", line 233 in __call__ File "/workspace/python/tvm/runtime/module.py", line 138 in get_source File "/workspace/tests/python/relay/test_op_level2.py", line 1489 in _compile File "/workspace/tests/python/relay/test_op_level2.py", line 1588 in test_conv2d_int8_intrinsics File "/usr/local/lib/python3.6/dist-packages/_pytest/python.py", line 183 in pytest_pyfunc_call File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 187 in _multicall File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 87 in <lambda> File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/local/lib/python3.6/dist-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/local/lib/python3.6/dist-packages/_pytest/python.py", line 1641 in runtest File "/usr/local/lib/python3.6/dist-packages/_pytest/runner.py", line 162 in pytest_runtest_call File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 187 in _multicall File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 87 in <lambda> File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/local/lib/python3.6/dist-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/local/lib/python3.6/dist-packages/_pytest/runner.py", line 255 in <lambda> File "/usr/local/lib/python3.6/dist-packages/_pytest/runner.py", line 311 in from_call File "/usr/local/lib/python3.6/dist-packages/_pytest/runner.py", line 255 in call_runtest_hook File "/usr/local/lib/python3.6/dist-packages/_pytest/runner.py", line 215 in call_and_report File "/usr/local/lib/python3.6/dist-packages/_pytest/runner.py", line 126 in runtestprotocol File "/usr/local/lib/python3.6/dist-packages/_pytest/runner.py", line 109 in pytest_runtest_protocol File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 187 in _multicall File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 87 in <lambda> File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/local/lib/python3.6/dist-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/local/lib/python3.6/dist-packages/_pytest/main.py", line 348 in pytest_runtestloop File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 187 in _multicall File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 87 in <lambda> File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/local/lib/python3.6/dist-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/local/lib/python3.6/dist-packages/_pytest/main.py", line 323 in _main File "/usr/local/lib/python3.6/dist-packages/_pytest/main.py", line 269 in wrap_session File "/usr/local/lib/python3.6/dist-packages/_pytest/main.py", line 316 in pytest_cmdline_main File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 187 in _multicall File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 87 in <lambda> File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/local/lib/python3.6/dist-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 163 in main File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 185 in console_main File "/usr/local/lib/python3.6/dist-packages/pytest/__main__.py", line 5 in <module> File "/usr/lib/python3.6/runpy.py", line 85 in _run_code File "/usr/lib/python3.6/runpy.py", line 193 in _run_module_as_main tests/scripts/setup-pytest-env.sh: line 35: 41140 Segmentation fault (core dumped) TVM_FFI=${ffi_type} python3 -m pytest -o "junit_suite_name=${test_suite_name}-${ffi_type}" "--junit-xml=${TVM_PYTEST_RESULT_DIR}/${test_suite_name}-${ffi_type}.xml" "--junit-prefix=${ffi_type}" "$@" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
