Skip to content

Conversation

@chunnienc
Copy link
Collaborator

@chunnienc chunnienc commented Jan 10, 2023

Fixed the segment faults in matmul wasm backend tests.

The cause of these segment faults is the output buffer's incorrect buffer size - the matmul output of shape [2,1] and [1,2] should be shape [2,2], 4 elements there.

After this PR, the wasm backend tests should always pass without remote build.

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

@chunnienc chunnienc marked this pull request as ready for review January 10, 2023 06:12
Copy link
Collaborator

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

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

awesome, thank you for fixing. funny how this does not fail on the CI machine. :lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @mattsoulanille)

Copy link
Member

@mattsoulanille mattsoulanille left a comment

Choose a reason for hiding this comment

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

Sorry, clicked the wrong button!

That reason for failure makes perfect sense. Thanks for the fix!

@mattsoulanille mattsoulanille merged commit 2f8d736 into tensorflow:master Jan 10, 2023
@chunnienc chunnienc deleted the matmul-segfault branch January 10, 2023 20:00
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