Jupyter notebooks
- To run Jupyter notebooks on remote servers, use
jupyter notebook --no-browser --port=<REMOTE_PORT>
followed byssh -L <LOCAL_PORT>:localhost:<REMOTE_PORT> <REMOTE_USER>@<REMOTE_HOST>
- Jupyter servers may stay running if you forget to explicitly close them. To see the list of running Jupyter processes, use
jupyter server list
. To kill the processes,kill -9 $(lsof -n -i4TCP:$TARGET_PORT | cut -f 2 -d " ")
(or use the method described in the MLflow note).