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.)
Following this link, which requires your UVA confidential, you will see a page like this
Click the My Interactive Sessions
link, it will direct to the following page, which allows you to choose JupyterLab
And then, you need to configure the hardware environment that you will need. In this example, I chose
GPU
Partition
1 hour session
8 GB memory (CPU memory, and you may need more for actually running experiments)
Allocation: choose the right allocation, and more importantly
1 Nvidia A40 GPU
You may need to wait for a few minutes to see the following page
Click the Connect to Jupyter
will direct you to the following page
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.