Skip to content

Conversation

@sommerlukas
Copy link
Contributor

Test attention with an i1 mask using the packed_storage encoding attribute instead of the experimental flag to avoid extending i1 to i8 during compilation.

Currently the test needs to drop the unit extent dimension compared to the other attention tests due to problems with FoldUnitExtentDims.

Signed-off-by: Lukas Sommer [email protected]

Implement the SerializableAttr interface method to check compatibility
with other encodings for the packed_storage encoding.

Signed-off-by: Lukas Sommer <[email protected]>
Extend the EncodeDeviceTensors pass to handle tensors with the packed_storage attribute attached.

Signed-off-by: Lukas Sommer <[email protected]>
Extend the EncodeHostTensors pass to handle tensors with the packed_storage attribute attached.

Signed-off-by: Lukas Sommer <[email protected]>
Drop encoding attributes that do not need further materialization during Codegen after type propagation has used the information.

This happens as a second phase in the TypePropagationPass.

Signed-off-by: Lukas Sommer <[email protected]>
Signed-off-by: Lukas Sommer <[email protected]>
Test attention with an `i1` mask using the `packed_storage` encoding attribute instead of the experimental flag to avoid extending `i1` to `i8` during compilation.

Currently the test needs to drop the unit extent dimension compared to the other attention tests due to problems with FoldUnitExtentDims.

Signed-off-by: Lukas Sommer <[email protected]>
Signed-off-by: Lukas Sommer <[email protected]>
@sommerlukas sommerlukas self-assigned this Nov 25, 2025
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.

1 participant