Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3d55d6a
Extend Dockerflow with GAP9 Support
Xeratec Nov 13, 2025
8ae3fef
Improve speed of LLVM cloning
Xeratec Nov 12, 2025
6acde80
Initial GAP9 Support
Xeratec Nov 13, 2025
a7ac74e
Minor cleanup
Xeratec Nov 13, 2025
f916db8
Update Readme
Xeratec Nov 13, 2025
3cd6e29
[GAP9] Fix DeeployTest.c nested team fork issue
runwangdl Nov 14, 2025
9ca4595
[GAP9]Fix GCC segmentation fault in Transpose template syntax
runwangdl Nov 14, 2025
7e77991
[GAP9] Link PULP-NN
runwangdl Nov 15, 2025
294d83a
[GAP9] OpRepre n_cores Missing
runwangdl Nov 15, 2025
4946ed5
[GAP9] LInk Math and PULP Kernels
runwangdl Nov 15, 2025
a08b6fd
[GAP9] Replace MCHAN DMA with cl_dma.h API and Decouple deployer form…
runwangdl Nov 17, 2025
b51e29d
[GAP0] WIP Tiling Support for L3
runwangdl Nov 21, 2025
6b5c2e5
[GAP9] Layernorm Epsilon ABI Issue
runwangdl Nov 21, 2025
3a1d877
[GAP9] Fixed Zero Cyclecounter Issue
runwangdl Nov 27, 2025
faa6421
[GAP9] Add CI
runwangdl Nov 28, 2025
584729c
[GAP9] Fix L2 GVSoC target build with hexlist
runwangdl Nov 28, 2025
3e2fc87
[GAP9] Sdk.config add macro for clusterstack
runwangdl Nov 28, 2025
6b55e98
[GAP9] Fix Cluster DMA Concurrent Tasks Bug with Mchan Template from …
runwangdl Nov 30, 2025
ccaad61
[GAP9] Fix free template from PULP-sdk to GAP9sdk
runwangdl Nov 30, 2025
af01a2e
[GAP9] Fix duplicate L3 Alloc Code generation due to PULP inheritance…
runwangdl Nov 30, 2025
e4ed675
Merge remote-tracking branch 'run/devel' into gap9-operators-github
runwangdl Nov 30, 2025
71896e7
[GAP9] Change GAP9 DWConV Based on PULP change
runwangdl Nov 30, 2025
7dd4a58
[GAP9] Docker CI Test
runwangdl Dec 12, 2025
3a86db8
[GAP-CI] Delete pi_cluster_id() codegen for other non-pulp platform
runwangdl Dec 12, 2025
0d1c1b7
[GAP9-CI] Replace docker with my docker-gap9
runwangdl Dec 12, 2025
b0c73ff
[GAP9] Debugging CI
Dec 12, 2025
63e1c09
[GAP-PR] Debugging CI cache for deeploy installment insider venv
runwangdl Dec 12, 2025
9c0d6a6
[CI] Trigger GitHub Actions workflow re-indexing
runwangdl Dec 12, 2025
db4477c
[GAP9-Docker] Install deeploy inside env
runwangdl Dec 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions .github/workflows/_runner-gap9-tiled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# SPDX-FileCopyrightText: 2025 ETH Zurich and University of Bologna
#
# SPDX-License-Identifier: Apache-2.0

---
name: _runner-gap9-tiled

"on":
workflow_call:
inputs:
runner:
required: true
type: string
docker-image:
required: true
type: string
test-name:
required: true
type: string
num-cores:
required: false
default: 8
type: number
L1:
required: false
default: "[64000]"
type: string
default-memory-level:
required: false
default: "L2"
type: string
double-buffer:
required: false
default: false
type: boolean
memory-allocation-strategy:
required: false
default: "MiniMalloc"
type: string
search-strategy:
required: false
default: "random-max"
type: string

jobs:
test-runner-gap9-tiled:
strategy:
fail-fast: false
matrix:
L1: ${{ fromJSON(inputs.L1) }}
runs-on: ${{ inputs.runner }}
container:
image: ${{ inputs.docker-image }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Cache ccache
uses: actions/cache/restore@v4
with:
path: /app/.ccache
key: ccache-ci
- name: Cache pip packages
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-gap9-pip-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-gap9-pip-
- name: Build Deeploy
shell: bash
run: |
# Activate GAP9 SDK environment first
source /app/install/gap9-sdk/.gap9-venv/bin/activate
source /app/install/gap9-sdk/configs/gap9_evk_audio.sh
# Install Deeploy in the GAP9 venv
pip install -e . --extra-index-url=https://pypi.ngc.nvidia.com
- name: Run Test
uses: nick-fields/retry@v3
with:
timeout_minutes: 15
max_attempts: 3
retry_on: timeout
command: |
source /app/install/gap9-sdk/.gap9-venv/bin/activate
source /app/install/gap9-sdk/configs/gap9_evk_audio.sh
cd DeeployTest
mkdir -p /app/.ccache
export CCACHE_DIR=/app/.ccache
python testRunner_tiled_gap9.py -t Tests/${{ inputs.test-name }} --cores=${{ inputs.num-cores }} --l1 ${{ matrix.L1 }} --defaultMemLevel=${{ inputs.default-memory-level }} ${{ inputs.double-buffer && '--doublebuffer' || '' }} --memAllocStrategy=${{ inputs.memory-allocation-strategy }} --searchStrategy=${{ inputs.search-strategy }}
shell: bash
83 changes: 83 additions & 0 deletions .github/workflows/_runner-gap9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# SPDX-FileCopyrightText: 2025 ETH Zurich and University of Bologna
#
# SPDX-License-Identifier: Apache-2.0

---
name: _runner-gap9

"on":
workflow_call:
inputs:
runner:
required: true
type: string
docker-image:
required: true
type: string
test-names:
required: true
type: string
num-cores:
required: true
type: number

jobs:
test-runner-gap9:
runs-on: ${{ inputs.runner }}
container:
image: ${{ inputs.docker-image }}
steps:
- name: Free Disk Space (Ubuntu)
if: ${{ inputs.runner == 'ubuntu-latest' }}
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Checkout Repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Cache ccache
uses: actions/cache/restore@v4
with:
path: /app/.ccache
key: ccache-ci
- name: Cache pip packages
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-gap9-pip-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-gap9-pip-
- name: Build Deeploy
shell: bash
run: |
# Activate GAP9 SDK environment first
source /app/install/gap9-sdk/.gap9-venv/bin/activate
source /app/install/gap9-sdk/configs/gap9_evk_audio.sh
# Install Deeploy in the GAP9 venv
pip install -e . --extra-index-url=https://pypi.ngc.nvidia.com
deactivate
- name: Run Test
run: |
# Activate GAP9 SDK environment
source /app/install/gap9-sdk/.gap9-venv/bin/activate
source /app/install/gap9-sdk/configs/gap9_evk_audio.sh

testNames="${{ inputs.test-names }}"
cd DeeployTest
mkdir -p /app/.ccache
export CCACHE_DIR=/app/.ccache
echo "$testNames" | while IFS= read -r testName; do
if [[ -n "$testName" ]]; then
echo "Running test: $testName"
python testRunner_gap9.py -t Tests/$testName --cores=${{ inputs.num-cores }}
fi
done
deactivate
shell: bash
11 changes: 11 additions & 0 deletions .github/workflows/_runner-siracusa-tiled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ jobs:
container:
image: ${{ inputs.docker-image }}
steps:
- name: Free Disk Space (Ubuntu)
if: ${{ inputs.runner == 'ubuntu-latest' }}
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Checkout Repo
uses: actions/checkout@v4
with:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/_runner-siracusa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ jobs:
container:
image: ${{ inputs.docker-image }}
steps:
- name: Free Disk Space (Ubuntu)
if: ${{ inputs.runner == 'ubuntu-latest' }}
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Checkout Repo
uses: actions/checkout@v4
with:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/_runner-snitch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ jobs:
container:
image: ${{ inputs.docker-image }}
steps:
- name: Free Disk Space (Ubuntu)
if: ${{ inputs.runner == 'ubuntu-latest' }}
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Checkout Repo
uses: actions/checkout@v4
with:
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/_select-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,13 @@ jobs:
- id: set-docker-image
shell: bash
run: |
if [[ -n "${{ inputs.docker_image_deeploy }}" ]]; then
IMAGE="${{ inputs.docker_image_deeploy }}"
elif [[ "${{ github.ref }}" == refs/tags/* ]]; then
TAG_NAME="${GITHUB_REF##refs/tags/}"
IMAGE="ghcr.io/pulp-platform/deeploy:${TAG_NAME}"
elif [[ "${{ github.ref_name }}" == "main" ]]; then
IMAGE="ghcr.io/pulp-platform/deeploy:main"
else
IMAGE="ghcr.io/pulp-platform/deeploy:devel"
fi
IMAGE="ghcr.io/runwangdl/deeploy:gap9"
echo "image=${IMAGE}" >> "$GITHUB_OUTPUT"

- id: set-runner
shell: bash
run: |
if [[ "${{ github.repository }}" == "pulp-platform/Deeploy" ]]; then
if [[ "${{ github.repository }}" == "pulp-platform/Deeploy" ]] || [[ "${{ github.repository }}" == "runwangdl/Deeploy" ]]; then
echo "runner=self-hosted" >> "$GITHUB_OUTPUT"
else
echo "runner=ubuntu-latest" >> "$GITHUB_OUTPUT"
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/ci-deeploy-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
name: CI • Deeploy Testing

"on":
push:
branches:
- "**"
tags:
- "v*.*.*"
pull_request:
# push:
workflow_dispatch:
inputs:
docker_image_deeploy:
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/ci-deeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@
name: CI • Deeploy

"on":
push:
branches:
- "**"
tags:
- "v*.*.*"
pull_request:
# push:
workflow_dispatch:
inputs:
docker_image_deeploy:
description: "Deeploy Image to use"
required: false
default: "ghcr.io/pulp-platform/deeploy:devel"
default: "ghcr.io/runwangdl/deeploy:gap9"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
name: CI • Lint & Licenses

"on":
push:
branches:
- "**"
tags:
- "v*.*.*"
pull_request:
# push:
workflow_dispatch:
inputs:
docker_image_deeploy:
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/ci-platform-chimera.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
name: CI • Chimera

"on":
push:
branches:
- "**"
tags:
- "v*.*.*"
pull_request:
# push:
workflow_dispatch:
inputs:
docker_image_deeploy:
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/ci-platform-cortexm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
name: CI • Cortex-M

"on":
push:
branches:
- "**"
tags:
- "v*.*.*"
pull_request:
# push:
workflow_dispatch:
inputs:
docker_image_deeploy:
Expand Down
Loading
Loading