Hello, I am trying to build specifically v2.3.1 from source. I am able to build the latest version of Pytorch fine but when I try this version specifically it errors, I tried googling the error but nothing I’ve tried seems to work, here is the error;
-- Adding OpenMP CXX_FLAGS: -fopenmp
-- Will link against OpenMP libraries: /home/ubuntu/miniconda3/envs/test/lib/libgomp.so
Building PyTorch for GPU arch: gfx1030
-- Found HIP: /opt/rocm-6.3.4 (found suitable version "6.3.42134-a9a80e791", minimum required is "1.0")
HIP VERSION: 6.3.42134-a9a80e791
-- Caffe2: Header version is: 6.3.4
***** ROCm version from rocm_version.h ****
ROCM_VERSION_DEV: 6.3.4
ROCM_VERSION_DEV_MAJOR: 6
ROCM_VERSION_DEV_MINOR: 3
ROCM_VERSION_DEV_PATCH: 4
ROCM_VERSION_DEV_INT: 60304
HIP_VERSION_MAJOR: 6
HIP_VERSION_MINOR: 3
TORCH_HIP_VERSION: 603
***** Library versions from dpkg *****
rocm-developer-tools VERSION: 6.3.4.60304-76~24.04
rocm-device-libs VERSION: 1.0.0.60304-76~24.04
hsa-rocr-dev VERSION: 1.14.0.60304-76~24.04
***** Library versions from cmake find_package *****
hip VERSION: 6.3.42134
hsa-runtime64 VERSION: 1.14.60304
amd_comgr VERSION: 2.8.0
rocrand VERSION: 3.2.0
hiprand VERSION: 2.11.1
rocblas VERSION: 4.3.0
CMake Error at /home/ubuntu/miniconda3/envs/test/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
By not providing "Findhipblas-common.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"hipblas-common", but CMake did not find one.
Could not find a package configuration file provided by "hipblas-common"
with any of the following names:
hipblas-commonConfig.cmake
hipblas-common-config.cmake
Add the installation prefix of "hipblas-common" to CMAKE_PREFIX_PATH or set
"hipblas-common_DIR" to a directory containing one of the above files. If
"hipblas-common" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
/opt/rocm/lib/cmake/hipblas/hipblas-config.cmake:92 (find_dependency)
cmake/public/LoadHIP.cmake:36 (find_package)
cmake/public/LoadHIP.cmake:157 (find_package_and_print_version)
cmake/Dependencies.cmake:1258 (include)
CMakeLists.txt:754 (include)
-- Configuring incomplete, errors occurred!