Skip to content

Commit a17428b

Browse files
committed
[Samsung] Update docs and help text to reflect Exynos 2600 (E9965) support
1 parent a24d3e7 commit a17428b

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

backends/samsung/serialization/compile_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def gen_samsung_backend_compile_spec(
6666
A function to generate an ExecuTorch binary for Samsung Backend.
6767
6868
Attributes:
69-
chipset (str): chipset name in SamsungChipset. For example, E9955(E9965) or E9955(e9965) both work.
69+
chipset (str): chipset name in SamsungChipset. For example, E9955 or E9965 (case-insensitive).
7070
7171
Returns:
7272
CompileSpec: key is COMPILE_OPTION_SCHEMA_NAME, value is serialization binary of fb schema

docs/source/backends/samsung/samsung-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ from executorch.exir import to_edge_transform_and_lower
4747
mobilenet_v2 = models.mobilenetv2.mobilenet_v2(weights=MobileNet_V2_Weights.DEFAULT).eval()
4848
sample_inputs = (torch.randn(1, 3, 224, 224), )
4949

50-
chipset = "E9955"
50+
chipset = "E9955" # or "E9965" for Exynos 2600
5151
compile_specs = [gen_samsung_backend_compile_spec(chipset)]
5252

5353
et_program = to_edge_transform_and_lower(

docs/source/backends/samsung/samsung-partitioner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ from executorch.backends.samsung.serialization.compile_options import (
1616

1717
from executorch.exir import to_edge_transform_and_lower
1818

19-
chipset = "E9955"
19+
chipset = "E9955" # or "E9965" for Exynos 2600
2020
compile_specs = [gen_samsung_backend_compile_spec(chipset)]
2121

2222
et_program = to_edge_transform_and_lower(
@@ -26,4 +26,4 @@ et_program = to_edge_transform_and_lower(
2626
```
2727

2828
At the moment, only `"E9955"` and `"E9965"` are supported as a valid chipset name, which corresponds to
29-
the Exynose 2500 and Exynos 2600 SoC. Support for additional chipsets will be added in the future.
29+
the Exynos 2500 and Exynos 2600 SoC. Support for additional chipsets will be added in the future.

examples/samsung/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ cp -rf ${EXYNOS_AI_LITECORE_PATH}/python/snc_py_api*.so ${PYTHON_TARGET_DIR}
3535

3636
Take `EXECUTORCH_ROOT` as work directory and here is an example for ic3.
3737
```bash
38-
python -m executorch.examples.samsung.aot_compiler --chipset E9955 -m ic3 --output_dir ic3_artifact
38+
python -m executorch.examples.samsung.aot_compiler --chipset E9955 (or E9965) -m ic3 --output_dir ic3_artifact
3939
```
4040

4141
## Execution

examples/samsung/aot_compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"-c",
4545
"--chipset",
4646
required=True,
47-
help="Samsung chipset, i.e. E9955, etc",
47+
help="Samsung chipset, i.e. E9955, E9965, etc",
4848
type=str,
4949
)
5050
parser.add_argument(

examples/samsung/scripts/mobilebert_finetune.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def validate(self, model, val_data_loader):
218218
"-c",
219219
"--chipset",
220220
required=True,
221-
help="Samsung chipset, i.e. E9955, etc",
221+
help="Samsung chipset, i.e. E9955, E9965, etc",
222222
type=str,
223223
)
224224
parser.add_argument(

0 commit comments

Comments
 (0)