Traceback (most recent call last):


 "testScripting.py", line 44, in <module>

inputs= [ ct.TensorType(name="input1", shape=dummy_input.shape) ]


 "~/Library/Python/3.7/lib/python/site-packages/coremltools/converters/_converters_entry.py", line 299, in convert

**kwargs


 "~/Library/Python/3.7/lib/python/site-packages/coremltools/converters/mil/converter.py", line 120, in _convert

prog = frontend_converter(model, **kwargs)


 "~/Library/Python/3.7/lib/python/site-packages/coremltools/converters/mil/converter.py", line 62, in __call__

return load(*args, **kwargs)


 "~/Library/Python/3.7/lib/python/site-packages/coremltools/converters/mil/frontend/torch/load.py", line 84, in load

raise e


 "~/Library/Python/3.7/lib/python/site-packages/coremltools/converters/mil/frontend/torch/load.py", line 76, in load

prog = converter.convert()


 "~/Library/Python/3.7/lib/python/site-packages/coremltools/converters/mil/frontend/torch/converter.py", line 302, in convert

convert_nodes(self.context, self.graph)


 "~/Library/Python/3.7/lib/python/site-packages/coremltools/converters/mil/frontend/torch/ops.py", line 52, in convert_nodes

"PyTorch convert function for op {} not implemented".format(node.kind)
RuntimeError: PyTorch convert function for op dim not implemented


Traceback (most recent call last):


 "/tmp/pip-install-_r3r2y_m/llvmlite/ffi/build.py", line 191, in <module>

main()


 "/tmp/pip-install-_r3r2y_m/llvmlite/ffi/build.py", line 181, in main

main_posix('linux', '.so')


 "/tmp/pip-install-_r3r2y_m/llvmlite/ffi/build.py", line 143, in main_posix

raise RuntimeError(msg)

RuntimeError: Building llvmlite requires LLVM 10.0.x or 9.0.x, got '7.0.1'. Be sure to set LLVM_CONFIG to the right executable path.
