update notes
This commit is contained in:
parent
48d1e846ea
commit
0f1d7a1498
@ -116,7 +116,7 @@ You only have $50 dollars worth of credit, which should be about 6 days of GPU u
|
|||||||
```
|
```
|
||||||
git clone https://github.com/VICO-UoE/mlpractical.git ~/mlpractical
|
git clone https://github.com/VICO-UoE/mlpractical.git ~/mlpractical
|
||||||
cd ~/mlpractical
|
cd ~/mlpractical
|
||||||
git checkout mlp2023-24/mlp_compute_engines
|
git checkout mlp2024-25/mlp_compute_engines
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, to test PyTorch running on the GPU, run this script that trains a small convolutional network on EMNIST dataset:
|
Then, to test PyTorch running on the GPU, run this script that trains a small convolutional network on EMNIST dataset:
|
||||||
@ -177,4 +177,4 @@ You are also free to use other tools such as `nohup` or `tmux`. Use online tutor
|
|||||||
| ```module mlp not found``` | Install the mlp package in your environment: ```python setup.py develop``` |
|
| ```module mlp not found``` | Install the mlp package in your environment: ```python setup.py develop``` |
|
||||||
| ```NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.``` | Remove the current driver by running: ```cd /``` and ```sudo apt purge nvidia-*``` Follow step 11 of the instructions or the following commands: (1) download the R470 driver ```wget https://us.download.nvidia.com/XFree86/Linux-x86_64/470.223.02/NVIDIA-Linux-x86_64-470.223.02.run```, (2) change the file permissions to make it executable with ```chmod +x NVIDIA-Linux-x86_64-470.223.02.run``` and (3) install the driver ```sudo ./NVIDIA-Linux-x86_64-470.223.02.run``` |
|
| ```NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.``` | Remove the current driver by running: ```cd /``` and ```sudo apt purge nvidia-*``` Follow step 11 of the instructions or the following commands: (1) download the R470 driver ```wget https://us.download.nvidia.com/XFree86/Linux-x86_64/470.223.02/NVIDIA-Linux-x86_64-470.223.02.run```, (2) change the file permissions to make it executable with ```chmod +x NVIDIA-Linux-x86_64-470.223.02.run``` and (3) install the driver ```sudo ./NVIDIA-Linux-x86_64-470.223.02.run``` |
|
||||||
| ```module 'torch' has no attribute 'cuda'``` | You most probably have a file named ```torch.py``` in your current directory. Rename it to something else and try again. You might need to run the setup again. Else ```import torch``` will be calling this file instead of the PyTorch library and thus causing a conflict. |
|
| ```module 'torch' has no attribute 'cuda'``` | You most probably have a file named ```torch.py``` in your current directory. Rename it to something else and try again. You might need to run the setup again. Else ```import torch``` will be calling this file instead of the PyTorch library and thus causing a conflict. |
|
||||||
| ```Finalizing NVIDIA driver installation. Error! Your kernel headers for kernel 5.10.0-26-cloud-amd64 cannot be found. Please install the linux-headers-5.10.0-26-cloud-amd64 package, or use the --kernelsourcedir option to tell DKMS where it's located. Driver updated for latest kernel.``` | Install the header package with ```sudo apt install linux-headers-5.10.0-26-cloud-amd64``` |
|
| ```Finalizing NVIDIA driver installation. Error! Your kernel headers for kernel 5.10.0-26-cloud-amd64 cannot be found. Please install the linux-headers-5.10.0-26-cloud-amd64 package, or use the --kernelsourcedir option to tell DKMS where it's located. Driver updated for latest kernel.``` | Install the header package with ```sudo apt install linux-headers-5.10.0-26-cloud-amd64``` |
|
||||||
|
Loading…
Reference in New Issue
Block a user