agrocylo / bitsandbytes-rocm

8-bit CUDA functions for PyTorch, ported to HIP for use in AMD GPUs
MIT License
43 stars 5 forks source link

编译错误make hip时候出现fatal error: hip/hip_runtime_api.h #4

Open worm128 opened 11 months ago

worm128 commented 11 months ago

bitsandbytes-rocm/csrc/ops.hiph:15:10: fatal error: hip/hip_runtime_api.h: 没有那个文件或目录 15 | #include <hip/hip_runtime_api.h> compilation terminated. make: *** [Makefile:117:hip] 错误 1


请问这个问题如何解决,为网上查阅了很多资料都没解决方案

worm128 commented 11 months ago

romc的驱动为是已经安装了 sudo apt-get install ./amdgpu-install_5.4.50402-1_all.deb sudo apt-get update apt install rocm-hip-sdk