Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiWang1999 committed Aug 7, 2024
1 parent e7c805a commit 7a16e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitblas/ops/general_matmul/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def __initialize_propagate(self, propagate_a: Optional[TransformKind],
self.optimize_stratety == OptimizeStrategy.ContigousBatching
# TODO(lei): Should add ladder stage 3 inverse layout propagation in the expr.
# And recover the layout in the schedule template.
and self.M != 1 and 1 not in self.M):
and (self.M != 1 or (isinstance(self.M, Tuple) and 1 not in self.M))):
object.__setattr__(self, "propagate_b", TransformKind.LDMatrixTransform)

# TODO(lei): This is a limitation arose by pytorch and llvm
Expand Down

0 comments on commit 7a16e5a

Please sign in to comment.