Skip to content

Commit e725601

Browse files
Apply suggestions from code review
Co-authored-by: Anes Benmerzoug <[email protected]>
1 parent 41a0263 commit e725601

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pydvl/utils/parallel/map_reduce.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ class MapReduceJob(Generic[T, R]):
6262
jobs, splitting the data into the same number of chunks, one for each job.
6363
6464
It repeats the process num_runs times, allocating jobs across runs. E.g.
65-
if n_jobs = 90 and num_runs=10, each whole execution of fun uses 9 jobs,
66-
with the data split evenly among them. If n_jobs=2 and num_runs=10, two
65+
if n_jobs = 90 and n_runs=10, each whole execution of fun uses 9 jobs,
66+
with the data split evenly among them. If n_jobs=2 and n_runs=10, two
6767
cores are used, five times in succession, and each job receives all data.
6868
6969
Results are aggregated per run using `reduce_func`, but **not across runs**.

0 commit comments

Comments
 (0)