Skip to content

Arm backend: Create ethosu directory #11849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions backends/arm/ethosu/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2025 Arm Limited and/or its affiliates.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
#
# pyre-unsafe

from .backend import EthosUBackend # noqa: F401
from .partitioner import EthosUPartitioner # noqa: F401

__all__ = [
"EthosUBackend",
"EthosUPartitioner",
]
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from executorch.backends.arm.arm_backend import (
is_ethosu,
) # usort: skip
from executorch.backends.arm.ethosu_backend import EthosUBackend
from executorch.backends.arm.ethosu import EthosUBackend
from executorch.backends.arm.tosa_partitioner import TOSAPartitioner
from executorch.exir.backend.compile_spec_schema import CompileSpec
from executorch.exir.backend.partitioner import DelegationSpec
Expand Down
2 changes: 1 addition & 1 deletion backends/arm/test/tester/arm_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
is_ethosu,
is_tosa,
)
from executorch.backends.arm.ethosu_partitioner import EthosUPartitioner
from executorch.backends.arm.ethosu import EthosUPartitioner
from executorch.backends.arm.quantizer import (
EthosUQuantizer,
get_symmetric_quantization_config,
Expand Down
2 changes: 1 addition & 1 deletion docs/source/backends-arm-ethos-u.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The example below demonstrates the lowering processs of a MobileNet V2 model fro
```python
import torch
from executorch.backends.arm.arm_backend import ArmCompileSpecBuilder
from executorch.backends.arm.ethosu_partitioner import EthosUPartitioner
from executorch.backends.arm.ethosu import EthosUPartitioner
from executorch.backends.arm.quantizer.arm_quantizer import (
EthosUQuantizer,
get_symmetric_quantization_config,
Expand Down
2 changes: 1 addition & 1 deletion examples/arm/aot_arm_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
is_tosa,
is_vgf,
)
from executorch.backends.arm.ethosu_partitioner import EthosUPartitioner
from executorch.backends.arm.ethosu import EthosUPartitioner
from executorch.backends.arm.quantizer import (
EthosUQuantizer,
get_symmetric_quantization_config,
Expand Down
2 changes: 1 addition & 1 deletion examples/arm/ethos_u_minimal_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"outputs": [],
"source": [
"import os\n",
"from executorch.backends.arm.ethosu_partitioner import EthosUPartitioner\n",
"from executorch.backends.arm.ethosu import EthosUPartitioner\n",
"from executorch.exir import (\n",
" EdgeCompileConfig,\n",
" ExecutorchBackendConfig,\n",
Expand Down
Loading