We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce3d98b commit febb9a9Copy full SHA for febb9a9
torch/_inductor/codegen/triton.py
@@ -969,8 +969,7 @@ def __init__(
969
# We'll use this to track which masks the variable needs when used for indirect indexing
970
self.mask_vars: OrderedSet[str] = OrderedSet()
971
assert dtype is not None, "TritonCSEVariable must have dtype"
972
- # TODO: uncomment this and fix the few failures left
973
- # assert shape is not None, "TritonCSEVariable must have shape"
+ assert shape is not None, "TritonCSEVariable must have shape"
974
975
def update_on_args(self, name, args, kwargs):
976
for arg in args:
0 commit comments