From ddeffbcfef88dcfcec4f3f87fd586a8299acd8ae Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Wed, 4 Mar 2026 16:06:40 +0100 Subject: [PATCH 1/9] Set version number to 1.26.2-rc1 --- .pack/tensorflow.pidx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pack/tensorflow.pidx b/.pack/tensorflow.pidx index 36b7531..c0bce8d 100644 --- a/.pack/tensorflow.pidx +++ b/.pack/tensorflow.pidx @@ -2,13 +2,13 @@ tensorflow https://raw.githubusercontent.com/MDK-Packs/tensorflow-pack/main/.pack/ - 2025-05-12T12:00:00 + 2026-03-04T12:00:00 - - - - - - + + + + + + From e36d856f2eca4547de2d7d6965301afd593224a5 Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Mon, 23 Mar 2026 12:28:19 +0100 Subject: [PATCH 2/9] Updated versions of github actions --- .github/workflows/nightly.yml | 4 ++-- .github/workflows/release.yml | 8 ++++---- .github/workflows/tests_avh.yml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 4bde09f..c95f033 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout tensorflow-build - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: MDK-Packs/tensorflow-pack path: tensorflow-pack @@ -58,7 +58,7 @@ jobs: find ${{ github.workspace }}/tensorflow-pack/ -name '*.pdsc' -exec cp -prv '{}' '${{ github.workspace }}/out/' ';' - name: Upload Pack - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: tensorflow-pack-release path: ${{ github.workspace }}/out diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57a5845..74b2c5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,12 +28,12 @@ jobs: steps: - name: Checkout tensorflow-build - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: path: tensorflow-pack - name: Setup Python environment - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.12' @@ -80,13 +80,13 @@ jobs: find ${{ github.workspace }}/tensorflow-pack/tensorflow-build/gen/ -name '*.pdsc' -exec cp -prv '{}' '${{ github.workspace }}/out/' ';' - name: Upload Pack - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: tensorflow-pack-release path: ${{ github.workspace }}/out - name: Cache artifact - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: ${{ github.workspace }}/out key: latest-tensorflow-pack-build_${{ inputs.revision }}${{ inputs.candidate_rev }} diff --git a/.github/workflows/tests_avh.yml b/.github/workflows/tests_avh.yml index 8237d7f..eb1e4a2 100644 --- a/.github/workflows/tests_avh.yml +++ b/.github/workflows/tests_avh.yml @@ -45,12 +45,12 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: Arm-Examples/mlek-cmsis-pack-examples - name: Restore Latest Pack Build from Cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: ${{ github.workspace }}/out key: latest-tensorflow-pack-build_${{ inputs.revision }}${{ inputs.candidate_rev }} From 44ec2ad8b71d345f0500ab5e3fa551e9b93a6555 Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Mon, 23 Mar 2026 13:18:29 +0100 Subject: [PATCH 3/9] Updated versions of github actions. --- .pack/tensorflow.pidx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pack/tensorflow.pidx b/.pack/tensorflow.pidx index c0bce8d..0635040 100644 --- a/.pack/tensorflow.pidx +++ b/.pack/tensorflow.pidx @@ -2,13 +2,13 @@ tensorflow https://raw.githubusercontent.com/MDK-Packs/tensorflow-pack/main/.pack/ - 2026-03-04T12:00:00 + 2026-03-23T12:00:00 - - - - - - + + + + + + From 1f017cedb051380ba940020b50ded32fd776e732 Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Mon, 23 Mar 2026 15:33:46 +0100 Subject: [PATCH 4/9] Delete cache from previous run --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74b2c5d..43e628f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,9 @@ jobs: build-tensorflow: # The type of runner that the job will run on runs-on: ubuntu-24.04 + permissions: + actions: write + contents: read # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -43,6 +46,14 @@ jobs: pip install numpy pillow semantic-version six requests junit_xml pyyaml pygithub mkdir ${{ github.workspace }}/out/ + - name: Delete old pack cache if present + env: + GH_TOKEN: ${{ github.token }} + run: | + gh cache delete latest-tensorflow-pack-build_${{ inputs.revision }}${{ inputs.candidate_rev }} \ + --ref "${{ github.ref }}" \ + --succeed-on-no-caches + - name: Get history of releases from github run: python ./tensorflow-pack/tensorflow-build/get_releases.py ${{ secrets.GITHUB_TOKEN }} > ./tensorflow-pack/tensorflow-build/history.txt From 2409772b9dd5b4e25b79d2149c8a21c67f6429f8 Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Mon, 23 Mar 2026 15:38:20 +0100 Subject: [PATCH 5/9] Rework delete cache action. --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43e628f..2940367 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,8 +51,7 @@ jobs: GH_TOKEN: ${{ github.token }} run: | gh cache delete latest-tensorflow-pack-build_${{ inputs.revision }}${{ inputs.candidate_rev }} \ - --ref "${{ github.ref }}" \ - --succeed-on-no-caches + --ref "${{ github.ref }}" || true - name: Get history of releases from github run: From f56ce1a28bc36b258a846c20770087e18a8950b6 Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Mon, 23 Mar 2026 16:03:07 +0100 Subject: [PATCH 6/9] Rework delete cache action. --- .github/workflows/release.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2940367..5827d75 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,12 +46,19 @@ jobs: pip install numpy pillow semantic-version six requests junit_xml pyyaml pygithub mkdir ${{ github.workspace }}/out/ - - name: Delete old pack cache if present + - name: Check and delete cache key env: GH_TOKEN: ${{ github.token }} run: | - gh cache delete latest-tensorflow-pack-build_${{ inputs.revision }}${{ inputs.candidate_rev }} \ - --ref "${{ github.ref }}" || true + KEY="latest-tensorflow-pack-build_26.02" + REF="refs/heads/1.26.2" + REPO="${{ github.repository }}" + + if gh cache list --repo "$REPO" --ref "$REF" --key "$KEY" | grep -Fq "$KEY"; then + gh cache delete "$KEY" --repo "$REPO" --ref "$REF" + else + echo "Cache not found: $KEY" + fi - name: Get history of releases from github run: From ce2a1bb3ebda15aa1401fe58016ae77244796800 Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Tue, 24 Mar 2026 11:17:59 +0100 Subject: [PATCH 7/9] Corrected string Arm::ethos-u-core-driver to ARM::ethos-u-core-driver for testing. --- .github/workflows/tests_avh.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests_avh.yml b/.github/workflows/tests_avh.yml index eb1e4a2..18c35b1 100644 --- a/.github/workflows/tests_avh.yml +++ b/.github/workflows/tests_avh.yml @@ -78,7 +78,7 @@ jobs: - name: Patch the csolution to use the latest CMSIS-NN, Arm ethos-u-core-driver, and tensorflow packs run: | sed -i 's/\(tensorflow::[^@]*\)@[^ ]*/\1/g' mlek.csolution.yml - sed -i 's/\(Arm::ethos-u-core-driver[^@]*\)@[^ ]*/\1/g; s/\bArm\b/ARM/g' mlek.csolution.yml + sed -i 's/\(ARM::ethos-u-core-driver[^@]*\)@[^ ]*/\1/g; s/\bArm\b/ARM/g' mlek.csolution.yml sed -i 's/\(ARM::CMSIS-NN[^@]*\)@[^ ]*/\1/g' mlek.csolution.yml sed -i 's/component: Arm::/component: ARM::/g' ./device/alif-ensemble/alif-ensemble-E7-device.clayer.yml sed -i 's/component: Arm::/component: ARM::/g' ./device/corstone/corstone-device.clayer.yml From d0b0fbc749f1dc83109711cc8b1a75c771be276b Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Tue, 24 Mar 2026 12:39:34 +0100 Subject: [PATCH 8/9] Corrected commandline to install packs --- .github/workflows/tests_avh.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests_avh.yml b/.github/workflows/tests_avh.yml index 18c35b1..de3bc79 100644 --- a/.github/workflows/tests_avh.yml +++ b/.github/workflows/tests_avh.yml @@ -65,7 +65,7 @@ jobs: - name: Unpack and Install Packs run: - cd ${{ github.workspace }}/out && cpackget add -a *.pack + cd ${{ github.workspace }}/out && cpackget add *.pack -a - name: Diagnosis where *.yml files are locacted run: From 551fad8afc766d62fd3788c0979543905b1d031d Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Tue, 24 Mar 2026 14:05:55 +0100 Subject: [PATCH 9/9] More packs have been added to the update list. --- .github/workflows/tests_avh.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests_avh.yml b/.github/workflows/tests_avh.yml index de3bc79..b7d2adb 100644 --- a/.github/workflows/tests_avh.yml +++ b/.github/workflows/tests_avh.yml @@ -80,6 +80,10 @@ jobs: sed -i 's/\(tensorflow::[^@]*\)@[^ ]*/\1/g' mlek.csolution.yml sed -i 's/\(ARM::ethos-u-core-driver[^@]*\)@[^ ]*/\1/g; s/\bArm\b/ARM/g' mlek.csolution.yml sed -i 's/\(ARM::CMSIS-NN[^@]*\)@[^ ]*/\1/g' mlek.csolution.yml + sed -i 's/\(ARM::CMSIS[^@]*\)@[^ ]*/\1/g' mlek.csolution.yml + sed -i 's/\(ARM::CMSIS-DSP[^@]*\)@[^ ]*/\1/g' mlek.csolution.yml + sed -i 's/\(ARM::SSE_320_BSP[^@]*\)@[^ ]*/\1/g' mlek.csolution.yml + sed -i 's/\(AlifSemiconductor::Ensemble[^@]*\)@[^ ]*/\1/g' mlek.csolution.yml sed -i 's/component: Arm::/component: ARM::/g' ./device/alif-ensemble/alif-ensemble-E7-device.clayer.yml sed -i 's/component: Arm::/component: ARM::/g' ./device/corstone/corstone-device.clayer.yml