From 48ca6d888dfaa6eb745bca4e59cc4f0356a623aa Mon Sep 17 00:00:00 2001 From: George Hotz Date: Sun, 10 Aug 2025 14:36:35 -0700 Subject: [PATCH] was dumb --- tinygrad/uop/ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinygrad/uop/ops.py b/tinygrad/uop/ops.py index b916f4529c..23d92202d7 100644 --- a/tinygrad/uop/ops.py +++ b/tinygrad/uop/ops.py @@ -144,7 +144,7 @@ class UOp(MathTrait, metaclass=UOpMetaClass): if self.op in GroupOp.Movement: return unwrap(self.src[0].st).mop(self.op, self.arg) # CONST with a DEVICE has a shape of () if self.op is Ops.CONST and len(self.src) and self.src[0].op is Ops.DEVICE: return ShapeTracker.from_shape(()) - if self.op is Ops.CONTIGUOUS and self.tag == 1: return ShapeTracker.from_shape(self.arg) + #if self.op is Ops.CONTIGUOUS and self.tag == 1: return ShapeTracker.from_shape(self.arg) # BufferOps and ASSIGN flow ShapeTracker from a direct edge if self.op in {Ops.STORE, Ops.ASSIGN, Ops.LOAD}: return self.src[0].st if self.op in GroupOp.Buffer: return views[0] if (views:=[x.st for x in self.src if x.op is Ops.VIEW]) else None