pytorch/test/cpp
Shuqiang Zhang 39f0a5ecc9 [c10d] simplify the dump timeout logic and unify the async call (#120331)
Summary:
The current dump timeout logic is a bit cumbersome as it needs 2 times: 1.
timeout, 2. wake up time. And in theory the caller just needs to wait
for a max of timeout value for the dump and declare the dump to be
either successful or not. Also we unify the async call using std::async
instead of a customized async lauch function for each operation.
Test Plan:
Unit tests
Reviewers:

Subscribers:

Tasks:

Tags:

Pull Request resolved: https://github.com/pytorch/pytorch/pull/120331
Approved by: https://github.com/wconstab
2024-02-23 19:46:40 +00:00
..
aot_inductor [AOTInductor] Add Runtime Constant-folding for AOTInductor (#118765) 2024-02-01 04:54:25 +00:00
api [structural binding][5/N] Replace std::tie with structural binding (#120142) 2024-02-21 22:32:55 +00:00
c10d [c10d] simplify the dump timeout logic and unify the async call (#120331) 2024-02-23 19:46:40 +00:00
common
dist_autograd
jit Fix C++20 build (#112333) 2024-02-13 05:10:19 +00:00
lazy
lite_interpreter_runtime
monitor
profiler
rpc
tensorexpr
__init__.py