Repository navigation
[Python][ML] Raise if ImplicitMT is enabled for the RDataLoader - #23788
Merged
Merged
Conversation
Test Results 24 files 24 suites 4d 0h 12m 22s ⏱️ For more details on these failures, see this check. Results for commit 4e59624. ♻️ This comment has been updated with latest results. |
vepadulano
approved these changes
Oct 21, 2026
vepadulano
left a comment
Member
There was a problem hiding this comment.
Thanks, this was needed! Let's make sure the CI is not impacted, and see a minor suggestion.
siliataider
force-pushed
the
rdataloader-no-imt
branch
2 times, most recently
from
October 22, 2026 10:04
2f3b886 to
9416478
Compare
siliataider
force-pushed
the
rdataloader-no-imt
branch
from
October 22, 2026 14:07
9416478 to
4e59624
Compare
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Pull request:
Changes or fixes:
The
RDataLoaderdoes not work when ROOT'sImplicitMTis enabled, in both eager and lazy loading modes. A runtime error is now raised to tell the user.Caution
This is not possible:
Users can still enable
ImplicitMTfor other parts of their script and disable it for the ML part, as long as:RDataLoaderare created, even if it is disabled just before creating theRDataLoaderitself. An RDataFrame requires the same number of slots when starting its event loop as when it was constructed.Caution
RDataLoaderand the use of its other functionality.Caution
Tip
This scenario is possible:
Checklist: