masahi commented on a change in pull request #9425: URL: https://github.com/apache/tvm/pull/9425#discussion_r744166777
########## File path: docker/install/ubuntu_install_rocm.sh ########## @@ -21,10 +21,10 @@ set -u set -o pipefail # Install ROCm cross compilation toolchain. -wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add - -echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list +wget -qO - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add - +echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/4.3/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list Review comment: Yes rocm 4.3 apparently requires llvm 13. I confirmed that rocm 4.3 + the upstream llvm 13 works, but to build TVM with the upstream llvm 13, we need to fix one line in `codegen_llvm.cc`: https://discuss.tvm.apache.org/t/rocm-target-fails-with-llvm-error/11208/6 There is also an open issue for building with llvm 13 https://github.com/apache/tvm/issues/9319 @leandron can you also add the llvm 13 build fix in my discuss post above? -- 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]
