December 4, 2024

If you have troubles to configure the environment using the command line, for example, due to some unexpected issues with miniforge, JupterLab on Rivanna is an alternative and it is much easier to setup. (Thanks to Aryan Magoon for reminding me this option.)

1. Create an interactive session

Following this link, which requires your UVA confidential, you will see a page like this

Screenshot 2024-12-04 at 7.03.49 PM.png

Click the My Interactive Sessions link, it will direct to the following page, which allows you to choose JupyterLab

Screenshot 2024-12-04 at 7.04.02 PM.png

And then, you need to configure the hardware environment that you will need. In this example, I chose

You may need to wait for a few minutes to see the following page

Screenshot 2024-12-04 at 7.06.11 PM.png

Click the Connect to Jupyter will direct you to the following page

Screenshot 2024-12-04 at 7.08.31 PM.png

1.1 Create a new notebook

When create a new notebook, make sure to choose the one option PyTorch 2.4.0, then you don’t have to install PyTorch yourself.