pytorch
77665e9a - [kineto] ClientInterface stub for ProfilerKineto (#75525)

Commit
2 years ago
[kineto] ClientInterface stub for ProfilerKineto (#75525) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/75525 Creating injection point for ProfilerKineto to attach global callback. We'll disable the KinetoObserver via `'kineto.disable_libkineto_observer=1'` and enable this to swap out the implementations. Test Plan: 1. add temporary logs in the stub + registration method 2. `buck build mode/opt //kineto/libkineto/fb/integration_tests:trace_tester --config 'kineto.disable_libkineto_observer=1' --config "kineto.enable_libkineto_client=1` 3. `./buck-out/gen/kineto/libkineto/fb/integration_tests/trace_tester --test_ondemand --libkineto_runner_iterations 1000000` should see log for registration 4. `dyno gputrace` should see log for start/stop Reviewed By: aaronenyeshi, robieta Differential Revision: D35456304 fbshipit-source-id: c0a23a57181818e5a0ee495410163d90874355a9 (cherry picked from commit 5dfc723937356693fc041f5a011161e83a8d2528)
References
Author
Committer
Parents
Loading