-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[Frontend,TOPI] Improve dynamism for BatchMatmul and Dense #7496
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
Conversation
…bator-tvm into tmp
138f478 to
ea41b92
Compare
comaniac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also cc @kevinthesun @yongwww for checking the tensorflow frontend changes.
Co-authored-by: Cody Yu <comaniac0422@gmail.com>
Co-authored-by: Cody Yu <comaniac0422@gmail.com>
comaniac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please add test cases to cover your changes.
Co-authored-by: Cody Yu <comaniac0422@gmail.com>
@comaniac Thanks a lot! Test case has been added for the frontend's changes, and the existing test cases can hit the code changes in TOPI(dense and batch_matmul) |
comaniac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Thanks @monklof |
* [TOPI] Dense cuda schedule support dynamic dimension * [TOPI] batch_matmul cublas te computation support dynamism * [Frontend] tensorflow frontend: dynamic support for BatchMatmul * [TOPI] nn batch_matmul te computation support dynamism * fix CI * Update python/tvm/topi/nn/batch_matmul.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> * Update python/tvm/topi/cuda/batch_matmul.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> * remove concat_dynamic_shape function * update topi dense op integer checking * fix ci * Update python/tvm/relay/frontend/tensorflow.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> * Update batch_matmul.py * [Frontend] add test for batch_matmul in dynamic shaped case Co-authored-by: Cody Yu <comaniac0422@gmail.com>
* [TOPI] Dense cuda schedule support dynamic dimension * [TOPI] batch_matmul cublas te computation support dynamism * [Frontend] tensorflow frontend: dynamic support for BatchMatmul * [TOPI] nn batch_matmul te computation support dynamism * fix CI * Update python/tvm/topi/nn/batch_matmul.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> * Update python/tvm/topi/cuda/batch_matmul.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> * remove concat_dynamic_shape function * update topi dense op integer checking * fix ci * Update python/tvm/relay/frontend/tensorflow.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> * Update batch_matmul.py * [Frontend] add test for batch_matmul in dynamic shaped case Co-authored-by: Cody Yu <comaniac0422@gmail.com>
cc @kevinthesun @zhiics
Thanks for @comaniac 's advices, this is the merged pr for #7491 #7492 #7493 #7494