From 8b7343b95078a434568d8eafb9285ff3f2dcee77 Mon Sep 17 00:00:00 2001 From: chenyu Date: Wed, 4 Feb 2026 14:24:10 -0500 Subject: [PATCH] clean up is_realized [pr] (#14538) base cannot be Ops.MULTI since MULTI is a view now --- tinygrad/uop/ops.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tinygrad/uop/ops.py b/tinygrad/uop/ops.py index c07d13dd1b..44746dfcce 100644 --- a/tinygrad/uop/ops.py +++ b/tinygrad/uop/ops.py @@ -671,8 +671,7 @@ class UOp(OpMixin, metaclass=UOpMetaClass): # NOTE: this is used by the JIT to determine which inputs we capture return self.buffer if self.buffer.is_allocated() else None @property - def is_realized(self) -> bool: - return all(x.base.realized is not None for x in self.base.src) if self.base.op is Ops.MULTI else self.base.realized is not None + def is_realized(self) -> bool: return self.base.realized is not None # *** uop Variable stuff ***