rstudio / tensorflow

TensorFlow for R
https://tensorflow.rstudio.com
Apache License 2.0
1.33k stars 321 forks source link

On windows platform, tensorflow-gpu verion should not higher than 2.10 #574

Closed evanliu3594 closed 1 year ago

evanliu3594 commented 1 year ago

I followed the installation guide at https://tensorflow.rstudio.com/installation/, and #524 but unable to start tensorflow-gpu configuration.

After a whole-day trouble-shooting, I found a note at https://tensorflow.google.cn/install/source_windows#gpu image

So if anyone meets the same problem, you should install the tensorflow package with keras::install_keras(version = "2.10").

Maybe this should be noticed in the installation guide.

t-kalinowski commented 1 year ago

Thanks for reporting, this is now mentioned on the webpage https://tensorflow.rstudio.com/install/local_gpu

t-kalinowski commented 1 year ago

Attempting to install a "gpu" version on Windows shows a warning now, which will typically be displayed right after an error. I.e., this is what you now see if calling install_tensorflow(version = 'gpu') on Windows.

image