Skip to content

Commit c16268e

Browse files
committed
NXP backend: Updating converter flavor to SDK_25_12.
1 parent cf28248 commit c16268e

16 files changed

+26
-26
lines changed

backends/nxp/backend/edge_program_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class EdgeProgramToIRConverter:
5656
"""
5757

5858
_default_conversion_config = ConversionConfig()
59-
_default_target_spec = NeutronTargetSpec("imxrt700", "SDK_25_09")
59+
_default_target_spec = NeutronTargetSpec("imxrt700", "SDK_25_12")
6060
_default_delegation_options = CustomDelegationOptions()
6161

6262
def convert_program(

backends/nxp/backend/neutron_converter_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class NeutronConverterManager:
2828

2929
def __init__(
3030
self,
31-
neutron_converter_flavor: str = "SDK_25_09",
31+
neutron_converter_flavor: str = "SDK_25_12",
3232
):
3333

3434
neutron_converter_modules = [

backends/nxp/nxp_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def neutron_compile_spec(
6767
Args:
6868
config: Neutron accelerator configuration, e.g. "imxrt700"
6969
neutron_converter_flavor: Flavor of the neutron-converter module to use. Neutron-converter module named "
70-
"'neutron_converter_SDK_25_09' has flavor 'SDK_25_09'.
70+
"'neutron_converter_SDK_25_12' has flavor 'SDK_25_12'.
7171
extra_flags: Extra flags for the Neutron compiler
7272
operators_not_to_delegate: List of operators that should not be delegated
7373
use_neutron_for_format_conversion: If True, the EdgeProgramToIRConverter will insert `Transpose` ops to
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--index-url https://eiq.nxp.com/repository
2-
neutron_converter_SDK_25_09
2+
neutron_converter_SDK_25_12

backends/nxp/tests/executorch_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
from torch.export import export
3939
from torchao.quantization.pt2e.quantizer import Quantizer
4040

41-
neutron_converter_flavor = "SDK_25_09"
41+
neutron_converter_flavor = "SDK_25_12"
4242
neutron_target_spec = NeutronTargetSpec(
4343
target="imxrt700", neutron_converter_flavor=neutron_converter_flavor
4444
)

backends/nxp/tests/ir/converter/node_converter/test_cat_converter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def test_cat__same_shapes_converter_padding_last_dimension(use_qat):
363363
CatModule(2),
364364
[input_shape, input_shape],
365365
target=target,
366-
neutron_converter_flavor="SDK_25_09",
366+
neutron_converter_flavor="SDK_25_12",
367367
custom_delegation_options=CustomDelegationOptions(),
368368
use_qat=use_qat,
369369
).exported_program()
@@ -385,7 +385,7 @@ def test_cat__same_shapes__channels_first__padding_channels(use_qat):
385385
CatConvModule(1),
386386
[input_shape, input_shape],
387387
target=target,
388-
neutron_converter_flavor="SDK_25_09",
388+
neutron_converter_flavor="SDK_25_12",
389389
custom_delegation_options=CustomDelegationOptions(),
390390
use_qat=use_qat,
391391
).exported_program()

backends/nxp/tests/test_edge_passes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def test_remove_additional_quantize_dequantize_nodes_pass(self):
319319

320320
edge_program_manager = edge_program_manager.transform(NeutronEdgePassManager())
321321

322-
compile_spec = generate_neutron_compile_spec(target, "SDK_25_09")
322+
compile_spec = generate_neutron_compile_spec(target, "SDK_25_12")
323323
partitioner = NeutronPartitioner(
324324
compile_spec, neutron_target_spec, custom_delegation_options
325325
)

backends/nxp/tests/test_neutron_backend_executor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 NXP
1+
# Copyright 2024-2025 NXP
22
#
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
@@ -165,7 +165,7 @@ def test_delegating_format_related_transpose_operators__supported_case(mocker):
165165
# Make sure the output channels (channels for the trailing Transpose), and the last input dimension (channels for
166166
# the leading Transpose) are multiples of `num_macs``.
167167

168-
num_macs = NeutronTargetSpec("imxrt700", "SDK_25_09").get_num_macs()
168+
num_macs = NeutronTargetSpec("imxrt700", "SDK_25_12").get_num_macs()
169169
model = Conv2dModule(
170170
in_channels=num_macs, out_channels=num_macs, padding=1, stride=1
171171
)
@@ -222,7 +222,7 @@ def test_delegating_format_related_transpose_operators__supported_case(mocker):
222222
def test_delegating_format_related_transpose_operators__supported_output__unsupported_input(
223223
mocker,
224224
):
225-
num_macs = NeutronTargetSpec("imxrt700", "SDK_25_09").get_num_macs()
225+
num_macs = NeutronTargetSpec("imxrt700", "SDK_25_12").get_num_macs()
226226
model = Conv2dModule(
227227
in_channels=num_macs,
228228
out_channels=num_macs, # The output `Transpose` will be supported.
@@ -278,7 +278,7 @@ def test_delegating_format_related_transpose_operators__supported_output__unsupp
278278
def test_delegating_format_related_transpose_operators__supported_input__unsupported_output(
279279
mocker,
280280
):
281-
num_macs = NeutronTargetSpec("imxrt700", "SDK_25_09").get_num_macs()
281+
num_macs = NeutronTargetSpec("imxrt700", "SDK_25_12").get_num_macs()
282282
model = Conv2dModule(
283283
in_channels=num_macs,
284284
out_channels=3, # The output `Transpose` will NOT be supported.

backends/nxp/tests/test_split_group_convolution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def _quantize_and_lower_module(
5656
edge_compile_config=edge_compile_config,
5757
)
5858

59-
compile_spec = generate_neutron_compile_spec(target, "SDK_25_09")
59+
compile_spec = generate_neutron_compile_spec(target, "SDK_25_12")
6060
partitioner = NeutronPartitioner(compile_spec, neutron_target_spec)
6161
return edge_program_manager.to_backend(partitioner)
6262

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Among currently supported machine learning models are:
2323
## Development Requirements
2424

2525
- [MCUXpresso IDE](https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE) or [MCUXpresso Visual Studio Code extension](https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-for-visual-studio-code:MCUXPRESSO-VSC)
26-
- [MCUXpresso SDK 25.06](https://mcuxpresso.nxp.com/mcuxsdk/25.06.00/html/index.html)
27-
- eIQ Neutron Converter for MCUXPresso SDK 25.06, what you can download from eIQ PyPI:
26+
- [MCUXpresso SDK 25.12](https://mcuxpresso.nxp.com/mcuxsdk/25.12.00/html/index.html)
27+
- eIQ Neutron Converter for MCUXPresso SDK 25.12, what you can download from eIQ PyPI:
2828

2929
```commandline
30-
$ pip install --index-url https://eiq.nxp.com/repository neutron_converter_SDK_25_06
30+
$ pip install --index-url https://eiq.nxp.com/repository neutron_converter_SDK_25_12
3131
```
3232

3333
Instead of manually installing requirements, except MCUXpresso IDE and SDK, you can use the setup script:

0 commit comments

Comments
 (0)