ROCm / hipBLASLt

hipBLASLt is a library that provides general matrix-matrix operations with a flexible API and extends functionalities beyond a traditional BLAS library
https://rocm.docs.amd.com/projects/hipBLASLt/en/latest/index.html
MIT License
49 stars 80 forks source link

[Issue]: Could not load /opt/rocm-6.1.3/lib/rocblas/library/TensileLibrary.dat #856

Open unclemusclez opened 3 months ago

unclemusclez commented 3 months ago

Problem Description

rocblaslt error: Could not load /opt/rocm-6.1.3/lib/hipblaslt/library/TensileLibrary.dat
Segmentation fault

i performed cp /opt/rocm-6.1.3/lib/hipblaslt/library/TensileLibrary_gfx1100.dat /opt/rocm-6.1.3/lib/hipblaslt/library/TensileLibrary.dat otherwise i dont know how to get this file.

I ran the ./install.sh -idc --architecture 'gfx1100' --merge-files --static from the hipBLASLt repository Driver installation via amdgpu-install -y --usecase=wsl,rocm --no-dkms

Operating System

WSL2 Ubuntu 22.04 Windows 11

CPU

7800x3d

GPU

AMD Radeon RX 7900 XT

Other

No response

ROCm Version

ROCm 6.1.3

ROCm Component

hipBLASLt

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

minzhezhou commented 2 months ago

Did you load it from pytorch? You may also need to replace the torch libhipblaslt.so

There was a similar issue raised by @lhl: https://github.com/ROCm/hipBLASLt/issues/831

unclemusclez commented 2 months ago

831 it seems to be not installed with 6.1.3 software there was no official release in the repository

sleppyrobot commented 3 weeks ago

I get this error on linux as well. ubuntu 24.04 7900xtx rocm 6.2

Pointing HIPBLASLT_TENSILE_LIBPATH = hipBLASLt/build/release/Tensile/library causes below error.

rocblaslt error: Cannot read /home/adminl/hipBLASLt/build/release/Tensile/library/TensileLibrary.dat: No such file or directory

rocblaslt error: Could not load /home/adminl/hipBLASLt/build/release/Tensile/library/TensileLibrary.dat Segmentation fault (core dumped)