Jupyter Pytorch Remote Dev
Published: 2026-03-04
Intro
Jupyter Lab is the next-generation web-based user interface for Jupyter project. I first encountered The Jupyter project back when it was know as IPython notebooks and used it for hacking on python projects.
Software
The following software was used in this post.
- pytorch
Dependencies
The following software was used in this post.
cmd
sudo ubuntu-drivers install --gpgpu
sudo apt install nvidia-utils-535-server
nvidia-smi
lspci | grep -i nvidia
mkdir some/dir && cd some/dir
# D2L uses python 3.9, so I am pinning that version for this project.
uv venv --python 3.9
source .venv/bin/activate
uv pip install jupyter
# My GPU supports CUDA 12.6
uv pip install -U torch torchvision --index-url https://download.pytorch.org/whl/cu126
uv pip install d2l
jupyter lab --ip=10.100.58.10 --no-browser
http://10.100.58.10:8888/lab?token=<this-is-the-token-of-justice>