Move c10/macros/Export.h to torch/standalone (#154850)

Summary: The goal of this PR and future follow-up PRs is to group a set of header files required by AOTInductor Standalone in a separate directory, ensuring they are implemented in a header-only manner.

Test Plan: CI

Bifferential Revision: D75756619

Pull Request resolved: https://github.com/pytorch/pytorch/pull/154850
Approved by: https://github.com/janeyx99
This commit is contained in:
Bin Bao
2025-06-03 06:18:59 +00:00
committed by PyTorch MergeBot
parent a7e496a896
commit 13044b2b04
13 changed files with 134 additions and 88 deletions

View File

@ -945,6 +945,7 @@ def define_buck_targets(
[
("torch/csrc/api/include", "torch/**/*.h"),
("", "torch/csrc/**/*.h"),
("", "torch/standalone/**/*.h"),
("", "torch/script.h"),
("", "torch/library.h"),
("", "torch/custom_class.h"),