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
I installed a torch GPU pre-built via the script on Windows10. Kind was adjusted to CUDA 12.4. It seems this is the only cuda pre-built currently supported (see #1272 )
I need to install a pre-built binary, because the machine has an older CUDA / Tensorflow / Keras installation.
options(timeout=600) # increasing timeout is recommended since we will be downloading a 2GB file.# For Windows and Linux: "cpu", "cu117" are the only currently supported# For MacOS the supported are: "cpu-intel" or "cpu-m1"kind<-"cu124"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")
I noticed that this runs on CPU only. Any attempts to move models and data to GPU end up with crashes.
With a pre-built torch CPU binary install on the same machine the examples run as expected.
The text was updated successfully, but these errors were encountered:
I installed a torch GPU pre-built via the script on Windows10. Kind was adjusted to CUDA 12.4. It seems this is the only cuda pre-built currently supported (see #1272 )
I need to install a pre-built binary, because the machine has an older CUDA / Tensorflow / Keras installation.
This downloads a ~2.5 GB zip https://torch-cdn.mlverse.org/packages/cu124/0.14.2/bin/windows/contrib/4.4/torch_0.14.2.zip
sessionInfo()
cuda_is_available()
returns TRUE. I can also generate torch_tensors with device = 'cuda' and perform operations e.g. matrix muliplication on them.However, any model training with luz crashes. Seems like #1275
The example given there crashes as any other training with luz (e.g. conv net on MNIST dataset)
The MWE without luz @jarroyoe came up with runs.
I noticed that this runs on CPU only. Any attempts to move models and data to GPU end up with crashes.
With a pre-built torch CPU binary install on the same machine the examples run as expected.
The text was updated successfully, but these errors were encountered: