Skip to content

Conversation

@Hzfengsy
Copy link
Member

The current pass would generate multiple PrimFuncs even if they are structural equal, which is because bb.update_func will not check whether the new func is already in the list.

This PR apply dlight at the end of the dispatching instead of after every function.

cc @yongwww @vinx13

@github-actions github-actions bot requested review from vinx13 and yongwww April 18, 2024 07:03
@Hzfengsy Hzfengsy force-pushed the fix_dispatch_sort_duplicate_func branch 2 times, most recently from aaa7b45 to e8a380c Compare April 19, 2024 05:42
The current pass would generate multiple PrimFuncs even if they are
structural equal, which is because `bb.update_func` will not check
whether the new func is already in the list.

This PR apply dlight at the end of the dispatching instead of after
every function.
@Hzfengsy Hzfengsy force-pushed the fix_dispatch_sort_duplicate_func branch from e8a380c to f386132 Compare April 19, 2024 07:41
@tqchen tqchen merged commit 2978427 into apache:main Apr 19, 2024
@Hzfengsy Hzfengsy deleted the fix_dispatch_sort_duplicate_func branch May 10, 2024 06:47
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