ysh329 commented on PR #16634: URL: https://github.com/apache/tvm/pull/16634#issuecomment-2042366352
> > #16770 The sage continues... > > Hi Steven, I'm little confused. Does these three cases been fixed? > > I tried main with commit: 240326, [b2204ae](https://github.com/apache/tvm/commit/b2204ae6988c7745ea9736340ccd900bc21ae821) and update status as below. It seems still two cases failed: > > * **still failed**: tests/python/tir-transform/test_tir_transform_force_narrow_index_to_i32.py::test_thread_axis2 > * **passed**: tests/python/tir-transform/test_tir_transform_hoist_if.py::test_hoisting_block_scope_4 > * **still failed**: tests/python/tir-transform/test_transform_default_gpu_schedule.py::test_add_on_metal Hi @slyubomirsky , I tried to run these 3 tests but failed, Is it required run test **build with llvm at least**? ```shell pytest ../tests/python/tir-transform/test_tir_transform_force_narrow_index_to_i32.py::test_thread_axis2 Mon Apr 8 18:06:00 CST 2024 [18:06:06] /home/code/tvm-test/tvm.main.20240407.81a850693/src/target/target_kind.cc:158: Warning: Unable to detect CUDA version, default to "-arch=sm_50" instead [18:06:02] /home/code/tvm-test/tvm.main.20240407.81a850693/src/target/parsers/aprofile.cc:118: Warning: Cannot parse Arm(R)-based target features without LLVM support. [18:06:02] /home/code/tvm-test/tvm.main.20240407.81a850693/src/target/parsers/aprofile.cc:118: Warning: Cannot parse Arm(R)-based target features without LLVM support. [18:06:02] /home/code/tvm-test/tvm.main.20240407.81a850693/src/target/parsers/aprofile.cc:118: Warning: Cannot parse Arm(R)-based target features without LLVM support. [18:06:02] /home/code/tvm-test/tvm.main.20240407.81a850693/src/target/parsers/aprofile.cc:118: Warning: Cannot parse Arm(R)-based target features without LLVM support. [18:06:02] /home/code/tvm-test/tvm.main.20240407.81a850693/src/target/parsers/aprofile.cc:118: Warning: Cannot parse Arm(R)-based target features without LLVM support. INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/xxxxxxxxxxxx/python3.8/site-packages/_pytest/main.py", line 264, in wrap_session INTERNALERROR> config._do_configure() INTERNALERROR> File "/xxxxxxxxxxxx/python3.8/site-packages/_pytest/config/__init__.py", line 995, in _do_configure INTERNALERROR> self.hook.pytest_configure.call_historic(kwargs=dict(config=self)) INTERNALERROR> File "/xxxxxxxxxxxx/python3.8/site-packages/pluggy/_hooks.py", line 277, in call_historic INTERNALERROR> res = self._hookexec(self.name, self.get_hookimpls(), kwargs, False) INTERNALERROR> File "/xxxxxxxxxxxx/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> File "/xxxxxxxxxxxx/python3.8/site-packages/pluggy/_callers.py", line 60, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/xxxxxxxxxxxx/python3.8/site-packages/pluggy/_result.py", line 60, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/xxxxxxxxxxxx/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/home/code/tvm.main.20240407.81a850693/python/tvm/testing/plugin.py", line 70, in pytest_configure INTERNALERROR> print("enabled targets:", "; ".join(map(lambda x: x[0], utils.enabled_targets()))) INTERNALERROR> File "/home/code/tvm.main.20240407.81a850693/python/tvm/testing/utils.py", line 526, in enabled_targets INTERNALERROR> return [(t["target"], tvm.device(t["target"])) for t in _get_targets() if t["is_runnable"]] INTERNALERROR> File "/home/code/tvm.main.20240407.81a850693/python/tvm/testing/utils.py", line 445, in _get_targets INTERNALERROR> raise TVMError( INTERNALERROR> tvm._ffi.base.TVMError: None of the following targets are supported by this build of TVM: ['llvm', 'cuda', 'nvptx', 'vulkan -from_device=0', 'opencl', 'opencl -device=mali,aocl_sw_emu', 'opencl -device=intel_graphics', 'metal', 'rocm', 'hexagon']. Try setting TVM_TEST_TARGETS to a supported target. Cannot default to llvm, as it is not enabled. ``` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
