From 4f5f2c1a9e09ff09947da240ac3209e9dd13a5a3 Mon Sep 17 00:00:00 2001 From: George Gensure Date: Fri, 23 Sep 2022 23:07:01 +0000 Subject: [PATCH] Add torch.nested to ovrsource (#85384) Summary: Prevent a build break for ovrsource dependency. Stacked changes will help to prevent further regressions in this target. Test Plan: Build //arvr/projects/codec_avatar/pylab/examples/demos/pica:pica. Without this change, it will fail on linking torch with an undefined symbol. With it, the build will proceed. Differential Revision: D39669887 Pull Request resolved: https://github.com/pytorch/pytorch/pull/85384 Approved by: https://github.com/kit1980 --- pt_template_srcs.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/pt_template_srcs.bzl b/pt_template_srcs.bzl index 7d8dfd53d37..feb14818700 100644 --- a/pt_template_srcs.bzl +++ b/pt_template_srcs.bzl @@ -144,6 +144,7 @@ def get_generate_code_bin_outs(): "autograd/generated/python_functions_3.cpp": ["autograd/generated/python_functions_3.cpp"], "autograd/generated/python_functions_4.cpp": ["autograd/generated/python_functions_4.cpp"], "autograd/generated/python_linalg_functions.cpp": ["autograd/generated/python_linalg_functions.cpp"], + "autograd/generated/python_nested_functions.cpp": ["autograd/generated/python_nested_functions.cpp"], "autograd/generated/python_nn_functions.cpp": ["autograd/generated/python_nn_functions.cpp"], "autograd/generated/python_return_types.cpp": ["autograd/generated/python_return_types.cpp"], "autograd/generated/python_sparse_functions.cpp": ["autograd/generated/python_sparse_functions.cpp"],