From fecddb48f81ef70939b3027ac9ea55ffdd545cb9 Mon Sep 17 00:00:00 2001 From: Sahan Paliskara Date: Thu, 2 Feb 2023 09:41:11 -0800 Subject: [PATCH] match pybind with pytorch core and remove inductor test [ghstack-poisoned] --- multipy/runtime/test_compat.py | 16 ++++++++-------- multipy/runtime/third-party/pybind11 | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/multipy/runtime/test_compat.py b/multipy/runtime/test_compat.py index bbf234c7..600502c8 100644 --- a/multipy/runtime/test_compat.py +++ b/multipy/runtime/test_compat.py @@ -47,17 +47,17 @@ def fn(x, y): c_fn = torch.compile(fn, backend="ofi") c_fn(torch.randn(10), torch.randn(10)) - def test_torchdynamo_inductor(self): + # def test_torchdynamo_inductor(self): - torch._dynamo.reset() + # torch._dynamo.reset() - def fn(x, y): - a = torch.cos(x) - b = torch.sin(y) - return a + b + # def fn(x, y): + # a = torch.cos(x) + # b = torch.sin(y) + # return a + b - c_fn = torch.compile(fn) - c_fn(torch.randn(10), torch.randn(10)) + # c_fn = torch.compile(fn) + # c_fn(torch.randn(10), torch.randn(10)) if __name__ == "__main__": diff --git a/multipy/runtime/third-party/pybind11 b/multipy/runtime/third-party/pybind11 index aa304c9c..80dc998e 160000 --- a/multipy/runtime/third-party/pybind11 +++ b/multipy/runtime/third-party/pybind11 @@ -1 +1 @@ -Subproject commit aa304c9c7d725ffb9d10af08a3b34cb372307020 +Subproject commit 80dc998efced8ceb2be59756668a7e90e8bef917