-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Installing PYG with conda is very buggy #4386
Comments
Hmm. Maybe an update to the conda package is in order. A GLIBC version error is encountered typically when you try to use an executable compiled for a newer Linux-based OS (i.e. RHEL8) and then try to use it on an older OS (RHEL7). I have encountered the GLIBC version error a few times with certain conda packages on my RHEL7 cluster. Drawback to conda using precompiled packages. You usually only have two ways around this:
Since installing from source is not the preferable option, do you have Singularity installed on your remote server? |
Thanks for the reply! The server uses Slurm, and browsing through the modules I found one that does have |
Yeah... you won't find a module that updates the GLIBC version on your remote server. If the Linux kernel is the brain of a computer, GLIBC is the spine. Swapping out versions of GLIBC on a Linux system can cause the entire system to break since many applications rely on it. Here's a graphic from WIkipedia that shows how it plays into the Linux system: Singularity would help by containerizing PyG so that it can still run on your system even though it has an older GLIBC version. A recent pull request of mine (#4376) fixed issues with building the Singularity image, however, I am still working on updating the image to a newer version of PyG. If you have
This would be your best workaround while the conda package and container recipes are updated. |
I see, thank you! Unfortunately I do not have sudo there, so I think I'll stick to using the "dirty" |
As far as I see, a simple fix would be to exclude the |
Yes, maybe that would work. I did not exactly understand the context of the |
This is fixed in #4400. |
Hi, |
|
Thank you! from torch_geometric.nn.conv import MessagePassing This line is the one that causes the GLIBC error since it calls torch-spline-conv at some point. |
Can you try to run
|
Perfect! |
😵 Describe the installation problem
This is a report concerning an environment built from scratch from an environment.yml file.
First thing I tried was installing a PyTorch 1.11 environment, which caused the following bug with CUDA: rusty1s/pytorch_scatter#248.
Second try was with a PyTorch 1.10 environment which resulted in the following error: #3593. I was able to temporarily fix this by uninstalling torch_spline_conv but this was just a temporary fix. The very next moment I tried installing a package with CUDA,
pyg==2.0.4
reported a conflict, which couldn't be resolved by anything I tried. The conda resolver tried in vain to fix this issue, reporting countless of versioning issues related to PYG, including again the GLIBC version problem (which apparently IPython also has a problem with, albeit being silent before the full conda check is performed). Worth mentioning that this is a remote server so I cannot change the GLIBC version anyway.This is now getting frustrating and I'd hate to have to resort to installing from scratch the environment every time I need a new package. Something is clearly broken with the PYG versioning on conda, since uninstalling pyg fixed everything...
Below is the environment.yml in question:
Environment
conda
,pip
, source): condatorch-scatter
):The text was updated successfully, but these errors were encountered: