diff --git a/.github/workflows/trunk.yml b/.github/workflows/trunk.yml index 153c0ce2687..1cfef0273be 100644 --- a/.github/workflows/trunk.yml +++ b/.github/workflows/trunk.yml @@ -693,32 +693,3 @@ jobs: build-mode: Release build-tool: cmake docker-image: executorch-ubuntu-22.04-clang12 - - unittest-nxp-neutron: - uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main - permissions: - id-token: write - contents: read - with: - runner: linux.2xlarge - docker-image: executorch-ubuntu-22.04-clang12 - submodules: 'recursive' - ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} - timeout: 90 - script: | - set -eux - - # The generic Linux job chooses to use base env, not the one setup by the image - CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") - conda activate "${CONDA_ENV}" - - # Build and install Executorch - PYTHON_EXECUTABLE=python \ - CMAKE_ARGS="-DEXECUTORCH_BUILD_NXP_NEUTRON=ON" \ - .ci/scripts/setup-linux.sh --build-tool "cmake" - - # Install test requirements - pip install -r backends/nxp/requirements-tests.txt - - # Run pytest - PYTHON_EXECUTABLE=python bash backends/nxp/run_unittests.sh diff --git a/backends/nxp/requirements-tests.txt b/backends/nxp/requirements-tests.txt index ea6d56a43ec..513ccefe848 100644 --- a/backends/nxp/requirements-tests.txt +++ b/backends/nxp/requirements-tests.txt @@ -3,4 +3,4 @@ tensorflow==2.18.0 pytest-mock tflite GvGen -neutron_converter_SDK_25_03 +neutron-converter_SDK_25_03 diff --git a/backends/nxp/run_unittests.sh b/backends/nxp/run_unittests.sh deleted file mode 100755 index dde10065743..00000000000 --- a/backends/nxp/run_unittests.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -# Copyright 2025 NXP -# -# This source code is licensed under the BSD-style license found in the -# LICENSE file in the root directory of this source tree. -set -eux - -SCRIPT_DIR=$(dirname $(readlink -fm $0)) -EXECUTORCH_DIR=$(dirname $(dirname $SCRIPT_DIR)) - -cd $EXECUTORCH_DIR - -# '-c /dev/null' is used to ignore root level pytest.ini. -PYTHONPATH=`cd ..; pwd` pytest -c /dev/null backends/nxp/tests/ diff --git a/examples/nxp/setup.sh b/examples/nxp/setup.sh index 1a050a79c19..1ef2cc82c2a 100644 --- a/examples/nxp/setup.sh +++ b/examples/nxp/setup.sh @@ -7,4 +7,4 @@ set -u # Install neutron-converter -pip install --extra-index-url https://eiq.nxp.com/repository neutron_converter_SDK_25_03 +pip install --extra-index-url https://eiq.nxp.com/repository neutron-converter_SDK_25_03