mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Fixes #131020 As discussed in the issue thread, we can use ` KINETO_DAEMON_INIT_DELAY_S` to delay the initialization of `kineto` in case `kineto` is initialized before `libtorch_cuda.so`. It's not clear to set a proper value of environmental variable `KINETO_DAEMON_INIT_DELAY_S`, here's a trick to make the initialization of `kineto` after the initialization of module `torch`. I'm not sure whether this is an acceptable trick, please take a look at this pr, thanks. Pull Request resolved: https://github.com/pytorch/pytorch/pull/131448 Approved by: https://github.com/sraikund16, https://github.com/briancoutinho |
||
|---|---|---|
| .. | ||
| profiler_utils_mock_events.json | ||
| test_cpp_thread.cpp | ||
| test_cpp_thread.py | ||
| test_cpp_thread_lib.pyi | ||
| test_execution_trace.py | ||
| test_kineto.py | ||
| test_memory_profiler.py | ||
| test_profiler.py | ||
| test_profiler_tree.py | ||
| test_record_function.py | ||
| test_torch_tidy.py | ||