Check if CUDA is available
Warning
Over a year old. May be outdated
How to open a Jupyter Notebook running on the remote server, and how to point TensorFlow or PyTorch at one GPU.
Opening the Notebook
You need SSH access to the server, your server username (e.g., user@server), and the VPN if the server asks for it.
- Open a terminal. PowerShell or PuTTY on Windows, the Terminal app on macOS or Linux.
- SSH in with a port forward. Put your username in place of
userand your server in place ofserver. cdinto your work directory.- Start Jupyter and copy the URL it prints.
- Paste that URL into the browser on your own machine.
Picking a GPU
The server has GPUs numbered 0 to 7. Check which ones are free first. In Jupyter, run:
Then set it up for your framework.
Always check what's free and what's in use before you grab a GPU.
Backlinks4
231116231114231110231109