File tree Expand file tree Collapse file tree 6 files changed +5
-21
lines changed
Expand file tree Collapse file tree 6 files changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ def configure_skip_passes(
188188 """
189189 skip_set : set [type ] = set ()
190190
191- config = override_config or self .compile_spec .get_pass_pipeline_config ()
191+ config = override_config or self .compile_spec ._get_pass_pipeline_config ()
192192 logger .debug (f"Skip Config: { config } " )
193193
194194 match config .softmax :
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ def _to_list(self):
211211 )
212212 return compile_spec
213213
214- def get_pass_pipeline_config (self ) -> ArmPassPipelineConfig :
214+ def _get_pass_pipeline_config (self ) -> ArmPassPipelineConfig :
215215 """Returns configuration that controls how the Arm pass pipeline should
216216 behave.
217217
Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ def test_compile_spec_u55_INT():
3232def test_ethos_u55_defaults_to_stable_softmax_u55_INT ():
3333 """Test that EthosUCompileSpec for U55 defaults to STABLE softmax config."""
3434 compile_spec = EthosUCompileSpec ("ethos-u55-128" )
35- pipeline_config = compile_spec .get_pass_pipeline_config ()
35+ pipeline_config = compile_spec ._get_pass_pipeline_config ()
3636 assert pipeline_config .softmax == SoftmaxDecompositionConfig .STABLE
3737
3838
3939def test_ethos_u85_defaults_to_masked_softmax_u85_INT ():
4040 """Test that EthosUCompileSpec for U85 defaults to MASKED softmax config."""
4141 compile_spec = EthosUCompileSpec ("ethos-u85-256" )
42- pipeline_config = compile_spec .get_pass_pipeline_config ()
42+ pipeline_config = compile_spec ._get_pass_pipeline_config ()
4343 assert pipeline_config .softmax == SoftmaxDecompositionConfig .MASKED
4444
4545
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ def filter_tosa_compile_specs(
431431
432432 """
433433
434- pipeline_config = compile_spec .get_pass_pipeline_config ()
434+ pipeline_config = compile_spec ._get_pass_pipeline_config ()
435435 tosa_compile_spec = TosaCompileSpec (compile_spec .tosa_spec )
436436 tosa_compile_spec .set_pass_pipeline_config (pipeline_config )
437437 return (
Original file line number Diff line number Diff line change @@ -78,14 +78,6 @@ def EthosUCompileSpec.get_output_order_workaround(self) -> bool:
7878```
7979Gets whether the output order workaround is being applied.
8080
81- ```python
82- def EthosUCompileSpec.get_pass_pipeline_config(self ) -> executorch.backends.arm.common.pipeline_config.ArmPassPipelineConfig:
83- ```
84- Returns configuration that controls how the Arm pass pipeline should
85- behave.
86-
87- Subclasses may override to tweak defaults for specific targets.
88-
8981```python
9082def EthosUCompileSpec.set_output_order_workaround(self , output_order_workaround: bool ):
9183```
Original file line number Diff line number Diff line change @@ -69,14 +69,6 @@ def VgfCompileSpec.get_output_order_workaround(self) -> bool:
6969```
7070Gets whether the output order workaround is being applied.
7171
72- ``` python
73- def VgfCompileSpec.get_pass_pipeline_config(self ) -> executorch.backends.arm.common.pipeline_config.ArmPassPipelineConfig:
74- ```
75- Returns configuration that controls how the Arm pass pipeline should
76- behave.
77-
78- Subclasses may override to tweak defaults for specific targets.
79-
8072``` python
8173def VgfCompileSpec.set_output_order_workaround(self , output_order_workaround: bool ):
8274```
You can’t perform that action at this time.
0 commit comments