pytorch
3250d500 - change the starting iters to reduce execution time (#30040)

Commit
5 years ago
change the starting iters to reduce execution time (#30040) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/30040 The benchmark will run each test in a loop of 200 iters, then keep doubling the number of iters until the time is significant. For operators which have very large input shapes, the initial 200 iters will take too much time which is not really necessary. This diff changed that 200 to 100. (Note: this ignores all push blocking failures!) Test Plan: ``` Before # ---------------------------------------- # PyTorch/Caffe2 Operator Micro-benchmarks # ---------------------------------------- # Tag : None # Benchmarking PyTorch: ConvTranspose2d # Mode: Eager # Name: ConvTranspose2d_in_c512_out_c512_kernel3_stride2_N8_H64_W64_cpu # Input: in_c: 512, out_c: 512, kernel: 3, stride: 2, N: 8, H: 64, W: 64, device: cpu Forward Execution Time (us) : 729634.577 After # ---------------------------------------- # PyTorch/Caffe2 Operator Micro-benchmarks # ---------------------------------------- # Tag : None # Benchmarking PyTorch: ConvTranspose2d # Mode: Eager # Name: ConvTranspose2d_in_c512_out_c512_kernel3_stride2_N8_H64_W64_cpu # Input: in_c: 512, out_c: 512, kernel: 3, stride: 2, N: 8, H: 64, W: 64, device: cpu Forward Execution Time (us) : 718315.899 Reviewed By: hl475 Differential Revision: D18579588 fbshipit-source-id: ef52474cf77e7549bbab0a9ae7b1b0c04023d208
Author
Parents
Loading