Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit tests on CPU for TritonBench features (#2323)
Summary: Pull Request resolved: #2323 Add unit tests that run on the CPU to verify the behavior of the following: - `x_only = True` for metric registration in [`register_metric()`](https://www.internalfb.com/code/fbsource/[731f07681fbbb38750aee3b165137e39fa6cee50]/fbcode/pytorch/benchmark/torchbenchmark/util/triton_op.py?lines=337) - custom `label` argument for benchmark registration in [`register_benchmark()`](https://www.internalfb.com/code/fbsource/[731f07681fbbb38750aee3b165137e39fa6cee50]/fbcode/pytorch/benchmark/torchbenchmark/util/triton_op.py?lines=316) Reviewed By: xuzhao9 Differential Revision: D58558868 fbshipit-source-id: 50e35ec3359db02ce86f45b1d44c34dac9c1a03b
- Loading branch information