Created
June 24, 2021 20:46
-
-
Save hogepodge/9fca9881816cd352dd34debd1152d379 to your computer and use it in GitHub Desktop.
TVMC Failure on macOS Big Sur, 2021-06-24 build from source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Task 1/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/40) | 0.00 sTraceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
exitcode = _main(fd, parent_sentinel) | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main | |
self = reduction.pickle.load(from_parent) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/autotvm/task/task.py", line 203, in __setstate__ | |
exitcode = _main(fd, parent_sentinel) | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main | |
self.target, self.target_host = Target.check_and_update_host_consist( | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 200, in check_and_update_host_consist | |
self = reduction.pickle.load(from_parent) | |
target = Target(target, host) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 102, in __init__ | |
self.__init_handle_by_constructor__(_ffi_api.Target, Target(target), Target(host)) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/object.py", line 136, in __init_handle_by_constructor__ | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/autotvm/task/task.py", line 203, in __setstate__ | |
handle = __init_by_constructor__(fconstructor, args) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py", line 260, in __init_handle_by_constructor__ | |
raise get_last_ffi_error() | |
ValueError: Traceback (most recent call last): | |
[bt] (7) 8 ??? 0x00007ffee7d6b830 0x0 + 140732788029488 | |
[bt] (6) 7 libffi.dylib 0x00007fff2db5d8f5 ffi_call_unix64 + 85 | |
[bt] (5) 6 libtvm.dylib 0x0000000117fef2e6 TVMFuncCall + 70 | |
[bt] (4) 5 libtvm.dylib 0x000000011711bcbb std::__1::__function::__func<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), std::__1::allocator<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>, void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) + 59 | |
[bt] (3) 4 libtvm.dylib 0x00000001177e484c tvm::TargetInternal::ConstructorDispatcher(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) + 364 | |
[bt] (2) 3 libtvm.dylib 0x00000001177e29a0 tvm::Target::Target(tvm::Target, tvm::Target) + 224 | |
[bt] (1) 2 libtvm.dylib 0x0000000116df9f89 tvm::runtime::detail::LogFatal::Entry::Finalize() + 89 | |
[bt] (0) 1 libtvm.dylib 0x0000000118004258 tvm::runtime::Backtrace() + 24 | |
File "/Users/hoge/working/tvm/src/target/target.cc", line 421 | |
ValueError: Check failed: (!n->host.defined() || n->host.same_as(host)) is false: Adding a host to a target whose host field has been defined | |
self.target, self.target_host = Target.check_and_update_host_consist( | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 200, in check_and_update_host_consist | |
target = Target(target, host) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 102, in __init__ | |
self.__init_handle_by_constructor__(_ffi_api.Target, Target(target), Target(host)) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/object.py", line 136, in __init_handle_by_constructor__ | |
handle = __init_by_constructor__(fconstructor, args) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py", line 260, in __init_handle_by_constructor__ | |
raise get_last_ffi_error() | |
ValueError: Traceback (most recent call last): | |
[bt] (7) 8 ??? 0x00007ffee2d05830 0x0 + 140732703725616 | |
[bt] (6) 7 libffi.dylib 0x00007fff2db5d8f5 ffi_call_unix64 + 85 | |
[bt] (5) 6 libtvm.dylib 0x000000011bcd82e6 TVMFuncCall + 70 | |
[bt] (4) 5 libtvm.dylib 0x000000011ae04cbb std::__1::__function::__func<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), std::__1::allocator<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>, void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) + 59 | |
[bt] (3) 4 libtvm.dylib 0x000000011b4cd84c tvm::TargetInternal::ConstructorDispatcher(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) + 364 | |
[bt] (2) 3 libtvm.dylib 0x000000011b4cb9a0 tvm::Target::Target(tvm::Target, tvm::Target) + 224 | |
[bt] (1) 2 libtvm.dylib 0x000000011aae2f89 tvm::runtime::detail::LogFatal::Entry::Finalize() + 89 | |
[bt] (0) 1 libtvm.dylib 0x000000011bced258 tvm::runtime::Backtrace() + 24 | |
File "/Users/hoge/working/tvm/src/target/target.cc", line 421 | |
ValueError: Check failed: (!n->host.defined() || n->host.same_as(host)) is false: Adding a host to a target whose host field has been defined | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main | |
exitcode = _main(fd, parent_sentinel) | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main | |
self = reduction.pickle.load(from_parent) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/autotvm/task/task.py", line 203, in __setstate__ | |
self.target, self.target_host = Target.check_and_update_host_consist( | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 200, in check_and_update_host_consist | |
target = Target(target, host) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 102, in __init__ | |
self.__init_handle_by_constructor__(_ffi_api.Target, Target(target), Target(host)) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/object.py", line 136, in __init_handle_by_constructor__ | |
handle = __init_by_constructor__(fconstructor, args) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py", line 260, in __init_handle_by_constructor__ | |
raise get_last_ffi_error() | |
ValueError: Traceback (most recent call last): | |
[bt] (7) 8 ??? 0x00007ffee3bd9830 0x0 + 140732719274032 | |
[bt] (6) 7 libffi.dylib 0x00007fff2db5d8f5 ffi_call_unix64 + 85 | |
[bt] (5) 6 libtvm.dylib 0x000000011bc252e6 TVMFuncCall + 70 | |
[bt] (4) 5 libtvm.dylib 0x000000011ad51cbb std::__1::__function::__func<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), std::__1::allocator<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>, void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) + 59 | |
[bt] (3) 4 libtvm.dylib 0x000000011b41a84c tvm::TargetInternal::ConstructorDispatcher(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) + 364 | |
[bt] (2) 3 libtvm.dylib 0x000000011b4189a0 tvm::Target::Target(tvm::Target, tvm::Target) + 224 | |
[bt] (1) 2 libtvm.dylib 0x000000011aa2ff89 tvm::runtime::detail::LogFatal::Entry::Finalize() + 89 | |
[bt] (0) 1 libtvm.dylib 0x000000011bc3a258 tvm::runtime::Backtrace() + 24 | |
File "/Users/hoge/working/tvm/src/target/target.cc", line 421 | |
ValueError: Check failed: (!n->host.defined() || n->host.same_as(host)) is false: Adding a host to a target whose host field has been defined | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main | |
exitcode = _main(fd, parent_sentinel) | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main | |
self = reduction.pickle.load(from_parent) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/autotvm/task/task.py", line 203, in __setstate__ | |
self.target, self.target_host = Target.check_and_update_host_consist( | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 200, in check_and_update_host_consist | |
target = Target(target, host) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 102, in __init__ | |
self.__init_handle_by_constructor__(_ffi_api.Target, Target(target), Target(host)) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/object.py", line 136, in __init_handle_by_constructor__ | |
handle = __init_by_constructor__(fconstructor, args) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py", line 260, in __init_handle_by_constructor__ | |
raise get_last_ffi_error() | |
ValueError: Traceback (most recent call last): | |
[bt] (7) 8 ??? 0x00007ffee62ff830 0x0 + 140732760324144 | |
[bt] (6) 7 libffi.dylib 0x00007fff2db5d8f5 ffi_call_unix64 + 85 | |
[bt] (5) 6 libtvm.dylib 0x00000001186db2e6 TVMFuncCall + 70 | |
[bt] (4) 5 libtvm.dylib 0x0000000117807cbb std::__1::__function::__func<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), std::__1::allocator<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>, void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) + 59 | |
[bt] (3) 4 libtvm.dylib 0x0000000117ed084c tvm::TargetInternal::ConstructorDispatcher(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) + 364 | |
[bt] (2) 3 libtvm.dylib 0x0000000117ece9a0 tvm::Target::Target(tvm::Target, tvm::Target) + 224 | |
[bt] (1) 2 libtvm.dylib 0x00000001174e5f89 tvm::runtime::detail::LogFatal::Entry::Finalize() + 89 | |
[bt] (0) 1 libtvm.dylib 0x00000001186f0258 tvm::runtime::Backtrace() + 24 | |
File "/Users/hoge/working/tvm/src/target/target.cc", line 421 | |
ValueError: Check failed: (!n->host.defined() || n->host.same_as(host)) is false: Adding a host to a target whose host field has been defined | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main | |
exitcode = _main(fd, parent_sentinel) | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main | |
self = reduction.pickle.load(from_parent) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/autotvm/task/task.py", line 203, in __setstate__ | |
self.target, self.target_host = Target.check_and_update_host_consist( | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 200, in check_and_update_host_consist | |
target = Target(target, host) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 102, in __init__ | |
self.__init_handle_by_constructor__(_ffi_api.Target, Target(target), Target(host)) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/object.py", line 136, in __init_handle_by_constructor__ | |
handle = __init_by_constructor__(fconstructor, args) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py", line 260, in __init_handle_by_constructor__ | |
raise get_last_ffi_error() | |
ValueError: Traceback (most recent call last): | |
[bt] (7) 8 ??? 0x00007ffee1f90830 0x0 + 140732689614896 | |
[bt] (6) 7 libffi.dylib 0x00007fff2db5d8f5 ffi_call_unix64 + 85 | |
[bt] (5) 6 libtvm.dylib 0x000000011d8152e6 TVMFuncCall + 70 | |
[bt] (4) 5 libtvm.dylib 0x000000011c941cbb std::__1::__function::__func<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), std::__1::allocator<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>, void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) + 59 | |
[bt] (3) 4 libtvm.dylib 0x000000011d00a84c tvm::TargetInternal::ConstructorDispatcher(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) + 364 | |
[bt] (2) 3 libtvm.dylib 0x000000011d0089a0 tvm::Target::Target(tvm::Target, tvm::Target) + 224 | |
[bt] (1) 2 libtvm.dylib 0x000000011c61ff89 tvm::runtime::detail::LogFatal::Entry::Finalize() + 89 | |
[bt] (0) 1 libtvm.dylib 0x000000011d82a258 tvm::runtime::Backtrace() + 24 | |
File "/Users/hoge/working/tvm/src/target/target.cc", line 421 | |
ValueError: Check failed: (!n->host.defined() || n->host.same_as(host)) is false: Adding a host to a target whose host field has been defined | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main | |
exitcode = _main(fd, parent_sentinel) | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main | |
self = reduction.pickle.load(from_parent) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/autotvm/task/task.py", line 203, in __setstate__ | |
self.target, self.target_host = Target.check_and_update_host_consist( | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 200, in check_and_update_host_consist | |
target = Target(target, host) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 102, in __init__ | |
self.__init_handle_by_constructor__(_ffi_api.Target, Target(target), Target(host)) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/object.py", line 136, in __init_handle_by_constructor__ | |
handle = __init_by_constructor__(fconstructor, args) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py", line 260, in __init_handle_by_constructor__ | |
raise get_last_ffi_error() | |
ValueError: Traceback (most recent call last): | |
[bt] (7) 8 ??? 0x00007ffee6822830 0x0 + 140732765710384 | |
[bt] (6) 7 libffi.dylib 0x00007fff2db5d8f5 ffi_call_unix64 + 85 | |
[bt] (5) 6 libtvm.dylib 0x00000001184ee2e6 TVMFuncCall + 70 | |
[bt] (4) 5 libtvm.dylib 0x000000011761acbb std::__1::__function::__func<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), std::__1::allocator<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>, void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) + 59 | |
[bt] (3) 4 libtvm.dylib 0x0000000117ce384c tvm::TargetInternal::ConstructorDispatcher(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) + 364 | |
[bt] (2) 3 libtvm.dylib 0x0000000117ce19a0 tvm::Target::Target(tvm::Target, tvm::Target) + 224 | |
[bt] (1) 2 libtvm.dylib 0x00000001172f8f89 tvm::runtime::detail::LogFatal::Entry::Finalize() + 89 | |
[bt] (0) 1 libtvm.dylib 0x0000000118503258 tvm::runtime::Backtrace() + 24 | |
File "/Users/hoge/working/tvm/src/target/target.cc", line 421 | |
ValueError: Check failed: (!n->host.defined() || n->host.same_as(host)) is false: Adding a host to a target whose host field has been defined | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main | |
exitcode = _main(fd, parent_sentinel) | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main | |
self = reduction.pickle.load(from_parent) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/autotvm/task/task.py", line 203, in __setstate__ | |
self.target, self.target_host = Target.check_and_update_host_consist( | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 200, in check_and_update_host_consist | |
target = Target(target, host) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 102, in __init__ | |
self.__init_handle_by_constructor__(_ffi_api.Target, Target(target), Target(host)) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/object.py", line 136, in __init_handle_by_constructor__ | |
handle = __init_by_constructor__(fconstructor, args) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py", line 260, in __init_handle_by_constructor__ | |
raise get_last_ffi_error() | |
ValueError: Traceback (most recent call last): | |
[bt] (7) 8 ??? 0x00007ffee73f0830 0x0 + 140732778088496 | |
[bt] (6) 7 libffi.dylib 0x00007fff2db5d8f5 ffi_call_unix64 + 85 | |
[bt] (5) 6 libtvm.dylib 0x00000001175f02e6 TVMFuncCall + 70 | |
[bt] (4) 5 libtvm.dylib 0x000000011671ccbb std::__1::__function::__func<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), std::__1::allocator<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>, void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) + 59 | |
[bt] (3) 4 libtvm.dylib 0x0000000116de584c tvm::TargetInternal::ConstructorDispatcher(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) + 364 | |
[bt] (2) 3 libtvm.dylib 0x0000000116de39a0 tvm::Target::Target(tvm::Target, tvm::Target) + 224 | |
[bt] (1) 2 libtvm.dylib 0x00000001163faf89 tvm::runtime::detail::LogFatal::Entry::Finalize() + 89 | |
[bt] (0) 1 libtvm.dylib 0x0000000117605258 tvm::runtime::Backtrace() + 24 | |
File "/Users/hoge/working/tvm/src/target/target.cc", line 421 | |
ValueError: Check failed: (!n->host.defined() || n->host.same_as(host)) is false: Adding a host to a target whose host field has been defined | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main | |
exitcode = _main(fd, parent_sentinel) | |
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main | |
self = reduction.pickle.load(from_parent) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/autotvm/task/task.py", line 203, in __setstate__ | |
self.target, self.target_host = Target.check_and_update_host_consist( | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 200, in check_and_update_host_consist | |
target = Target(target, host) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/target/target.py", line 102, in __init__ | |
self.__init_handle_by_constructor__(_ffi_api.Target, Target(target), Target(host)) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/object.py", line 136, in __init_handle_by_constructor__ | |
handle = __init_by_constructor__(fconstructor, args) | |
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py", line 260, in __init_handle_by_constructor__ | |
raise get_last_ffi_error() | |
ValueError: Traceback (most recent call last): | |
[bt] (7) 8 ??? 0x00007ffee6da3830 0x0 + 140732771481648 | |
[bt] (6) 7 libffi.dylib 0x00007fff2db5d8f5 ffi_call_unix64 + 85 | |
[bt] (5) 6 libtvm.dylib 0x0000000119a572e6 TVMFuncCall + 70 | |
[bt] (4) 5 libtvm.dylib 0x0000000118b83cbb std::__1::__function::__func<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), std::__1::allocator<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>, void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) + 59 | |
[bt] (3) 4 libtvm.dylib 0x000000011924c84c tvm::TargetInternal::ConstructorDispatcher(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) + 364 | |
[bt] (2) 3 libtvm.dylib 0x000000011924a9a0 tvm::Target::Target(tvm::Target, tvm::Target) + 224 | |
[bt] (1) 2 libtvm.dylib 0x0000000118861f89 tvm::runtime::detail::LogFatal::Entry::Finalize() + 89 | |
[bt] (0) 1 libtvm.dylib 0x0000000119a6c258 tvm::runtime::Backtrace() + 24 | |
File "/Users/hoge/working/tvm/src/target/target.cc", line 421 | |
ValueError: Check failed: (!n->host.defined() || n->host.same_as(host)) is false: Adding a host to a target whose host field has been defined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Command:
./Library/Python/3.9/bin/tvmc tune \ --target "llvm" \ --output resnet50-v2-7-autotuner_records.json \ resnet50-v2-7.onnx
Following instructions from here: https://tvm.apache.org/docs/tutorials/get_started/tvmc_command_line_driver.html#sphx-glr-tutorials-get-started-tvmc-command-line-driver-py