no fake contiguous
MODIFY
tinygrad/lazy.py
tinygrad/lazy.py
@@ -42,7 +42,7 @@ def _realize_loadops(self:LazyBuffer) -> Tuple[DeviceBuffer, List[DeviceBuffer],
elif self.op.op == LoadOps.CONTIGUOUS:
real_src = self.op.src[0].realize(self.device)
ret = real_src.contiguous()
- return ret, [real_src], LoadOps
+ return ret, [real_src], LoadOps if id(ret) != id(real_src) else None
else:
raise NotImplementedError(f"unknown LoadOp {self.op.op}")

no fake contiguous