Build instructions for ROCM

I wonder if it would be possible to share the build instructions/configurations for the official ROCM releases of LibTorch (the C++ API not PyTorch). Also, and that is the main reason why I need to compile LibTorch from source, would it be possible to compile future releases with MPI/Distributed enabled?

Thanks

Hey @Matthias_Moller ,
I know I’m a bit late to the game here, but I found this on the ROCm fork of Pytorch that should address the first part of your question :slight_smile:

This covers building libtorch for AMD GPUs in the top section. I’m planning on giving this a try.

For your second question, are you wanting the official ROCm release built with MPI enabled ? That might be a question best opened on an issue at GitHub · Where software is built

Thanks very much @fluidnumerics_joe. I’ll make an issue about building the official ROCm release with MPI enabled.

1 Like