kineto icon indicating copy to clipboard operation
kineto copied to clipboard

make CollectTrace for profiling by iteration async

Open staugust opened this issue 1 year ago • 4 comments

This fix issue #953. Makes libkineto::api().client()->stop() and stopTraceInternal run in profilerThread_ so that, the training process will not be blocked.

staugust avatar Jul 26 '24 09:07 staugust

Thank you for those helpful tips, I'll improve this pr as comments advised.

staugust avatar Aug 02 '24 11:08 staugust

@briancoutinho It seems this pr is ignored after last commit. I've rebased master branch, please take some time to re-review this pr, thank you.

staugust avatar Aug 30 '24 07:08 staugust

Hi, sorry am out for 1 1/2 week, will take a look once I'm back. you can also ask @ sraikund16 for a review

Thx

On Fri, Aug 30, 2024 at 12:38 AM Augusto Yao @.***> wrote:

@briancoutinho https://github.com/briancoutinho It seems this pr is ignored after last commit. I've rebased master branch, please take some time to re-review this pr, thank you.

— Reply to this email directly, view it on GitHub https://github.com/pytorch/kineto/pull/966#issuecomment-2320356244, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUZ7ZCZM47WFP4YYUGFAELZUAOOLAVCNFSM6AAAAABLQGOI7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRQGM2TMMRUGQ . You are receiving this because you were mentioned.Message ID: @.***>

briancoutinho avatar Aug 31 '24 22:08 briancoutinho

@briancoutinho it's ok. @sraikund16 would you like to review this pr?

staugust avatar Sep 02 '24 06:09 staugust

@briancoutinho @sraikund16 Is there any update?

staugust avatar Oct 10 '24 08:10 staugust

@staugust sorry I didn't notice this. Let me take a look later today. Thanks for your patience!

sraikund16 avatar Oct 10 '24 17:10 sraikund16

@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Oct 10 '24 23:10 facebook-github-bot

@staugust has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot avatar Oct 10 '24 23:10 facebook-github-bot

@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Oct 11 '24 00:10 facebook-github-bot

@staugust has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot avatar Oct 11 '24 00:10 facebook-github-bot

@staugust has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot avatar Oct 11 '24 00:10 facebook-github-bot

@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Oct 11 '24 02:10 facebook-github-bot

@staugust has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot avatar Oct 11 '24 21:10 facebook-github-bot

@staugust has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot avatar Oct 11 '24 21:10 facebook-github-bot

@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Oct 11 '24 21:10 facebook-github-bot

@staugust has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot avatar Oct 14 '24 21:10 facebook-github-bot

@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Oct 14 '24 21:10 facebook-github-bot

Looks good, should we add any new test cases?

I don't see any functional tests with on-demand so its hard to test it any other way than the unit tests that I changed in this PR

sraikund16 avatar Oct 15 '24 16:10 sraikund16

@staugust has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot avatar Oct 15 '24 16:10 facebook-github-bot

@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Oct 15 '24 16:10 facebook-github-bot

@sraikund16 merged this pull request in pytorch/kineto@7a2a167b7233e3a0294c2ebb94c458cccfed7f42.

facebook-github-bot avatar Oct 15 '24 22:10 facebook-github-bot