diff --git a/tt_torch/dynamo/backend.py b/tt_torch/dynamo/backend.py index 40830aad..bf7d1bc5 100644 --- a/tt_torch/dynamo/backend.py +++ b/tt_torch/dynamo/backend.py @@ -425,7 +425,7 @@ def __call__(self, *inputs): # Handle scalar inputs. if not hasattr(input, "dtype"): assert ( - type(a) is not bool + type(input) is not bool ), "Conversion for scalar boolean is not supported." new_inputs = new_inputs + ((input),) continue