Drafted by Michelle, modified on 10/23/2023
Apply for Palmetto Desktop
Ritual
Open a terminal and log in login.palmetto.clemson.edu
Input whatsfree to see what kind of node is available and the types of CPU and GPU
Apply for a palmetto desktop, and choose the GPU Model.
Launch Palmetto Desktop, open a terminal
Input module avail
module load anaconda3/2022.10-gcc/9.5.0
module load cuda/11.8.0-gcc/9.5.0
Create a new conda environment (myenv)
Activate myenv
Install pytorch support GPU
Check if it is work
import torch
torch.cuda.is_available()
torch.cuda.device_count()
torch.cuda.current_device()
torch.cuda.device(0)
torch.cuda.get_device_name(0)