cuda and cudnn versions for NVS 5400M

I’m using an older laptop with Nvidia NVS 5400m, Win7 64-bit to run Tensorflow in Anaconda. Which versions of cuda toolkit and cudnn should I install? Seems like the latest version does not support my graphic card anymore…

Thanks for any tips!