pytorch
fefdad61 - [Static Runtime] test case for staticRuntime::runAsync() API (#80407)

Commit
3 years ago
[Static Runtime] test case for staticRuntime::runAsync() API (#80407) Summary: - Python interface to call StaticRuntime::runAsync API - creates a custom executor with execution on inter-op thread pool - test cases for different async graph scenarios like multiple forks, nested forks, exception handling Test Plan: - local tests buck test mode/opt caffe2/test:static_runtime buck test mode/opt caffe2/benchmarks/static_runtime/fb:test_fb_operators buck test mode/opt caffe2/benchmarks/static_runtime:static_runtime_cpptest - OSS CI tests Differential Revision: D37471859 Pull Request resolved: https://github.com/pytorch/pytorch/pull/80407 Approved by: https://github.com/tenpercent
Committer
Parents
Loading