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

[TOPI] Fix nn.pool*d issue with 'vectorize' function and add unit tests #8541

Merged
merged 5 commits into from
Jul 29, 2021

Conversation

MarioPeric-SiMa-ai
Copy link
Contributor

This PR should fix the issue that is preventing 1D and 3D pooling functions to be used with non-default layouts on x86 architecture. Unit tests were added as well to confirm that this is working since there were not test to cover this case.

@MarioPeric-SiMa-ai
Copy link
Contributor Author

cc @JoeyChou-SiMa-ai @comaniac

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. Please fix the linting.
You should use black -l 100 <file> to format the changed files.

@jcf94 jcf94 changed the title Fix issue with 'vectorize' function and add unit tests [TOPI] Fix nn.pool*d issue with 'vectorize' function and add unit tests Jul 26, 2021
Copy link
Contributor

@jcf94 jcf94 left a comment

Choose a reason for hiding this comment

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

Thanks! @MarioPeric-SiMa-ai There're still some CI issues in thi PR need to be fixed, I think we can merge this once CI has been cleaned.

@MarioPeric-SiMa-ai
Copy link
Contributor Author

@jcf94 I've fixed issues with linter, but I'm not sure what's wrong now. docs: GPU is failing, but only message I'm seeing is /home/jenkins. Any idea what might be wrong?

@jcf94
Copy link
Contributor

jcf94 commented Jul 27, 2021

@jcf94 I've fixed issues with linter, but I'm not sure what's wrong now. docs: GPU is failing, but only message I'm seeing is /home/jenkins. Any idea what might be wrong?

Oh, I think that's not your fault. Seems recently we got some trouble with the CI machine. I also have several PRs blocked by the CI issue.

Related: #8552

@masahi masahi merged commit 83ce7fe into apache:main Jul 29, 2021
ylc pushed a commit to ylc/tvm that referenced this pull request Sep 29, 2021
…ests (apache#8541)

* Fix issue in 'vectorize' function for 1D and 3D tensors

* Add pooling tests for channel last layouts

* Add support for more general layouts in "poolnd" implementation

* Reformat with 'black'

* Fix lint issues
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
…ests (apache#8541)

* Fix issue in 'vectorize' function for 1D and 3D tensors

* Add pooling tests for channel last layouts

* Add support for more general layouts in "poolnd" implementation

* Reformat with 'black'

* Fix lint issues
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.

4 participants