Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests on CPU for TritonBench features #2323

Closed
wants to merge 1 commit into from

Commits on Jun 20, 2024

  1. Add unit tests on CPU for TritonBench features (pytorch#2323)

    Summary:
    Pull Request resolved: pytorch#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
    jananisriram authored and facebook-github-bot committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    3e9ceec View commit details
    Browse the repository at this point in the history