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