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

Add rudimentary support for "arbitrary" dimensions in MultiThreshold #92

Merged

Conversation

iksnagreb
Copy link
Contributor

This allows node execution of MultiThreshold operators with arbitrary number of dimensions, as long as the channel dimension is last. This is necessary to run some verification steps of attention operators which, at least for some intermediate steps, have 3 dimensional data layouts.

This does not change the behavior of execution on the already existing 2d and 4d data layouts.

This allows node execution of MultiThreshold operators with arbitrary
number of dimensions, as long as the channel dimension is last. This is
necessary to run some verification steps of attention operators which,
at least for some intermediate steps, have 3 dimensional data layouts.

This does not change the behavior of execution on the already existing
2d and 4d data layouts.
@maltanar
Copy link
Collaborator

Thanks @iksnagreb . While I agree this isn't the ideal solution, it extends the flexibility a bit without breaking things. I'll merge this in and we can discuss a longer-term solution for MultiThreshold in your newer PR.

@maltanar maltanar merged commit cf640b9 into fastmachinelearning:main Dec 17, 2024
5 checks passed
@maltanar maltanar added this to the v0.4.0 milestone Dec 20, 2024
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