diff --git a/torch/_inductor/runtime/hints.py b/torch/_inductor/runtime/hints.py index 0a52cf492a0ed..30747c79e9ae1 100644 --- a/torch/_inductor/runtime/hints.py +++ b/torch/_inductor/runtime/hints.py @@ -52,7 +52,9 @@ def AttrsDescriptorWrapper( } # Instantiate AttrsDescriptor with the prepared arguments - res = AttrsDescriptor.from_dict(kwargs) + res = AttrsDescriptor.from_dict( + {"arg_properties": kwargs, "cls": AttrsDescriptor.__name__} + ) assert res.property_values["tt.divisibility"] == 16 assert res.property_values["tt.equal_to"] == 1 return res