Skip to content
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

Fix ROCm Dockerfile not working #7797

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Conversation

kmaehashi
Copy link
Member

@kmaehashi kmaehashi commented Aug 8, 2023

This PR fixes the issue that ROCm Docker images not working due to missing hipfft and LD_LIBRARY_PATH. Also, now that Ubuntu 18.04 and Python 3.8 are deprecated in CuPy v13, we have to migrate to Ubuntu 20.04 and Python 3.9 instead.

To prevent the future error, I've added RUN python3 -c "import cupy; cupy.show_config()" line to verify that CuPy can be imported.

@kmaehashi kmaehashi added no-compat Disrupts backward compatibility cat:install Build and installation labels Aug 8, 2023
@mergify
Copy link
Contributor

mergify bot commented Aug 8, 2023

This pull request is now in conflicts. Could you fix it @kmaehashi? 🙏

@kmaehashi kmaehashi marked this pull request as draft August 9, 2023 04:38
@kmaehashi kmaehashi marked this pull request as ready for review August 9, 2023 06:00
@kmaehashi
Copy link
Member Author

kmaehashi commented Aug 9, 2023

CI passed, ready for review.
(No /test required for this one :)

@kmaehashi kmaehashi changed the title Fix Docker images Fix ROCm Dockerfile not working Aug 9, 2023
Copy link
Member

@emcastillo emcastillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@emcastillo emcastillo merged commit 6ce108c into cupy:main Aug 10, 2023
@kmaehashi kmaehashi deleted the fix-rocm-image branch August 10, 2023 04:37
@kmaehashi
Copy link
Member Author

Docker image for v13.0.0b1 deployed:
https://github.com/cupy/cupy/actions/runs/5817283513

@asi1024 asi1024 added this to the v13.0.0rc1 milestone Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:install Build and installation no-compat Disrupts backward compatibility prio:medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants