Extend abi-stable nitpick message to all the c stable files (#145862)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/145862
Approved by: https://github.com/ezyang
This commit is contained in:
albanD 2025-01-28 23:22:21 +00:00 committed by PyTorch MergeBot
parent 049f042e52
commit 02dd7a7803

View File

@ -5,7 +5,8 @@
- 'aten/src/ATen/native/native_functions.yaml' - 'aten/src/ATen/native/native_functions.yaml'
- markdown: | - markdown: |
## Attention! torch/csrc/inductor/aoti_torch/c/shim.h was changed ## Attention! PyTorch one of the C-stable API file was changed
You MUST NOT change existing function declarations in this, as this header defines a stable C ABI. If you need to change the signature for a function, introduce a new v2 version of the function and modify code generation to target the new version of the function. You MUST NOT change existing function declarations in this, as this header defines a stable C ABI. If you need to change the signature for a function, introduce a new v2 version of the function and modify code generation to target the new version of the function.
pathFilter: pathFilter:
- 'torch/csrc/inductor/aoti_torch/c/shim.h' - 'torch/csrc/inductor/aoti_torch/c/*'
- 'torch/csrc/inductor/aoti_torch/generated/*'