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

[WIP] debug regression in mul operator with 'big' dimensions - post tract 0.21.5 #1497

Conversation

JulienBalianSonos
Copy link
Contributor

@JulienBalianSonos JulienBalianSonos commented Aug 13, 2024

Regression appeared after tract v0.21.5.

Simple mul operator between an input and a "variable" tensor fail when specific dimensions implied.

Original failing test is with shapes:

  • input(1, 4, 256, 128, 2)
  • variable (1, 256, 1, 1)

we manage to reduce the the problem to

  • input (2, 2, 17, 2)
  • variable (1, 2, 1, 1)

But not further (reducing any dim from here allow exact results).

The problem is not sensible to the values in input tensor, nor parameter,
This is likely a multiplication layout issue.

@JulienBalianSonos JulienBalianSonos changed the title [WIP] debug regression in mul operator with 'big' dimenssions - post tract 0.21.5 [WIP] debug regression in mul operator with 'big' dimensions - post tract 0.21.5 Aug 13, 2024
@emricksinisonos
Copy link
Collaborator

As discussed, this bug was introduced in the Mul operator while adding the uniform/unicast optimisation.
This PR fixes the issue: #1500

@JulienBalianSonos
Copy link
Contributor Author

I confirm after testing: the new PR fixes the issue.

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.

2 participants