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 evoformer example #307

Merged
merged 5 commits into from
Dec 4, 2024
Merged

Add evoformer example #307

merged 5 commits into from
Dec 4, 2024

Conversation

harsh-nod
Copy link
Contributor

@harsh-nod harsh-nod commented Dec 3, 2024

This PR adds an e2e test for the evoformer for
specific shapes and dtypes. It also adds support
for bf16 types.

@harsh-nod harsh-nod force-pushed the evo2 branch 4 times, most recently from 6b096f9 to b2827b9 Compare December 3, 2024 06:01
This PR adds an e2e test for the evoformer for
specific shapes and dtypes. It also adds support
for bf16 types.

Signed-off-by: Harsh Menon <[email protected]>
Signed-off-by: Harsh Menon <[email protected]>
tests/kernel/wave/wave_evoformer_test.py Outdated Show resolved Hide resolved
tests/kernel/wave/wave_evoformer_test.py Show resolved Hide resolved
iree/turbine/kernel/lang/global_symbols.py Outdated Show resolved Hide resolved
iree/turbine/kernel/lang/__init__.py Show resolved Hide resolved
iree/turbine/kernel/lang/global_symbols.py Outdated Show resolved Hide resolved
Signed-off-by: Harsh Menon <[email protected]>
This will enable us to write bf16 numpy files.

Signed-off-by: Harsh Menon <[email protected]>
Signed-off-by: Harsh Menon <[email protected]>
op_to_thread_sizes: dict[CustomOp, set[frozenset[DimSize]]],
conflicted_ops: set[CustomOp],
target_index_size: frozenset[DimSize],
):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit -> bool

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will change in next PR.

@harsh-nod harsh-nod merged commit d8f0df3 into iree-org:main Dec 4, 2024
7 of 8 checks 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