User Tools

Site Tools


compute:pythongpu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
compute:pythongpu [2024/12/11 15:42] bjornscompute:pythongpu [2024/12/11 15:48] (current) bjorns
Line 16: Line 16:
 ''if torch.cuda.is_available() print("GPU")'' ''if torch.cuda.is_available() print("GPU")''
 \\ \\
-But you must run this code test with sbatch\\ +But you must run this code test with **sbatch**, send your job to the cluster\\ 
-Create a python file dummy.py with these command\\+Create a python file dummy.py with the test-GPU command\\
 \\ \\
 Update the sbatch script file, mine is called **oneJob.sh**\\ Update the sbatch script file, mine is called **oneJob.sh**\\
compute/pythongpu.1733931756.txt.gz · Last modified: 2024/12/11 15:42 by bjorns