Skip to content

Conversation

@monklof
Copy link
Contributor

@monklof monklof commented Feb 22, 2021

cc @kevinthesun @zhiics

Thanks for @comaniac 's advices, this is the merged pr for #7491 #7492 #7493 #7494

@monklof monklof changed the title [Frontend,TOPI] Improve dynamic for BatchMatmul and Dense [Frontend,TOPI] Improve dynamism for BatchMatmul and Dense Feb 22, 2021
Copy link
Contributor

@comaniac comaniac left a 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.

monklof and others added 3 commits February 26, 2021 11:04
Co-authored-by: Cody Yu <comaniac0422@gmail.com>
Co-authored-by: Cody Yu <comaniac0422@gmail.com>
@comaniac comaniac added the status: need update need update based on feedbacks label Mar 2, 2021
Copy link
Contributor

@comaniac comaniac left a 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.

@monklof
Copy link
Contributor Author

monklof commented Mar 17, 2021

Also please add test cases to cover your changes.

@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)

Copy link
Contributor

@comaniac comaniac left a comment

Choose a reason for hiding this comment

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

LGTM

@comaniac comaniac merged commit c871784 into apache:main Mar 17, 2021
@comaniac
Copy link
Contributor

Thanks @monklof

@comaniac comaniac removed status: need review status: need update need update based on feedbacks labels Mar 17, 2021
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
* [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>
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request May 11, 2021
* [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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants