-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow specifying fractions as RMM pool initial/maximum size #1021
Allow specifying fractions as RMM pool initial/maximum size #1021
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## branch-22.12 #1021 +/- ##
==============================================
Coverage ? 0.00%
==============================================
Files ? 17
Lines ? 2213
Branches ? 0
==============================================
Hits ? 0
Misses ? 2213
Partials ? 0 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very minor, if you want to make the changes go ahead (or disagree), looks good.
if self.rmm_pool_size is not None: | ||
self.rmm_pool_size = parse_bytes(self.rmm_pool_size) | ||
if self.rmm_maximum_pool_size is not None: | ||
self.rmm_maximum_pool_size = parse_bytes(self.rmm_maximum_pool_size) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does the pool size now get set? That is, where does the parsing into an int happen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In https://github.com/rapidsai/dask-cuda/pull/1021/files#r999492018, as you noted yourself. 🙂
Co-authored-by: Lawrence Mitchell <wence@gmx.li>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @wence- for the review, I've addressed your suggestion and question. Could you take another look when you have the chance?
if self.rmm_pool_size is not None: | ||
self.rmm_pool_size = parse_bytes(self.rmm_pool_size) | ||
if self.rmm_maximum_pool_size is not None: | ||
self.rmm_maximum_pool_size = parse_bytes(self.rmm_maximum_pool_size) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In https://github.com/rapidsai/dask-cuda/pull/1021/files#r999492018, as you noted yourself. 🙂
@gpucibot merge |
Thanks @wence- for the review! |
This is already supported by
memory_limit
/device_memory_limit
, and this has been raised in #1020 during discussions on how to make Dask Profiles usable in Dask-CUDA.