Clean up 'torch.onnx' entries from public API allowlist (#162850)

Clean up entries related to 'torch.onnx' from the allowlist as the apis in onnx are properly configured.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/162850
Approved by: https://github.com/albanD
This commit is contained in:
Justin Chu 2025-09-15 16:14:40 +00:00 committed by PyTorch MergeBot
parent 0826aafa04
commit 9cd54d3443

View File

@ -658,13 +658,6 @@
"Iterable",
"Optional"
],
"torch.onnx": [
"Dict",
"OperatorExportTypes",
"Optional",
"TensorProtoDataType",
"TrainingMode"
],
"torch.overrides": [
"BaseTorchFunctionMode",
"TorchFunctionMode",
@ -2207,21 +2200,6 @@
"Tuple",
"abstractmethod"
],
"torch.onnx.verification": [
"Any",
"Callable",
"Collection",
"Dict",
"FrozenSet",
"List",
"Mapping",
"Number",
"Optional",
"Sequence",
"Set",
"Tuple",
"Union"
],
"torch.quantization.fx": [
"convert",
"fuse",
@ -2685,35 +2663,6 @@
"DeferredMtiaCallError",
"StreamContext"
],
"torch.onnx.symbolic_helper": [
"Any",
"Callable",
"List",
"Literal",
"NoReturn",
"Number",
"Optional",
"Sequence",
"Set",
"Tuple",
"Union"
],
"torch.onnx.symbolic_opset18": [
"amax",
"amin",
"aminmax",
"embedding_bag",
"linalg_vector_norm",
"max",
"maximum",
"min",
"minimum"
],
"torch.onnx.symbolic_opset20": [
"_affine_grid_generator",
"_grid_sampler",
"convert_grid_sample_mode"
],
"torch.utils.data.datapipes.dataframe.dataframe_wrapper": [
"Any",
"Optional"