Hi All,
Google colab R runtimes run CUDA 12.2, torch for R requires 11.7, I tried downgrading and I tried isntalling teh precompiled binaries, but didn't manage to get it to work.
Anyone have a colab notebook I could use as an example?
Hi All,
Google colab R runtimes run CUDA 12.2, torch for R requires 11.7, I tried downgrading and I tried isntalling teh precompiled binaries, but didn't manage to get it to work.
Anyone have a colab notebook I could use as an example?
Installing torch should work with:
options(timeout = 600) # increasing timeout is recommended since we will be downloading a 2GB file.
kind <- "cu118"
version <- available.packages()["torch","Version"]
options(repos = c(
torch = sprintf("https://torch-cdn.mlverse.org/packages/%s/%s/", kind, version),
CRAN = "https://cloud.r-project.org" # or any other from which you want to install the other R dependencies.
))
install.packages("torch")
Here's an example: Google Colab