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 2022/04/11 06:50:20 UTC

[GitHub] [tvm] Kamran-10xe opened a new issue, #10957: TVM with an LLVM Back-end giving error on resnet50

Kamran-10xe opened a new issue, #10957:
URL: https://github.com/apache/tvm/issues/10957

   Hi, 
   I have been trying to go through the tutorial which helps compile the RESNET50 using an LLVM Back-end. The LLVM Back-end I am using is a cross compiler for RISC-V. So I am trying to generate the assembly for RISC-V from RESNET50. When I try to compile the code using the following command:
   `tvmc compile --target "llvm -march=rv64imv -mcpu=generic-rv64" --output resnet50-v2-7-tvm.tar resnet50-v2-7.onnx`
   It gives the following error:
   `LLVM ERROR: CPU 'generic' is not supported. Use generic-rv64`
   I have also tried to specify the target using:
   `--target=llvm --target-llvm-mcpu=generic-rv64`
   But, the error remains the same. 
   The LLVM I am using is only built for RISC-V and I have used it many times so I don't know, where the issue is,  but I don't think the issue would be with LLVM.


-- 
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: commits-unsubscribe@tvm.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] masahi commented on issue #10957: TVM with an LLVM Back-end giving error on resnet50

Posted by GitBox <gi...@apache.org>.
masahi commented on issue #10957:
URL: https://github.com/apache/tvm/issues/10957#issuecomment-1342332181

   The error is coming from LLVM.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] okias commented on issue #10957: TVM with an LLVM Back-end giving error on resnet50

Posted by GitBox <gi...@apache.org>.
okias commented on issue #10957:
URL: https://github.com/apache/tvm/issues/10957#issuecomment-1325712511

   Similar issue https://gitlab.freedesktop.org/mesa/mesa/-/issues/7769 . You could eventually try LLVM 15, but the same tests are failing, so not really different except error code.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] joschi2804 commented on issue #10957: TVM with an LLVM Back-end giving error on resnet50

Posted by GitBox <gi...@apache.org>.
joschi2804 commented on issue #10957:
URL: https://github.com/apache/tvm/issues/10957#issuecomment-1244092773

   Hi, 
   
   I've got the same error as you. My LLVM is also built only for RISC-V. 
   Have you found already a solution for it?
   
   BR


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] masahi closed issue #10957: TVM with an LLVM Back-end giving error on resnet50

Posted by GitBox <gi...@apache.org>.
masahi closed issue #10957: TVM with an LLVM Back-end giving error on resnet50
URL: https://github.com/apache/tvm/issues/10957


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org