You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> library(torch)
ℹ Additional software needs to be downloaded and installed for torch to work correctly.
Do you want to continue? (Yes/no/cancel) Yes
trying URL 'https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.0.1%2Bcpu.zip'
Content type 'application/zip' length 181781260 bytes (173.4 MB)
==================================================
downloaded 173.4 MB
trying URL 'https://torch-cdn.mlverse.org/binaries/refs/heads/cran/v0.13.0/latest/lantern-0.13.0+cpu+x86_64-Linux.zip'
Content type 'application/zip' length 5657334 bytes (5.4 MB)
==================================================
downloaded 5.4 MB
Warning message:
ℹ torch failed to start, restart your R session to try again.
ℹ You might need to reinstall torch using `install_torch()`
✖ /local/home/dlaflamme/R/x86_64-pc-linux-gnu-library/4.3/torch/lib/liblantern.so - /lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /local/home/dlaflamme/R/x86_64-pc-linux-gnu-library/4.3/torch/lib/liblantern.so)
Caused by error in `cpp_lantern_init()`:
! /local/home/dlaflamme/R/x86_64-pc-linux-gnu-library/4.3/torch/lib/liblantern.so - /lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /local/home/dlaflamme/R/x86_64-pc-linux-gnu-library/4.3/torch/lib/liblantern.so)
>
Host is AlmaLinux 8.9. Installed compiler is
g++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22)
.R is 4.3.2.
install.packages("torch")
appears to work:But then:
This seems related to whatever lantern version was downloaded (https://torch-cdn.mlverse.org/binaries/refs/heads/cran/v0.13.0/latest/lantern-0.13.0+cpu+x86_64-Linux.zip).
Notice that in the install step, the following line appeared:
Why was it skipped? Perhaps if it is not skipped it will be downloaded and built locally? Is there a way to force this behavior?
The text was updated successfully, but these errors were encountered: