Skip to content

Commit

Permalink
add RhpcBLASctl to faq (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Sep 5, 2024
1 parent 52a8374 commit bde3065
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mlr-org/faq.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ When resampling or tuning a fast-fitting learner, it helps to chunk multiple res
The option [`mlr3.exec_chunk_bins`](https://mlr3.mlr-org.com/reference/mlr3-package.html#package-options) determines the number of chunks to split the resampling iterations into.
For example, when running a benchmark with 100 resampling iterations, `options("mlr3.exec_chunk_bins" = 4)` creates 4 computational jobs with 25 resampling iterations each.
This reduces the parallelization overhead and speeds up the execution.
The parallelization of the BLAS library can interfere with future parallelization due to over-utilization of the available cores.
Install [`RhpcBLASctl`](https://cran.r-project.org/web/packages/RhpcBLASctl/index.html) so that mlr3 can turn off the parallelization of BLAS.
`RhpcBLASctl` can only be included as an optional dependency due to licensing issues.

## Why is the parallelization of tuning slow? {#tuning-slow}

Expand Down

0 comments on commit bde3065

Please sign in to comment.