Skip to content

Commit cd40a49

Browse files
committed
revert NXP backend: Enable initial unit tests workflow
1 parent 0d3e750 commit cd40a49

File tree

4 files changed

+2
-45
lines changed

4 files changed

+2
-45
lines changed

.github/workflows/trunk.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -693,32 +693,3 @@ jobs:
693693
build-mode: Release
694694
build-tool: cmake
695695
docker-image: executorch-ubuntu-22.04-clang12
696-
697-
unittest-nxp-neutron:
698-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
699-
permissions:
700-
id-token: write
701-
contents: read
702-
with:
703-
runner: linux.2xlarge
704-
docker-image: executorch-ubuntu-22.04-clang12
705-
submodules: 'recursive'
706-
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
707-
timeout: 90
708-
script: |
709-
set -eux
710-
711-
# The generic Linux job chooses to use base env, not the one setup by the image
712-
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
713-
conda activate "${CONDA_ENV}"
714-
715-
# Build and install Executorch
716-
PYTHON_EXECUTABLE=python \
717-
CMAKE_ARGS="-DEXECUTORCH_BUILD_NXP_NEUTRON=ON" \
718-
.ci/scripts/setup-linux.sh --build-tool "cmake"
719-
720-
# Install test requirements
721-
pip install -r backends/nxp/requirements-tests.txt
722-
723-
# Run pytest
724-
PYTHON_EXECUTABLE=python bash backends/nxp/run_unittests.sh

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_03

backends/nxp/run_unittests.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

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_03

0 commit comments

Comments
 (0)