You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/02/22 20:32:28 UTC

[GitHub] [tvm] altanh commented on pull request #7500: [WIP][Pass] Profiling TVM compiler passes

altanh commented on pull request #7500:
URL: https://github.com/apache/tvm/pull/7500#issuecomment-783655850


   example output:
   ```
   tests/python/frontend/pytorch/test_object_detection.py sequential: 16636769us (94.70%)
   	RemoveUnusedFunctions: 747us (0.00%)
   	ToBasicBlockNormalForm: 16075us (0.10%)
   	sequential: 179031us (1.08%)
   		InferType: 38727us (21.63%)
   		Legalize: 50240us (28.06%)
   			InferType: 39085us (77.80%)
   		InferType: 39895us (22.28%)
   		Legalize: 50149us (28.01%)
   			InferType: 38553us (76.88%)
   	InferType: 40402us (0.24%)
   	Legalize: 67676us (0.41%)
   		InferType: 39490us (58.35%)
   	EtaExpand: 10162us (0.06%)
   	InferType: 40605us (0.24%)
   	SimplifyInference: 49953us (0.30%)
   		InferType: 39228us (78.53%)
   	InferType: 40696us (0.24%)
   	EliminateCommonSubexpr: 117125us (0.70%)
   		InferType: 36413us (31.09%)
   	InferType: 36998us (0.22%)
   	SimplifyExpr: 424215us (2.55%)
   		InferType: 73673us (17.37%)
   		InferType: 74374us (17.53%)
   		InferType: 74723us (17.61%)
   		InferType: 75850us (17.88%)
   		InferType: 37884us (8.93%)
   	InlinePrimitives: 58960us (0.35%)
   		Inline: 10235us (17.36%)
   		DeadCodeElimination: 48721us (82.63%)
   			InferType: 37255us (76.47%)
   	FoldConstant: 3839048us (23.08%)
   		sequential: 1074us (0.03%)
   			InferType: 710us (66.11%)
   			FuseOps: 158us (14.71%)
   				InferType: 88us (55.70%)
   			ToANormalForm: 61us (5.68%)
   			InferType: 137us (12.76%)
   			...
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org