-
Notifications
You must be signed in to change notification settings - Fork 237
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
Add CUDA async memory resource as an option #3447
Conversation
Signed-off-by: Rong Ou <rong.ou@gmail.com>
"as \"DEFAULT\" is known to be unstable (https://github.com/NVIDIA/spark-rapids/issues/1141)") | ||
.doc("Select the RMM pooling allocator to use. Valid values are \"DEFAULT\", \"ARENA\", " + | ||
"\"ASYNC\", and \"NONE\". With \"DEFAULT\", `rmm::mr::pool_memory_resource` is used; with " + | ||
"\"ARENA\", `rmm::mr::arena_memory_resource` is used; with \"ASYNC\", " + |
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.
This doc is intended for end-users, and I think rmm::mr::arena_memory_resource
is too much detail here. I suggest simplifying this to say it uses the new CUDA stream-ordered memory allocator in CUDA 11.2+.
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.
Done.
Signed-off-by: Rong Ou <rong.ou@gmail.com>
build |
build |
1 similar comment
build |
This only adds an option to set the gpu memory pool to use RMM
cuda_async_memory_resource
. Additional work needs to be done to support UCX (e.g. openucx/ucx#7204) and possibly GDS.Depends on rapidsai/cudf#9201.
Signed-off-by: Rong Ou rong.ou@gmail.com