CPU overuse(?) #800
Replies: 2 comments 1 reply
-
Hi Henrik, DALEXtra and flashlight do not directly belong to the mlr3 ecosystem so I can't comment for these. I've just run the tests of {mlr3fselect} sequentially to check the core usage and I did not see (extensive) multicore usage. By default everything runs sequentally by default in the mlr3 ecosystem AFAIK but @mllg surely has a better overview - maybe he even has a direct idea what might be causing what you describe. Also adding @damirpolat (mlr3cluster maintainer) and @be-marc (mlr3fselect) |
Beta Was this translation helpful? Give feedback.
-
I check with revdepcheck. I ran: $ git clone git@github.com:mlr-org/mlr3.git
$ cd mlr3
$ R --quiet
> res <- revdepcheck::revdep_check(quiet = FALSE, num_workers = 4L) and tried to catch an example in the wild by monitoring
|
Beta Was this translation helpful? Give feedback.
-
Hi,
while reverse-dependency checking parallelly and future, I noticed that several packages (e.g. DALEXtra, flashlight, mlr3cluster, and mlr3fselect) use looots of (all?) cores. I noticed that they all depend on mlr3. I know you're using
parallelly::availableCores()
, so I think it's something else. Maybe, it's unrelated to ml3r itself, and it's some of its dependencies that run lots of processes/threads (from a quick look, it looks like it's either threads or forked processes).Have you looked at this when you run revdep checks? Could it some multi-threading that defaults to all hardware CPU cores?
Beta Was this translation helpful? Give feedback.
All reactions