Skip to content
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

Support Retry for GpuLocalLimitExec and GpuGlobalLimitExec #9193

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

firestarman
Copy link
Collaborator

@firestarman firestarman commented Sep 6, 2023

close #8315

This PR adds the retry support to the processing of slicing the batch (in sliceBatchAndCloseWithRetry function) used by both GpuLocalLimitExec and GpuGlobalLimitExec.

It also does some refactor by moving the code of the output iterator to a new iterator named GpuBaseLimitIterator, then we can test the core logic by unit tests.

Signed-off-by: Firestarman <firestarmanllc@gmail.com>
@firestarman
Copy link
Collaborator Author

build

revans2
revans2 previously approved these changes Sep 6, 2023
Copy link
Collaborator

@revans2 revans2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small nit

}
}

def apply(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could we call this something different. To me GpuBaseLimitExec.apply should return a GpuBaseLimitExec, we are not 100% consistent about that. Could we rename the object to GpuBaseLimitExecIterator? It would make it a little clearer.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. I changed the new object "GpuBaseLimitExec" to a class called GpuBaseLimitIterator .

Signed-off-by: Firestarman <firestarmanllc@gmail.com>
@firestarman
Copy link
Collaborator Author

build

@firestarman firestarman merged commit fac054d into NVIDIA:branch-23.10 Sep 7, 2023
28 checks passed
@firestarman firestarman deleted the retry-limit branch September 7, 2023 05:14
@sameerz sameerz added the reliability Features to improve reliability or bugs that severly impact the reliability of the plugin label Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reliability Features to improve reliability or bugs that severly impact the reliability of the plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Support Retry for GpuBaseLimitExec
4 participants