-
Notifications
You must be signed in to change notification settings - Fork 108
Remove the --profile option
#2715
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
base: main
Are you sure you want to change the base?
Conversation
Instead, check whether the script is under nsys via `NSYS_PROFILE_SESSION_ID`. Note that it's still possible to profile warmup iterations -- just don't specify `--capture-range cudaProfilerStart` in the `nsys` command.
mattteochen
left a comment
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.
Looks good, thank you.
|
I checked the CI errors and they are not related to this PR. Ready to merge! |
|
I wanted to read more about |
It's not official and that's a valid concern. I think it's OK because in the worst case we see an empty PS: it should be NSYS_PROFILING_SESSION_ID instead. However, that still isn't mentioned in any official documentation. |
kshitij12345
left a comment
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.
LGTM, thanks @wujingyue
t-vi
left a comment
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.
Thank you @wujingyue @mattteochen @kshitij12345
Instead, check whether the script is under nsys via
NSYS_PROFILING_SESSION_ID. Note that it's still possible to profile warmup iterations -- just don't specify--capture-range cudaProfilerStartin thensyscommand.This partially rolls back #2661.