


Return ctypes.c_char_p(string.I have compiled tvm successfully on windows and installed TVM package through python setup.py install within conda tvm-build environment ,but when i type tvmc -h Values, tcodes, num_args = _make_tvm_args(args, temp_args)įile “/home/tw/tvm/python/tvm/_ffi/_ctypes/packed_func.py”, line 163, in _make_tvm_argsįile “/home/tw/tvm/python/tvm/_ffi/base.py”, line 88, in c_str Handle = init_by_constructor (fconstructor, args)įile “/home/tw/tvm/python/tvm/_ffi/_ctypes/packed_func.py”, line 246, in init_handle_by_constructor init_handle_by_constructor (_ffi_api.Target, tag_or_str_or_dict)įile “/home/tw/tvm/python/tvm/_ffi/_ctypes/object.py”, line 131, in init_handle_by_constructor This problem has benn solved,but I still have some problems in compiling the resnet-50-v2.7.onnx model using the command :įile “/home/tw/tvm/python/tvm/driver/tvmc/compiler.py”, line 189, in compile_modelįile “/home/tw/tvm/python/tvm/target/target.py”, line 92, in init Therefore,I want to ask you this problem,Where might I be going wrong? IsADirectoryError: Is a directory: ‘llvm’ py”, line 24, inįile “/home/tw/tvm/python/tvm/driver/tvmc/main.py”, line 92, in mainįile “/home/tw/tvm/python/tvm/driver/tvmc/main.py”, line 85, in _mainįile “/home/tw/tvm/python/tvm/driver/tvmc/compiler.py”, line 114, in drive_compileįile “/home/tw/tvm/python/tvm/driver/tvmc/compiler.py”, line 182, in compile_model WARNING:root:Attribute spatial is ignored in _normįile “/home/tw/anaconda3/lib/python3.7/runpy.py”, line 193, in _run_module_as_mainįile “/home/tw/anaconda3/lib/python3.7/runpy.py”, line 85, in _run_codeįile “/home/tw/tvm/python/tvm/driver/tvmc/ main. WARNING:root:Attribute momentum is ignored in _norm Python -m compile -target “llvm” -output compiled_module.tar resnet50-v2-7.onnx I’m attempting to compile the resnet-50-v2.7.onnx model using the command : The different tvmc first-run with ‘compile’ problem

h, -help show this help message and exit When i type -h promote at ~/tvm/build ±(master) ✗ ❯ python -m -h I try to remake tvm stack with my MacOS, then type python -m in the command, error reported promote at ~/tvm/build ±(master) ✗ ❯ python -m įile "/Users/wanglei/opt/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_mainįile "/Users/wanglei/opt/anaconda3/lib/python3.7/runpy.py", line 85, in _run_codeįile "/Users/wanglei/tvm/python/tvm/driver/tvmc/_main_.py", line 24, in įile "/Users/wanglei/tvm/python/tvm/driver/tvmc/main.py", line 95, in mainįile "/Users/wanglei/tvm/python/tvm/driver/tvmc/main.py", line 86, in _mainĪssert hasattr(args, "func"), "Error: missing 'func' attribute for subcommand ".format(argv)ĪssertionError: Error: missing 'func' attribute for subcommand Halo, I could’t even know how to call tvmc correctly.
