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

Question about rank-0 tensors + Vector dialect #3029

Open
banach-space opened this issue Dec 15, 2024 · 2 comments
Open

Question about rank-0 tensors + Vector dialect #3029

banach-space opened this issue Dec 15, 2024 · 2 comments

Comments

@banach-space
Copy link

Hi folks,

I'm new to onnx-mlir, so please bear with me.

Does onnx-mlir have an opinion on rank-0 "tensors"? We've been discussing 0-D vectors in the Vector dialect (used by Triton-CPU), and I want to ensure we’re not overlooking any critical use cases:

Any input would be greatly appreciated (or even better, feedback directly in the Discourse thread. 😊). Pointers on the usage of Vector dialect within onnx-mlir would be particular helpful.

Thank you!

-Andrzej

@AlexandreEichenberger
Copy link
Collaborator

@banach-space if anything, the confusion between scalar, 0-D vectors, or 1D vector with 1 element is tiresome :-)

@banach-space
Copy link
Author

Agreed! We’re definitely keen to bring some clarity and order to Vector. :)

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

No branches or pull requests

2 participants