pytorch
2370d8c4 - [profiler] Add profiler fallback (#57612)

Commit
4 years ago
[profiler] Add profiler fallback (#57612) Summary: Add an ability to use new profiler API even if Kineto is not compiled in, by falling back to the legacy profiler. Pull Request resolved: https://github.com/pytorch/pytorch/pull/57612 Test Plan: compiled USE_KINETO=0 USE_CUDA=1 USE_MKLDNN=1 BLAS=MKL BUILD_BINARY=1 python setup.py develop install --cmake and with USE_KINETO=1 and ran python test/test_profiler.py -v Reviewed By: gdankel Differential Revision: D28217680 Pulled By: ilia-cher fbshipit-source-id: ec81fb527eb69bb0a3e0bd6aad13592200d7fe70
Author
Ilia Cherniavskii
Parents
Loading