Does changing the notebook accelerator persist custom pip installations across kernel restarts?
Kaggle Notebooks allow users to switch between CPU, GPU, and TPU accelerators via the settings pane. This transition triggers a full kernel restart to reallocate the underlying hardware resources. While files written to the /kaggle/working directory are preserved during a kernel restart, the state of the Python environment is volatile. Specifically, there is