You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/01/30 14:11:44 UTC
[GitHub] [tvm] xyz8129 opened a new issue #7378: machine type x86 conflicts with x64
xyz8129 opened a new issue #7378:
URL: https://github.com/apache/tvm/issues/7378
windows 7 (x64)
vs 2017, clang 6.0.1
I want get model, params and library in windows 7.
it seems libcmt.lib is 32 bit.
the error:
export.py:263: DeprecationWarning: legacy graph runtime behavior of producing js
on / lib / params will be removed in the next release. Please see documents of t
vm.contrib.graph_runtime.GraphModule for the new recommended usage.
sym, target, params=params)
Traceback (most recent call last):
File "export.py", line 275, in <module>
export_tvm('resnet50_v1', net, data_shape=(224, 224, 3), opt_level=1)
File "export.py", line 266, in export_tvm
lib.export_library(path + '_deploy_lib.so')
File "D:\Miniconda3\envs\py37-tvm\lib\site-packages\tvm\runtime\module.py", li
ne 371, in export_library
return fcompile(file_name, files, **kwargs)
File "D:\Miniconda3\envs\py37-tvm\lib\site-packages\tvm\contrib\cc.py", line 5
0, in create_shared
_windows_shared(output, objects, options)
File "D:\Miniconda3\envs\py37-tvm\lib\site-packages\tvm\contrib\cc.py", line 2
45, in _windows_shared
raise RuntimeError(msg)
RuntimeError: Compilation error:
d:\Program Files\LLVM\bin\lld-link: error: libcmt.lib(chkstk.obj): machine type
x86 conflicts with x64
clang.exe: error: linker command failed with exit code 1 (use -v to see invocati
on)
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [tvm] xyz8129 closed issue #7378: machine type x86 conflicts with x64
Posted by GitBox <gi...@apache.org>.
xyz8129 closed issue #7378:
URL: https://github.com/apache/tvm/issues/7378
----------------------------------------------------------------
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:
users@infra.apache.org