Skip to content
Snippets Groups Projects
Commit f3b4d087 authored by Jan Ebert's avatar Jan Ebert
Browse files

Explain number of CPUs per task

parent 6303cd82
Branches
No related tags found
No related merge requests found
......@@ -119,9 +119,11 @@ It can be a good idea to use all available CPUs except one, which is
kept for the main process.
For example: in our example `sbatch` script for JUWELS Booster, we
select 12 CPUs per task. We can then pass `--train-num-workers=8
--valid-num-workers=3`. With 8 + 3 = 11 workers in total, we leave one
CPU for our main process.
select 12 CPUs per task. (We have one task per GPU per node; JUWELS
Booster has 48 CPUs and 4 GPUs per node. With the according 4 tasks
per node, we get 48 ÷ 4 = 12 CPUs per task.) We can then pass
`--train-num-workers=8 --valid-num-workers=3`. With 8 + 3 = 11 workers
in total, we leave one CPU for our main process.
### Launching the processes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment