Closed jananisriram closed 6 days ago
This pull request was exported from Phabricator. Differential Revision: D58680878
This pull request was exported from Phabricator. Differential Revision: D58680878
This pull request was exported from Phabricator. Differential Revision: D58680878
This pull request was exported from Phabricator. Differential Revision: D58680878
This pull request has been merged in pytorch/benchmark@2643d15a74757803d36285c61d2c058b7d808a24.
Summary: Add basic plotting functionality to the
sum
operator benchmark in TritonBench, graphing shape in 1 dimension against thelatency
of the PyTorch and Triton kernelsum
benchmarks. This diff assumes that if a plot is requested, all dimensions except for one have their sizes specified in command line arguments, where the x-axis plots the different sizes of the singular variable dimension. This diff references the gemm operator plotting function and makes it easier to interpret the performance of different Triton kernels against a baseline PyTorch implementation.Reviewed By: YuqingJ
Differential Revision: D58680878