Solved by albanD in post #6 
              
              
                The thing is that this environment variable is only affecting the initialization of the cuda driver. This means that if you set it in your notebook after the driver has been initialized, it won’t have any effect. 
It either needs to be set when you launch the notebook itself. Or the first thing a cl…