File tree 1 file changed +24
-2
lines changed
1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ The image above shows example images. The exercise assumes you are working on th
8
8
To solve this exercise look through the files in the ` source ` folder. ` TODO ` s mark parts of the code that require your attention.
9
9
Come back to this readme for additional hints.
10
10
11
- - To get started on the JUWELS Booster load the modules
11
+ - On Bender, load the modules
12
12
``` bash
13
- Stages/2023 GCC/11.3.0 OpenMPI/4.1.4 CUDA/11.7 CMake PyTorch
13
+ ml CMake PyTorch CUDA
14
14
```
15
15
16
16
- Use ` mkdir build ` to create your build directory. Change directory into your build folder and compile by running:
@@ -41,6 +41,28 @@ correctly identified digits, by comparing the `argmax` of the network output and
41
41
42
42
- Finally iterate over the test data set and compute the test accuracy.
43
43
44
+ - This code is supposed to run on GPUs. Therefore, use the ` A40devel ` partition. You can use the following the submit script,
45
+
46
+ ```
47
+ #!/bin/bash
48
+
49
+ #SBATCH --time=00:05:00
50
+ #SBATCH --nodes=1
51
+ #SBATCH --ntasks=1
52
+ #SBATCH --ntasks-per-node=1
53
+ #SBATCH --partition=A40devel
54
+ #SBATCH --output=ex_nn_cuda_out.%j
55
+ #SBATCH --error=ex_nn_cuda_err.%j
56
+
57
+ echo "-- Bash file start --"
58
+
59
+ ml CMake PyTorch CUDA
60
+
61
+ ./test-net
62
+
63
+ echo "-- Bash file end --"
64
+ ```
65
+
44
66
- Train and test your network by executing:
45
67
``` bash
46
68
./train_net
You can’t perform that action at this time.
0 commit comments