cancel
Showing results for 
Search instead for 
Did you mean: 

AI Discussions

MrUserbox
Journeyman III

RX5700 tensil libraries for use with llamacpp

Hello,

I'm using rocm5.6 and latest llamacpp and when running any model i get the follow error:

"rocBLAS error: Cannot read /opt/rocm/lib/rocblas/library/TensileLibrary.dat: No such file or directory Aborted (core dumped)"


So I installed the tensile libraries with the follow steps:

git clone https://github.com/ROCmSoftwarePlatform/rocBLAS.git
cd rocBLAS cmake -GNinja -B build -S .
\ -DCMAKE_C_COMPILER=hipcc
\ -DCMAKE_CXX_COMPILER=hipcc
\ -DBUILD_CLIENTS_TESTS=OFF
\ -DBUILD_CLIENTS_BENCHMARKS=OFF
\ -DBUILD_CLIENTS_SAMPLES=OFF
\ -DBUILD_TESTING=OFF
\ -DBUILD_WITH_TENSILE=ON
\ -DTensile_PRINT_DEBUG=ON
\ -DTensile_LIBRARY_FORMAT=msgpack
\ -DTensile_CPU_THREADS=14
\ -DTensile_LAZY_LIBRARY_LOADING=ON
\ -DAMDGPU_TARGETS=gfx101  

At the end got the end message of -- Build files have been written to: /home/mruserbox/Desktop/RocBlas/rocBLAS/build

But when running llamacpp get the same error

"rocBLAS error: Cannot read /opt/rocm/lib/rocblas/library/TensileLibrary.dat: No such file or directory Aborted (core dumped)"

 

0 Likes
0 Replies