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

[AutoBump] Merge with fixes of a54efdbd (needs downstream update, Sep 11) (23) #379

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

mgehre-amd
Copy link
Collaborator

@mgehre-amd mgehre-amd commented Sep 30, 2024

This requires the perm argument of tosa.transpose to be i32, where previously i32 and i64 was allowed. Causes breakage downstream.
Required changes are in downstream PR 13813.

arteen1000 and others added 2 commits September 11, 2024 17:18
----------
Motivation:
----------

Spec conformance. Allows assumptions to be made in TOSA code.

------------
Changes Made:
------------

Add full permutation tensor verification to tosa.TRANSPOSE. Priorly
would not verify that permuted values were between 0 - (rank - 1).

Update tosa.TRANSPOSE perms data type to be strictly i32.

Verify input/output shapes for tosa.TRANSPOSE.

Add verifier to tosa.CONST, with consideration for quantization.

Fix TOSA conformance of tensor type to disallow dimensions with size 0
for ranked tensors, per spec.
This is not the same as rank 0 tensors. Here is an example of a
disallowed tensor: tensor<3x0xi32>. Naturally, this means that the
number of elements in a TOSA tensor will always be greater than 0.

Signed-off-by: Arteen Abrishami <[email protected]>
@mgehre-amd mgehre-amd changed the title [AutoBump] Merge with fixes of a54efdbd (Sep 11) (23) [AutoBump] Merge with fixes of a54efdbd (needs downstream update, Sep 11) (23) Oct 10, 2024
Base automatically changed from bump_to_e55d6f5e to feature/fused-ops December 10, 2024 21:25
@jorickert jorickert merged commit 92cee3f into feature/fused-ops Dec 11, 2024
4 checks passed
@jorickert jorickert deleted the bump_to_a54efdbd branch December 11, 2024 16:36
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.

4 participants