From 3f30293d808156a9f8f579a164c12ac127802943 Mon Sep 17 00:00:00 2001 From: Yukio Siraichi Date: Mon, 4 Mar 2024 10:04:54 -0300 Subject: [PATCH] Fix typo. --- test/dynamo/test_dynamo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dynamo/test_dynamo.py b/test/dynamo/test_dynamo.py index 34a37c710cc..d6003259c30 100644 --- a/test/dynamo/test_dynamo.py +++ b/test/dynamo/test_dynamo.py @@ -637,7 +637,7 @@ class DynamoOperationsTests(test_utils.XlaTestCase): def test_new_with_sizes(self): def foo(x): - return x.new(*x.sizes()) + x + return x.new(*x.size()) + x optfoo = torch.compile(backend="openxla")(foo)