mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Use global variables to register the return_types namedtuples (#108832)
Fixes #69221. Builds on top of #107000, fixing the buck build issue linked [here](https://github.com/pytorch/pytorch/pull/107000#issuecomment-1708857375). Pull Request resolved: https://github.com/pytorch/pytorch/pull/108832 Approved by: https://github.com/zou3519
This commit is contained in:
committed by
PyTorch MergeBot
parent
6065e7a97c
commit
00908475e6
@ -146,6 +146,7 @@ def get_generate_code_bin_outs():
|
||||
"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.h": ["autograd/generated/python_return_types.h"],
|
||||
"autograd/generated/python_return_types.cpp": ["autograd/generated/python_return_types.cpp"],
|
||||
"autograd/generated/python_sparse_functions.cpp": ["autograd/generated/python_sparse_functions.cpp"],
|
||||
"autograd/generated/python_special_functions.cpp": ["autograd/generated/python_special_functions.cpp"],
|
||||
|
Reference in New Issue
Block a user