Replies: 2 comments
-
Seems like using See https://github.com/mlr-org/mlr3torch/blob/main/attic/threading-repro.R Addendum: It appears |
Beta Was this translation helpful? Give feedback.
-
This also affects parallelization within |
Beta Was this translation helpful? Give feedback.
-
See https://github.com/pytorch/pytorch/wiki/Autograd-and-Fork
I think this disqualifies
future::plan("multicore")
, when I tried a CV with this plan I gotTesting
future::plan("multisession")
seems to run at least without error.At the very least I should keep an eye on this and make sure it's documented (e.g. a vignette on resampling with
{mlr3torch}
in general)Beta Was this translation helpful? Give feedback.
All reactions