HonestDeng commented on issue #17492:
URL: https://github.com/apache/tvm/issues/17492#issuecomment-2508868168
> @MehdiTantaoui-99 , @HonestDeng ,
>
> Could please help with results from these two outputs below ? $ python -c
"import tvm; print(tvm.**version**)" $ python -c "import tvm;
print(tvm.target.codegen.llvm_version_major())"
$ python -c "import tvm; print(tvm.version)"
[15:12:38] /Users/orange/tvm/src/target/llvm/llvm_instance.cc:226: Error:
Using LLVM 19.1.4 with `-mcpu=apple-latest` is not valid in
`-mtriple=arm64-apple-macos`, using default `-mcpu=generic`
[15:12:38] /Users/orange/tvm/src/target/llvm/llvm_instance.cc:226: Error:
Using LLVM 19.1.4 with `-mcpu=apple-latest` is not valid in
`-mtriple=arm64-apple-macos`, using default `-mcpu=generic`
[15:12:38] /Users/orange/tvm/src/target/llvm/llvm_instance.cc:226: Error:
Using LLVM 19.1.4 with `-mcpu=apple-latest` is not valid in
`-mtriple=arm64-apple-macos`, using default `-mcpu=generic`
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: module 'tvm' has no attribute 'version'
$ python -c "import tvm; print(tvm.target.codegen.llvm_version_major())"
[15:12:49] /Users/orange/tvm/src/target/llvm/llvm_instance.cc:226: Error:
Using LLVM 19.1.4 with `-mcpu=apple-latest` is not valid in
`-mtriple=arm64-apple-macos`, using default `-mcpu=generic`
[15:12:49] /Users/orange/tvm/src/target/llvm/llvm_instance.cc:226: Error:
Using LLVM 19.1.4 with `-mcpu=apple-latest` is not valid in
`-mtriple=arm64-apple-macos`, using default `-mcpu=generic`
[15:12:49] /Users/orange/tvm/src/target/llvm/llvm_instance.cc:226: Error:
Using LLVM 19.1.4 with `-mcpu=apple-latest` is not valid in
`-mtriple=arm64-apple-macos`, using default `-mcpu=generic`
19
$ python -c "import tvm; print('\n'.join(f'{k}: {v}' for k, v in
tvm.support.libinfo().items()))"
[15:15:35] /Users/orange/tvm/src/target/llvm/llvm_instance.cc:226: Error:
Using LLVM 19.1.4 with `-mcpu=apple-latest` is not valid in
`-mtriple=arm64-apple-macos`, using default `-mcpu=generic`
[15:15:35] /Users/orange/tvm/src/target/llvm/llvm_instance.cc:226: Error:
Using LLVM 19.1.4 with `-mcpu=apple-latest` is not valid in
`-mtriple=arm64-apple-macos`, using default `-mcpu=generic`
[15:15:35] /Users/orange/tvm/src/target/llvm/llvm_instance.cc:226: Error:
Using LLVM 19.1.4 with `-mcpu=apple-latest` is not valid in
`-mtriple=arm64-apple-macos`, using default `-mcpu=generic`
... a lot of output
USE_METAL: OFF
GIT_COMMIT_HASH: 7ae7ea836169d3cf28b05c7d0dd2cb6a2045508e
GIT_COMMIT_TIME: 2024-11-26 08:46:17 -0500
... a lot of output
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]