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

[CUBLAS, CUDNN] Support dynamic batch size #7194

Merged
merged 3 commits into from
Jan 4, 2021

Conversation

masahi
Copy link
Member

@masahi masahi commented Jan 4, 2021

Similar to what's done in #6598, updated cublas and cudnn offload to enable them to take on dynamic batch size inputs.

Especially cublas is required for reasonable performance on PyTorch Faster RCNN / MaskRCNN, due to a large, dynamic batch dense layer they have.

please review @zhiics @comaniac @junrushao1994

Copy link
Contributor

@kevinthesun kevinthesun 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 361f508 into apache:main Jan 4, 2021
@comaniac
Copy link
Contributor

comaniac commented Jan 4, 2021

Thanks @masahi @kevinthesun

tkonolige pushed a commit to tkonolige/incubator-tvm that referenced this pull request Jan 11, 2021
* support cudnn and cublas on dynamic batch size

* added test for cublas

* add comment on algo choice
masahi added a commit to masahi/tvm that referenced this pull request Jan 14, 2021
* support cudnn and cublas on dynamic batch size

* added test for cublas

* add comment on algo choice
TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Jan 20, 2021
* support cudnn and cublas on dynamic batch size

* added test for cublas

* add comment on algo choice
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jan 21, 2021
* support cudnn and cublas on dynamic batch size

* added test for cublas

* add comment on algo choice
electriclilies pushed a commit to electriclilies/tvm that referenced this pull request Feb 18, 2021
* support cudnn and cublas on dynamic batch size

* added test for cublas

* add comment on algo choice
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.

3 participants