Revert "Add a stable TORCH_LIBRARY to C shim (#148124)"

This reverts commit 327e07ac1dc3351bb5f0ad436760b83590c400aa.

Reverted https://github.com/pytorch/pytorch/pull/148124 on behalf of https://github.com/malfet due to Sorry for reverting your PR, but somehow it caused test failures in newly introduced tests, see https://hud.pytorch.org/hud/pytorch/pytorch/main/1?per_page=50&name_filter=pull%20%2F%20linux-focal-cuda12.6-py3.10-gcc11-sm89%20%2F%20test%20(default%2C%201&mergeLF=true ([comment](https://github.com/pytorch/pytorch/pull/148124#issuecomment-2709057833))
This commit is contained in:
PyTorch MergeBot
2025-03-09 20:44:55 +00:00
parent 19a39a7a06
commit 275a7c5dbb
14 changed files with 1 additions and 739 deletions

View File

@ -48,7 +48,6 @@ jit_core_headers = [
"torch/csrc/jit/frontend/schema_type_parser.h",
"torch/csrc/jit/frontend/error_report.h",
"torch/csrc/jit/frontend/tree.h",
"torch/csrc/stable/library.h",
"torch/custom_class.h",
"torch/custom_class_detail.h",
"torch/library.h",