File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 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
88To solve this exercise look through the files in the ` source ` folder. ` TODO ` s mark parts of the code that require your attention.
99Come back to this readme for additional hints.
1010
11- - To get started on the JUWELS Booster load the modules
11+ - On Bender, load the modules
1212``` bash
13- Stages/2023 GCC/11.3.0 OpenMPI/4.1.4 CUDA/11.7 CMake PyTorch
13+ ml CMake PyTorch CUDA
1414```
1515
1616- 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
4141
4242- Finally iterate over the test data set and compute the test accuracy.
4343
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+
4466- Train and test your network by executing:
4567``` bash
4668./train_net
You can’t perform that action at this time.
0 commit comments