Open liu-zhiyang opened 1 year ago
Native GPU support on Windows is no longer supported with more recent versions of Tensorflow. 2.10 was the last release to support it (with TF 2.14 around the corner now). I would suggest migrating to Linux soon if possible. If you remain on Windows, I would encourage migrating the workflow to WSL if possible, where native GPU support continues to be officially supported.
This article may be helpful for using RStudio with WSL: https://support.posit.co/hc/en-us/articles/360049776974-Using-RStudio-Server-in-Windows-WSL2
@t-kalinowski
Thanks for your advice. While runing same code in R gui, it crashes too. I have tried to lower the version of Tensorflow to 2.6.0 and re-install cudatookit=11.2.2
and cudnn=8.1.0.77
in the conda environment(original cudatoolkit=11.8
and cudnn=8.9.3.28
were installed as .exe and .zip file manually). These changes really worked. But there were some small problem(i.e While training CNN model and even after training, the memory usage of GPU was always 100%.).
I will also try RStudio under WSL.
Thanks again!
Hi, I am trying to train CNN model using keras in R. I followed the example from Simple CNN on CIFAR10 dataset. Everything seems to run well but the trainning step. After run the model trainning code, RStudio crashes.
I noticed that my GPU memory usage going to 100% before RStudio session was terminated. Do you have any idea about this issue? and how can I solve this problem? Thank you very much!
Here is my seesion info: