Skip to content

Commit 425b918

Browse files
committed
NXP backend: Bump Neutron Converter version to 25.06
1 parent 6eb7b9c commit 425b918

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

backends/nxp/TARGETS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ python_library(
3737
name = "neutron_sdk",
3838
srcs = glob(["backend/**/*.py"]),
3939
deps = [
40-
"fbsource//third-party/pypi/neutron_convertor_SDK_25_03:neutron_convertor_SDK_25_03",
40+
"fbsource//third-party/pypi/neutron_convertor_SDK_25_06:neutron_convertor_SDK_25_06",
4141
],
4242
)
4343

backends/nxp/nxp_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def neutron_compile_spec(
6464
Args:
6565
config: Neutron accelerator configuration, e.g. "imxrt700"
6666
neutron_converter_flavor: Flavor of the neutron-converter module to use. Neutron-converter module named "
67-
"'neutron_converter_SDK_25_03' has flavor 'SDK_25_03'.
67+
"'neutron_converter_SDK_25_06' has flavor 'SDK_25_06'.
6868
extra_flags: Extra flags for the Neutron compiler
6969
operators_not_to_delegate: List of operators that should not be delegated
7070
"""

backends/nxp/requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ tensorflow==2.18.0
33
pytest-mock
44
tflite
55
GvGen
6-
neutron_converter_SDK_25_03
6+
neutron_converter_SDK_25_06

backends/nxp/tests/executorch_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def to_quantized_edge_program(
3939
input_shapes: tuple[int] | list[tuple[int]],
4040
operators_not_to_delegate: list[str] = None,
4141
target="imxrt700",
42-
neutron_converter_flavor="SDK_25_03",
42+
neutron_converter_flavor="SDK_25_06",
4343
remove_quant_io_ops=False,
4444
) -> EdgeProgramManager:
4545
if isinstance(input_shapes, list):

backends/nxp/tests/test_neutron_converter_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_conv2d_neutron_conversion__default_flavor():
3030

3131
neutron_converter_manager = NeutronConverterManager()
3232
neutron_model = neutron_converter_manager.convert(
33-
tflite_model, "imxrt700", "SDK_25_03"
33+
tflite_model, "imxrt700", "SDK_25_06"
3434
)
3535

3636
assert len(

examples/nxp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $ examples/nxp/setup.sh
1313
2. Now run the `aot_neutron_compile.py` example with the `cifar10` model
1414
```commandline
1515
$ python -m examples.nxp.aot_neutron_compile --quantize \
16-
--delegate --neutron_converter_flavor SDK_25_03 -m cifar10
16+
--delegate --neutron_converter_flavor SDK_25_06 -m cifar10
1717
```
1818

1919
3. It will generate you `cifar10_nxp_delegate.pte` file which can be used with the MXUXpresso SDK `cifarnet_example` project, presented [here](https://mcuxpresso.nxp.com/mcuxsdk/latest/html/middleware/eiq/executorch/docs/nxp/topics/example_applications.html#how-to-build-and-run-executorch-cifarnet-example).

examples/nxp/aot_neutron_compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _get_batch_size(data):
164164
"-c",
165165
"--neutron_converter_flavor",
166166
required=False,
167-
default="SDK_25_03",
167+
default="SDK_25_06",
168168
help="Flavor of installed neutron-converter module. Neutron-converter module named "
169169
"'neutron_converter_SDK_24_12' has flavor 'SDK_24_12'.",
170170
)

examples/nxp/run_aot_example.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ cd $EXECUTORCH_DIR
1212

1313
# Run the AoT example
1414
python -m examples.nxp.aot_neutron_compile --quantize \
15-
--delegate --neutron_converter_flavor SDK_25_03 -m cifar10
15+
--delegate --neutron_converter_flavor SDK_25_06 -m cifar10
1616
# verify file exists
1717
test -f cifar10_nxp_delegate.pte

examples/nxp/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
set -u
88

99
# Install neutron-converter
10-
pip install --extra-index-url https://eiq.nxp.com/repository neutron_converter_SDK_25_03
10+
pip install --extra-index-url https://eiq.nxp.com/repository neutron_converter_SDK_25_06

0 commit comments

Comments
 (0)