-
-
Notifications
You must be signed in to change notification settings - Fork 778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install CuPy from source on ROCm 6.0.2 #8233
Labels
cat:bug
Bugs
Comments
I am facing more or less the same problem but my compilation attempt ends up with a different error. To reproduce export HCC_AMDGPU_TARGET=gfx803
export CUPY_INSTALL_USE_HIP=1
export ROCM_HOME=/opt/rocm-6.0.2
export CFLAGS="-I/opt/rocm-6.0.2/include/hipblas -I/opt/rocm-6.0.2/include/hipsparse -I/opt/rocm-6.0.2/include/hipfft -I/opt/rocm-6.0.2/include/rocsolver -I/opt/rocm-6.0.2/include/rccl"
pip install cupy --log pip-cupy.log (notice that I added the include path for Additional Information Thank you! |
I added the missing include dirs in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Firstly, building CuPy on ROCm requires additional CFLAGS:
But
pip install cupy
still fails after several minutes:(It's strange that
cupy_backends/cuda/api/runtime.cpp
is compiled withx86_64-linux-gnu-gcc
)To Reproduce
Installation
Source (
pip install cupy
)Environment
Not available
Additional Information
pip-cupy.log
The text was updated successfully, but these errors were encountered: