torch-mlir
torch-mlir copied to clipboard
compile error
[720/1742] Generating Lazy Tensor Core IR Nodes
FAILED: tools/torch-mlir/generated_backend.hash tools/torch-mlir/python/torch_mlir/csrc/base_lazy_backend/generated/LazyNativeFunctions.cpp tools/torch-mlir/python/torch_mlir/csrc/base_lazy_backend/generated/RegisterLazy.cpp tools/torch-mlir/python/torch_mlir/csrc/base_lazy_backend/generated/shape_inference.cpp /Users/unicorn/MyCodes/torch-mlir/build/tools/torch-mlir/generated_backend.hash /Users/unicorn/MyCodes/torch-mlir/build/tools/torch-mlir/python/torch_mlir/csrc/base_lazy_backend/generated/LazyNativeFunctions.cpp /Users/unicorn/MyCodes/torch-mlir/build/tools/torch-mlir/python/torch_mlir/csrc/base_lazy_backend/generated/RegisterLazy.cpp /Users/unicorn/MyCodes/torch-mlir/build/tools/torch-mlir/python/torch_mlir/csrc/base_lazy_backend/generated/shape_inference.cpp
cd /Users/unicorn/MyCodes/torch-mlir/build/tools/torch-mlir/python/torch_mlir/csrc/base_lazy_backend && /Users/unicorn/miniconda3/envs/py38/bin/python3.8 /Users/unicorn/MyCodes/torch-mlir/build_tools/autogen_ltc_backend.py -b /Users/unicorn/MyCodes/torch-mlir/build/tools/torch-mlir
Traceback (most recent call last):
File "/Users/unicorn/MyCodes/torch-mlir/build_tools/autogen_ltc_backend.py", line 504, in
@henrytwo any thoughts ?
What version of PyTorch do you have installed? I suspect it might be out of date, since we made some modifications to the autogen library
Cc: @antoniojkim
@wm901115nwpu You need to use the latest nightly PyTorch. It will not work with the 1.12 release. The non-native keyword is something that was added after the release 1.12 branch cut date.
We've changed a lot about the LTC build. I'm closing this issue for now. Please file a new issue if you run into a new issue.