Closed as not planned
Closed as not planned
Description
🐛 Bug Report
When importing torch, an ImportError is raised due to an unmet GLIBC version requirement. The current system has glibc version 2.17, but libcurand.so.10 (used by PyTorch) requires GLIBC_2.27.
📄 Error Message
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/wanglei/anaconda3/envs/trl/lib/python3.11/site-packages/torch/__init__.py", line 367, in <module>
from torch._C import * # noqa: F403
^^^^^^^^^^^^^^^^^^^^^^
ImportError: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /home/wanglei/anaconda3/envs/trl/lib/python3.11/site-packages/torch/lib/../../../../libcurand.so.10)
🧾 System Information
OS: <e.g., CentOS 7.9>
Python version: 3.11
PyTorch version:2.5.1
CUDA version: 11.2
Installation method: conda
GLIBC version: 2.17
🔁 Steps to Reproduce
Install PyTorch in a conda environment on a system with glibc 2.17
Run import torch
Observe the ImportError regarding GLIBC_2.27