Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions backends/cadence/aot/quantizer/patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -1092,9 +1092,6 @@ def fuse(self, gm: fx.GraphModule, anchor_node: fx.Node) -> fx.Node | None:
return None
mask_shape = list(mask_shape)
# Softmax mask is packed 16 elements per int32 word.
assert (
mask_shape[-1] % 16 == 0
), f"Softmax mask dimension must be divisible by 16, got {mask_shape[-1]}"
mask_shape[-1] = mask_shape[-1] // 16
mask_tensor = insert_node_with_meta(
gm,
Expand Down
Loading