mlverse / torch

R Interface to Torch
https://torch.mlverse.org
Other
498 stars 68 forks source link

GLIBCXX version error after installing 0.13.0 with CUDA support #1186

Open sigmafelix opened 3 months ago

sigmafelix commented 3 months ago

Thank you for maintaining the awesome package for the community.

I want to report that a recent version of torch with CUDA support gives an error on GLIBCXX version.

 /lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by [redacted]/torch/libs/torchpkg.so)
In addition: Warning message:
package ‘torch’ was built under R version 4.4.1

The system I am using is set with R 4.3.2 and CUDA 11.8 on Rocky Linux 8.8.

The last time I installed torch with CUDA was earlier this year (between March and May), and I recall that there was no such issue then. I guess the builder used R 4.4.1 and a relatively new version of libstdc++. Since I am not an admin of the system, I could not update the system library. Therefore, I am wondering if there is a repository for previous versions of torch with CUDA support.