From 52fa414602c5393e8d480414bfd4ba87fe389d32 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 030ba810a5f..8e45a8fab12 100644 --- a/test/dynamo/test_dynamo.py +++ b/test/dynamo/test_dynamo.py @@ -573,7 +573,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)