-
Notifications
You must be signed in to change notification settings - Fork 24.3k
torch-2.0.0-rc1 and torch-1.13.1 can not be installed on Ubuntu 20.04 #91067
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
Comments
We have following validation for this binary: https://github.com/pytorch/builder/actions/runs/3722990678/jobs/6314231329 It works when running inside conda environment using following steps:
I was able to reproduce this failure with steps provided.
when doing ldd I see libs being present in the
This would explain why we are getting:
|
Confirmed conflict with existing cuda installation on that image.
|
@atalman thank you for your investigation. My point is that installation experience for
|
This is related to #88882. |
This might also be a good idea to have such automated smoke installs testing on several common machines/AMIs on ec2 / other clouds (at least when a new pytorch is released) This might also suggest if pytorch needs to change suggested installation commands from |
@atalman, @syed-ahmed: this still happens with RC1:
|
@malfet I wasn't able to reproduce the error from your repro in the comment. Can you check if your LD_LIBRARY_PATH is set and it's not picking up a different libcublas? The RUNPATH looks good to me, ldd is showing cublasLT dependency:
I also tried just opening libcublas with ctypes and running it with LD_DEBUG as follows:
I do see libcublasLT gets loaded by libcublas:
So trying to understand what in your environment is different. |
Do we have any docker container in CI or public which reproduces it? |
I cannot reproduce this either.
|
Closing this as it is resolved in nightly, by this PR: #95094 Here is ldd for libtorch_cuda showing libcublasLt being loaded from same place as libcublas:
import torch smoke test also works:
|
Confirmed for 2.4.1, stock ubuntu 20.04:
|
Uh oh!
There was an error while loading. Please reload this page.
🐛 Describe the bug
python3 -mpip install torch
python3 -c "import torch"
Above fails with:
Versions
1.13.1, 1.13.0
cc @ezyang @gchanan @zou3519 @seemethere
The text was updated successfully, but these errors were encountered: