Jupyter notebooks timeout after short idle time
Hello,
I am coding in Jupyter notebooks on the AMD servers using GPU and CPU compute nodes (mi2104x, mi2101x). I noticed that if I execute code in the notebooks but then let the notebook sit for what seems to be just a few minutes, I lose all memory about executed code/variables I defined earlier in the notebook. I am using VSCode, which I moved over to using specifically for this AMD compute resource, and so I am wondering if this latency has to do with AMD compute or VSCode? Is there a way for me to retain the memory in the notebook for longer? It seems as though the kernel automatically restarts after being stagnant on the order of minutes. Also, the kernel is not crashing or anything - I am not using up CPU or GPU RAM causing the kernel to die.
My main question is whether there is a way to increase the allowable idle time so the kernel does not timeout in the amount of time it takes me to look something up online while coding in a notebook.
If this has to do with resource allocation on the HPC, is there perhaps a way for me to query just a CPU node? I am following protocols listed on https://amdresearch.github.io/hpcfund/hardware.html, maybe I just need to launch a CPU only job for exploratory data analysis etc instead of querying a GPU node and this will fix the issue?
Thanks!
Have you tried the Jupyter notebook example job outlined at: https://amdresearch.github.io/hpcfund/jobs.html#jupyter