Allow torch/csrc/deploy/interpreter/Optional.hpp to be allowed into the wheel distribution (#74643)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74643

Previously `torch/csrc/deploy/interpreter/Optional.hpp` wasn't getting included in the wheel distribution created by `USE_DEPLOY=1 python setup.py bdist_wheel`, this pr fixes that

Test Plan: Imported from OSS

Reviewed By: d4l3k

Differential Revision: D35094459

Pulled By: PaliC

fbshipit-source-id: 50aea946cc5bb72720b993075bd57ccf8377db30
(cherry picked from commit 6ad5d96594f40af3d49d2137c2b3799a2d493b36)
This commit is contained in:
Sahan Paliskara
2022-03-23 17:42:55 -07:00
committed by PyTorch MergeBot
parent d7a857b0c0
commit 238d01ec90
2 changed files with 3 additions and 2 deletions

View File

@ -1019,7 +1019,8 @@ if __name__ == '__main__':
'include/torch/csrc/autograd/utils/*.h',
'include/torch/csrc/cuda/*.h',
'include/torch/csrc/deploy/*.h',
'include/torch/csrc/deploy/interpreter/interpreter_impl.h',
'include/torch/csrc/deploy/interpreter/*.h',
'include/torch/csrc/deploy/interpreter/*.hpp',
'include/torch/csrc/distributed/c10d/exception.h',
'include/torch/csrc/jit/*.h',
'include/torch/csrc/jit/backends/*.h',