Skip to content

Commit 4628b2b

Browse files
Revert "Arm backend: Add static public API manifest for 1.6 (pytorch#24290)" (pytorch#24329)
This reverts commit 5c1112c. The snapshot includes VGF mutable buffer aliasing from main, which is absent from release/1.6. Replace it with the release branch snapshot in a follow-up commit. AI-assisted-by: Codex Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
1 parent 87d6190 commit 4628b2b

1 file changed

Lines changed: 2 additions & 100 deletions

File tree

backends/arm/public_api_manifests/api_manifest_1_6.toml renamed to backends/arm/public_api_manifests/api_manifest_1_4.toml

Lines changed: 2 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ signature = "EthosUBackend.preprocess(edge_program: torch.export.exported_progra
1818

1919
[python.EthosUCompileSpec]
2020
kind = "class"
21-
signature = "EthosUCompileSpec(target: str, system_config: str | None = None, memory_mode: str | None = None, extra_flags: list[str] | None = None, config_ini: str | None = 'Arm/vela.ini', external_block_placements: executorch.backends.arm.ethosu.compile_spec.VelaExternalBlockPlacements | None = None, max_scratch_size: int | None = None)"
21+
signature = "EthosUCompileSpec(target: str, system_config: str | None = None, memory_mode: str | None = None, extra_flags: list[str] | None = None, config_ini: str | None = 'Arm/vela.ini')"
2222

2323
[python.EthosUCompileSpec.DebugMode]
2424
kind = "enum"
@@ -60,10 +60,6 @@ signature = "EthosUPartitioner.partition(self, exported_program: torch.export.ex
6060
kind = "function"
6161
signature = "EthosUPartitioner.register_custom_partition_op(self, op: torch._ops.OpOverload) -> None"
6262

63-
[python.EthosUPartitioner.transform_for_pre_decomposition]
64-
kind = "function"
65-
signature = "EthosUPartitioner.transform_for_pre_decomposition(self, exported_program: torch.export.exported_program.ExportedProgram) -> torch.export.exported_program.ExportedProgram"
66-
6763
[python.EthosUQuantizer]
6864
kind = "class"
6965
signature = "EthosUQuantizer(compile_spec: 'EthosUCompileSpec', use_composable_quantizer: 'bool' = True) -> 'None'"
@@ -96,38 +92,6 @@ signature = "EthosUQuantizer.transform_for_annotation(self, model: 'GraphModule'
9692
kind = "function"
9793
signature = "EthosUQuantizer.validate(self, model: 'GraphModule') -> 'None'"
9894

99-
[python.VelaExternalBlockPlacements]
100-
kind = "class"
101-
signature = "VelaExternalBlockPlacements(cmd_data: str | None = None, weight_data: str | None = None) -> None"
102-
103-
[python.VelaExternalBlockPlacements.__delattr__]
104-
kind = "function"
105-
signature = "VelaExternalBlockPlacements.__delattr__(self, name)"
106-
107-
[python.VelaExternalBlockPlacements.__eq__]
108-
kind = "function"
109-
signature = "VelaExternalBlockPlacements.__eq__(self, other)"
110-
111-
[python.VelaExternalBlockPlacements.__hash__]
112-
kind = "function"
113-
signature = "VelaExternalBlockPlacements.__hash__(self)"
114-
115-
[python.VelaExternalBlockPlacements.__post_init__]
116-
kind = "function"
117-
signature = "VelaExternalBlockPlacements.__post_init__(self) -> None"
118-
119-
[python.VelaExternalBlockPlacements.__repr__]
120-
kind = "function"
121-
signature = "VelaExternalBlockPlacements.__repr__(self)"
122-
123-
[python.VelaExternalBlockPlacements.__setattr__]
124-
kind = "function"
125-
signature = "VelaExternalBlockPlacements.__setattr__(self, name, value)"
126-
127-
[python.VelaExternalBlockPlacements.to_block_placements]
128-
kind = "function"
129-
signature = "VelaExternalBlockPlacements.to_block_placements(self) -> dict[str, str]"
130-
13195
[python.VgfBackend]
13296
kind = "class"
13397
signature = "VgfBackend()"
@@ -138,7 +102,7 @@ signature = "VgfBackend.preprocess(edge_program: torch.export.exported_program.E
138102

139103
[python.VgfCompileSpec]
140104
kind = "class"
141-
signature = "VgfCompileSpec(tosa_spec: executorch.backends.arm.tosa.specification.TosaSpecification | str | None = None, compiler_flags: list[str] | None = None, emit_debug_info: bool = False, alias_buffer_mutations: bool = False)"
105+
signature = "VgfCompileSpec(tosa_spec: executorch.backends.arm.tosa.specification.TosaSpecification | str | None = None, compiler_flags: list[str] | None = None)"
142106

143107
[python.VgfCompileSpec.DebugMode]
144108
kind = "enum"
@@ -184,10 +148,6 @@ signature = "VgfPartitioner.partition(self, exported_program: torch.export.expor
184148
kind = "function"
185149
signature = "VgfPartitioner.register_custom_partition_op(self, op: torch._ops.OpOverload) -> None"
186150

187-
[python.VgfPartitioner.transform_for_pre_decomposition]
188-
kind = "function"
189-
signature = "VgfPartitioner.transform_for_pre_decomposition(self, exported_program: torch.export.exported_program.ExportedProgram) -> torch.export.exported_program.ExportedProgram"
190-
191151
[python.VgfQuantizer]
192152
kind = "class"
193153
signature = "VgfQuantizer(compile_spec: 'VgfCompileSpec', use_composable_quantizer: 'bool' = True) -> 'None'"
@@ -227,61 +187,3 @@ signature = "get_symmetric_a16w8_quantization_config(is_per_channel: 'bool' = Tr
227187
[python.get_symmetric_quantization_config]
228188
kind = "function"
229189
signature = "get_symmetric_quantization_config(is_per_channel: 'bool' = True, is_qat: 'bool' = False, is_dynamic: 'bool' = False, act_qmin: 'int' = -128, act_qmax: 'int' = 127, weight_qmin: 'int' = -127, weight_qmax: 'int' = 127, eps: 'float' = 1.52587890625e-05) -> 'QuantizationConfig'"
230-
231-
[cmake]
232-
233-
[cmake.arm_runner_add_minimal_executable]
234-
kind = "function"
235-
signature = "arm_runner_add_minimal_executable(*, TARGET, SOURCE, OPS_PREFIX, COMPILE_DEFINITIONS=())"
236-
237-
[cmake.arm_runner_add_standalone_executorch]
238-
kind = "macro"
239-
signature = "arm_runner_add_standalone_executorch()"
240-
241-
[cmake.arm_runner_configure_ethos_u_platform]
242-
kind = "function"
243-
signature = "arm_runner_configure_ethos_u_platform(*, SDK_PATH, SYSTEM_CONFIG, MEMORY_MODE)"
244-
245-
[cmake.arm_runner_configure_linker_script]
246-
kind = "function"
247-
signature = "arm_runner_configure_linker_script(*, TARGET, SYSTEM_CONFIG, OUTPUT_NAME=None)"
248-
249-
[cmake.arm_runner_configure_model]
250-
kind = "function"
251-
signature = "arm_runner_configure_model(*, TARGET, PTE_FILE=None, MODEL_PTE_ADDR=None, MODEL_PTE_SIZE=None, PUBLIC=False)"
252-
253-
[cmake.arm_runner_configure_runtime_output]
254-
kind = "function"
255-
signature = "arm_runner_configure_runtime_output(TARGET_NAME, FALLBACK_DIR)"
256-
257-
[cmake.arm_runner_create_default_selected_ops_libs]
258-
kind = "function"
259-
signature = "arm_runner_create_default_selected_ops_libs(*, PREFIX, SUFFIX=None, OP_LIST=None, OPS_FROM_MODEL=None, DTYPE_SELECTIVE_BUILD=None, OUT_LIBS=None, DEPS=())"
260-
261-
[cmake.arm_runner_create_selected_ops_lib]
262-
kind = "function"
263-
signature = "arm_runner_create_selected_ops_lib(*, LIB_NAME, FUNCTIONS_YAML=None, CUSTOM_OPS_YAML=None, OP_LIST=None, OPS_FROM_MODEL=None, DTYPE_SELECTIVE_BUILD=None, KERNEL_LIBS=(), DEPS=(), INCLUDE_ALL_OPS=False, PRIM_OPS=False)"
264-
265-
[cmake.arm_runner_define_cache_options]
266-
kind = "function"
267-
signature = "arm_runner_define_cache_options(*, METHOD_ALLOCATOR_SIZE=None)"
268-
269-
[cmake.arm_runner_link_minimal_specs]
270-
kind = "function"
271-
signature = "arm_runner_link_minimal_specs(TARGET_NAME)"
272-
273-
[cmake.arm_runner_link_registration_libraries]
274-
kind = "function"
275-
signature = "arm_runner_link_registration_libraries(*, TARGET, SCOPE=None, BASE_LIBS=(), REGISTRATION_LIBS=(), NORMAL_LIBS=(), SUPPRESS_LIBS=())"
276-
277-
[cmake.arm_runner_require_baremetal_targets]
278-
kind = "function"
279-
signature = "arm_runner_require_baremetal_targets()"
280-
281-
[cmake.arm_runner_require_python]
282-
kind = "macro"
283-
signature = "arm_runner_require_python()"
284-
285-
[cmake.arm_runner_validate_model_source]
286-
kind = "function"
287-
signature = "arm_runner_validate_model_source(*, ALLOW_SEMIHOSTING=False)"

0 commit comments

Comments
 (0)