Exercise 1

Log On, Copy Materials

  1. Log in to Rivanna using the Interactive partition.
  • 2 hours, 4 cores
  • Allocation: hpc_training
  • GPU: yes, 1
  • Show Additional Options: Yes
  • Optional Slurm Option: --reservation=llm_workshop
  1. Copy the workshop folder /project/hpc_training/llms_on_hpc to your home or scratch account.

cp –r /project/hpc_training/llms_on_hpc ~/<…>

OR

cp –r /project/hpc_training/llms_on_hpc /scratch/<ID>/<…>

  1. Open a Jupyter Notebook for PyTorch 2.4.0.
  2. In the first cell of the notebook run the command pip list to see a list of software (i.e., packages) available in the PyTorch 2.4.0 kernel.

Do you see a package called “transformers” or “datasets”?

Previous
Next
RC Logo © 2025 The Rector and Visitors of the University of Virginia