During this lab, you should get a bit deeper understanding of the factorgraph concepts presented during the lectures.
If you have any working Pytorch and matplotlib installation on your PC, then you're ready for the lab.
If you don't, follow this tutorial (for Ubuntu Linux):
sudo apt update && sudo apt install python3-venv python3 -m venv ~/pytorch_venv # or any other folder source ~/pytorch_venv/bin/activate pip install torch matplotlib # This downloads about 600 MB of data
When you leave this console or reboot your computer, you get the virtualenv back by calling source ~/pytorch_venv/bin/activate.