pytorch
4339f5c0 - [PyTorch][QPL] Add instance_key into MOBILE_MODULE_LOAD_STATS logging. (#45518)

Commit
4 years ago
[PyTorch][QPL] Add instance_key into MOBILE_MODULE_LOAD_STATS logging. (#45518) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45518 Similar to previous diff, Add instance_key into MOBILE_MODULE_LOAD_STATS logging. ghstack-source-id: 113149713 Test Plan: ``` 09-29 11:50:23.345 6477 9351 W MobileModuleQPLObserver.cpp: TESTINGTESTING onEnterLoadModel instance_key = 2015064908 09-29 11:50:23.409 6477 9351 W MobileModuleQPLObserver.cpp: TESTINGTESTING markerAnnotate instance_key = 2015064908, model_name = bi_pytext_v10 09-29 11:50:23.410 6477 9351 W MobileModuleQPLObserver.cpp: TESTINGTESTING markerAnnotate instance_key = 2015064908, model_type = FBNet 09-29 11:50:23.410 6477 9351 W MobileModuleQPLObserver.cpp: TESTINGTESTING markerAnnotate instance_key = 2015064908, op_list_string = ["aten::__getitem__.t", "aten::__is__", "aten::__isnot__", "aten::add.Tensor", "aten::append.t", "aten::cat", "aten::contiguous", "aten::conv1d", "aten::dim", "aten::embedding", "aten::eq.int", "aten::format", "aten::len.t", "aten::max.dim", "aten::mul.Tensor", "aten::permute", "aten::relu", "aten::softmax.int", "aten::tanh", "prepacked::linear_clamp_run", "prim::RaiseException", "prim::TupleIndex", "prim::TupleUnpack", "prim::Uninitialized", "prim::unchecked_cast"] 09-29 11:50:23.410 6477 9351 W MobileModuleQPLObserver.cpp: TESTINGTESTING onExitLoadModel instance_key = 2015064908 ``` Reviewed By: iseeyuan Differential Revision: D23996150 fbshipit-source-id: 7bf76af3b7e6b346afd20ab341204743c81cfe83
Author
Parents
Loading