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 flags to filter gemm configs #3

Merged
merged 2 commits into from
Oct 2, 2024
Merged

Add flags to filter gemm configs #3

merged 2 commits into from
Oct 2, 2024

Conversation

kuhar
Copy link
Member

@kuhar kuhar commented Oct 2, 2024

We can filter based on 3 criteria:

  1. Data types: f16/bf16
  2. Matmul variants: NN, NT, TN, and TT. (NT -- transpose B)
  3. Tag regex, e.g., "unet" or ".*skinny"

Also fix the number of parallel compilation jobs for small machines with < 20 cores.

We can filter based on 3 criteria:
1. Data types: f16/bf16
2. Matmul variants: NN, NT, TN, and TT. (NT -- transpose B)
3. Tag regex, e.g., `"unet"` or `".*skinny"`.

Also fix the number of parallel compilation jobs for small machines with
< 20 cores.
@kuhar kuhar requested a review from saienduri October 2, 2024 03:52
gemmbench/gemm_bench.py Outdated Show resolved Hide resolved
@saienduri
Copy link
Contributor

saienduri commented Oct 2, 2024

Pretty sure the CI will fail because the workflow file should now have --dtypes instead of --dtype in it: https://github.com/nod-ai/iree-kernel-benchmark/blob/main/.github/workflows/run_bench.yml#L50 for example. Oh it is calling roofline from conv suite, we're good (will change as this propagates to other suites)

@saienduri
Copy link
Contributor

saienduri commented Oct 2, 2024

I can add the same logic for the other two suites so we add this additional layer of filtering what shapes we run in the first place instead of just having filtering for the plots being generated as is currently. Thanks for the PR

@saienduri saienduri self-requested a review October 2, 2024 16:13
@kuhar kuhar merged commit 4b1345b into nod-ai:main Oct 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants