fix ShapeTracker spec for const [pr] (#8791)

This commit is contained in:
qazal
2025-01-28 12:53:36 -05:00
committed by GitHub
parent 801ec9e697
commit 3417bc1814
3 changed files with 9 additions and 8 deletions

View File

@@ -2342,6 +2342,8 @@ class TestTensorUOpSpec(unittest.TestCase):
t = graph_rewrite(a.lazydata.sink(), remove_movement_ops+merge_views)
create_schedule_with_vars(t)
# NOTE: changing symbolic CONST VIEWs is not allowed
@unittest.expectedFailure
def test_symbolic_shape_ok(self):
a = Tensor.ones(4)
vi = UOp.variable("i", 1, 10).bind(4)