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

Add nvtx annotations to spilling-based data movement #14196

Merged
merged 3 commits into from
Oct 18, 2023

Conversation

wence-
Copy link
Contributor

@wence- wence- commented Sep 26, 2023

Description

In nsys traces, it is useful to be able to see when memory allocations are provoking cudf-managed spilling. Do this by adding appropriate nvtx annotations.

To enable this, we must move the nvtx decorators to a separate file avoiding circular imports.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

This will enable us to use them in the spilling code without circular
import issues.
This allows us to see when RMM allocations are taking an excessive
amount of time due to spilling of cudf-managed buffers.
@wence- wence- added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Sep 26, 2023
@wence- wence- requested review from a team as code owners September 26, 2023 16:08
@github-actions github-actions bot added the Python Affects Python cuDF API. label Sep 26, 2023
Copy link
Member

@harrism harrism left a comment

Choose a reason for hiding this comment

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

Good stuff.

Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link
Member

@rjzamora rjzamora left a comment

Choose a reason for hiding this comment

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

Thanks @wence- !

@vyasr
Copy link
Contributor

vyasr commented Oct 18, 2023

/merge

@rapids-bot rapids-bot bot merged commit 7aa7579 into rapidsai:branch-23.12 Oct 18, 2023
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants