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

Broken python environment in Docker images #1532

Open
napaalm opened this issue Aug 8, 2024 · 0 comments
Open

Broken python environment in Docker images #1532

napaalm opened this issue Aug 8, 2024 · 0 comments

Comments

@napaalm
Copy link

napaalm commented Aug 8, 2024

🐛 Describe the bug

On image rocm/pytorch:rocm6.1_ubuntu22.04_py3.10_pytorch_2.4 (and probably all the others) pip check returns dependencies errors. This leads to pip reinstalling torch without ROCm support when any pip package which lists it as a dependency is installed. In particular, python-triton-rocm is not installed, and the wrong version of numpy is installed. See also pypa/pip#12902.

pip check output:

$ docker run --rm -it rocm/pytorch:rocm6.1_ubuntu22.04_py3.10_pytorch_2.4 bash
root@2857e8f82486:/var/lib/jenkins# pip check
torch 2.4.0.dev20240520+rocm6.0 requires pytorch-triton-rocm, which is not installed.
numba 0.55.2 has requirement numpy<1.23,>=1.18, but you have numpy 1.26.4.
scipy 1.8.1 has requirement numpy<1.25.0,>=1.17.3, but you have numpy 1.26.4.

Versions

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant