Ubuntu Use Case
Use an Ubuntu template and SSH to create a remote environment. Then, SSH into it, install the CUDA driver and PyTorch.


Last updated
Was this helpful?
Use an Ubuntu template and SSH to create a remote environment. Then, SSH into it, install the CUDA driver and PyTorch.


Last updated
Was this helpful?
Was this helpful?
apt update && apt install -y wget gnupg2 curl software-properties-common
apt install -y python3 python3-pip python3-venv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124python 3
import torch apt install vim
vim matrix_mulplication.py
python3 matrix_mulplication.py