Alright now I’m here and I’m opening an issue on the github.
make[2]: *** [caffe2/CMakeFiles/caffe2_hip.dir/__/aten/src/THC/caffe2_hip_generated_THCReduceApplyUtils.cu.o] Error 1
1 error generated.
In file included from /home/thomas/code/pytorch/aten/src/THC/THCStorage.cu:1:
In file included from /home/thomas/code/pytorch/aten/src/THC/THCStorage.hpp:6:
In file included from /home/thomas/code/pytorch/aten/src/THC/THCStorage.h:5:
/home/thomas/code/pytorch/build/caffe2/aten/src/THC/THCGeneral.h:13:10: fatal error: 'cuda_runtime.h' file not found
#include "cuda_runtime.h"
         ^~~~~~~~~~~~~~~~
1 error generated.
Died at /opt/rocm/hip/bin/hipcc line 496.
CMake Error at caffe2_hip_generated_THCStorage.cu.o.cmake:120 (message):
  Error generating
  /home/thomas/code/pytorch/build/caffe2/CMakeFiles/caffe2_hip.dir/__/aten/src/THC/./caffe2_hip_generated_THCStorage.cu.o