Skip to content

Conversation

@mcarilli
Copy link
Collaborator

@mcarilli mcarilli commented Nov 13, 2018

Some of our arch people (@mkolod, Aditya Agrawal, @kevinstephano) notified me that the sequence number annotations weren't showing up for forward methods of custom autograd functions, which was breaking their nvprof dump parsing. Two one-line fixes in the appropriate code paths.

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

No chance we could get a test, could we?

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@mcarilli
Copy link
Collaborator Author

@ezyang I'm not sure how. A test would have to do something like run nvprof on a standalone file to completion, spit out an nvvp dump, then open it (separately) and parse the sqlite database. Any suggestions?

@ezyang
Copy link
Contributor

ezyang commented Nov 13, 2018

That would probably be the most likely way to work. Maybe not worth the effort. But I promise you we will accidentally break it without any tests at some point in the future, if someone else touches this code ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants