pytorch
3cc733e4 - fix for nvtxstring not printing name for aten kernels (#57407)

Commit
3 years ago
fix for nvtxstring not printing name for aten kernels (#57407) Summary: aten kernels have a sequence number of -1 In order to ensure the names are properly printed in every case, we must change the >= 0 to => -1 Example of bug: ![Capture](https://user-images.githubusercontent.com/20074092/116767312-45959280-a9e4-11eb-92a3-c2236a00d481.PNG) Example of fix: ![image](https://user-images.githubusercontent.com/20074092/116919709-82d96a80-ac06-11eb-8b74-e34cf1214ea5.png) Additionally, while fixing and investigating this issue another issue was detected and has now been filed: https://github.com/pytorch/pytorch/issues/57476 Pull Request resolved: https://github.com/pytorch/pytorch/pull/57407 Reviewed By: anjali411 Differential Revision: D28165818 Pulled By: ngimel fbshipit-source-id: dd3d245f1ea23c4b2edfcedbed3b47705ec1e966
Author
Parents
Loading