mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[DI] create a new key for threadLocalDebugInfo (#48762)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/48762 In distributed inference, we want to use a new type info to pass some information to operators. add a new key to threadLocalDebugInfo to unblock the development. Test Plan: Only add a new key. Should have not effect on current build. Reviewed By: dzhulgakov Differential Revision: D25291242 fbshipit-source-id: c71565ff7a38cc514d7cd65246c7d5f6b2ce3b8b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0f9823d888
commit
ca3ae7dc73
@ -13,6 +13,7 @@ enum class C10_API_ENUM DebugInfoKind : uint8_t {
|
||||
PRODUCER_INFO = 0,
|
||||
MOBILE_RUNTIME_INFO,
|
||||
PROFILER_STATE,
|
||||
INFERENCE_CONTEXT, // for inference usage
|
||||
|
||||
TEST_INFO, // used only in tests
|
||||
TEST_INFO_2, // used only in tests
|
||||
|
Reference in New Issue
Block a user