Debugging using docker interpreter gpu supported

Hi all,

I'm trying to debug using docker interpreter but I keep facing GPU support problems. When running nvidia-docker (from terminal) tensorflow recognizes the GPU devices as expected but it is not the case when I'm using the same image as a docker interpreter.

From what I read at the net passing --runtime=nvidia might solve this issue. I didn't see where it is possible to pass arguments calling docker as part of the configuration file. 

Is there any way to solve this issue? Is there any plan to integrate nvidia-docker as part of remote debugging option?





Hey, you can pass the --runtime option according to this comment

Give it a try, let us know if you have any issues.


Hi Andrey Resler

I tried what is written in the link you provided but it didn't work for me. I can't see the run options as presented in the example, tried to pass the args as env variables.

here is an example of the configuration file:


I just want to mention, if I use nvidia-docker from terminal the exact image works, and all GPUs been recognized.


I will try to update my pycharm version and will have it a go once again.


Andrey Resler now it works! thank you so much!


Please sign in to leave a comment.