Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
48eb244
Add PyTest-base testing infra for generic platform
Victor-Jung Dec 16, 2025
f918ca2
Remove nvidia-pyindex install (not needed anymore)
Victor-Jung Dec 16, 2025
77b3230
Add nvidia channel to the pip config instead of via nvidia-pyindex (d…
Victor-Jung Dec 16, 2025
d245a37
Update banshee.patch
Victor-Jung Dec 16, 2025
05c020a
Fix patch
Victor-Jung Dec 16, 2025
ec5efd5
Update banshee patch
Victor-Jung Dec 16, 2025
3760ced
Update CI docker
Victor-Jung Dec 17, 2025
b051153
Update generic platform CI to use PyTest
Victor-Jung Dec 17, 2025
eb6e31e
Lint and format
Victor-Jung Dec 17, 2025
42c9cd7
Cleanup pytest.ini
Victor-Jung Dec 17, 2025
89efc39
Apply Calin's comments
Victor-Jung Dec 18, 2025
1929253
Refactor to better support multiple platforms and add cortexm to pyte…
Victor-Jung Dec 18, 2025
393dd9d
Add PyTest suite for Siracusa and Siracusa Tiled
Victor-Jung Dec 18, 2025
54f3e9c
Alpha version of CI suite using PyTest for Siracusa and Siracusa Tiled
Victor-Jung Dec 19, 2025
b2014b2
Add L2_DOUBLEBUFFER_MODELS to the pytest suite, add -s to debug slow …
Victor-Jung Dec 19, 2025
5e1e63b
Fix typo
Victor-Jung Dec 19, 2025
b3789db
Make test use common build folder among a worker to improve compilati…
Victor-Jung Dec 19, 2025
f49f319
Cleanup unused runners and increase timeout for L3 models
Victor-Jung Dec 19, 2025
262a64b
format and lint
Victor-Jung Dec 19, 2025
70f1a19
Migrate Mempool tests to PyTest
Victor-Jung Jan 5, 2026
694f4f9
Migrate Snitch, Chimera, and SoftHier tests to PyTest
Victor-Jung Jan 5, 2026
432bfdf
Format and Lint
Victor-Jung Jan 5, 2026
ad13dcf
Migrate Snitch tiled tests to PyTest
Victor-Jung Jan 5, 2026
9dc75df
Use the pytest suite in CI for CortexM platform
Victor-Jung Jan 5, 2026
d3f73d4
Add Siracusa Tiled with Neureka to the pytest suite
Victor-Jung Jan 6, 2026
0f9b404
Format and lint
Victor-Jung Jan 6, 2026
50d0010
Fix SoftHier test runner call
Victor-Jung Jan 6, 2026
3f071a0
Format and lint
Victor-Jung Jan 6, 2026
e644108
Remove useless comments and add README for PyTest suite
Victor-Jung Jan 6, 2026
91284fe
Cleanup GitHub action for siracusa with neureka
Victor-Jung Jan 6, 2026
2ba9e44
Simplify siracusa tiled platform GitHub CI
Victor-Jung Jan 6, 2026
03820f8
Remove unused testRunner
Victor-Jung Jan 6, 2026
597a8a2
Update ccache generation to use PyTest suite
Victor-Jung Jan 6, 2026
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
20 changes: 3 additions & 17 deletions .github/workflows/_runner-chimera.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ name: _runner-chimera
docker-image:
required: true
type: string
test-names:
required: true
type: string
simulators:
pytest-marker:
required: true
type: string

Expand All @@ -39,22 +36,11 @@ jobs:
with:
path: /app/.ccache
key: ccache-ci
- name: Run Test
- name: Run Test # VJUNG: Run tests with 4 parallel threads as GitHub action VM has 4 cores.
run: |
testNames="${{ inputs.test-names }}"
simulators="${{inputs.simulators}}"
cd DeeployTest
mkdir -p /app/.ccache
export CCACHE_DIR=/app/.ccache
export CHIMERA_SDK_HOME=/app/install/chimera-sdk
echo "$simulators" | while IFS= read -r simulator; do
if [[ -n "$simulator" ]]; then
echo "$testNames" | while IFS= read -r testName; do
if [[ -n "$testName" ]]; then
echo "Running test $testName using $simulator"
python testRunner_chimera.py -t Tests/$testName --simulator=$simulator
fi
done
fi
done
pytest test_platforms.py -v -n 4 -m "chimera and ${{ inputs.pytest-marker }}"
shell: bash
12 changes: 3 additions & 9 deletions .github/workflows/_runner-cortexm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: _runner-cortexm
docker-image:
required: true
type: string
test-names:
pytest-marker:
required: true
type: string

Expand All @@ -36,16 +36,10 @@ jobs:
with:
path: /app/.ccache
key: ccache-ci
- name: Run Test
- name: Run Test # VJUNG: Run tests with 4 parallel threads as GitHub action VM has 4 cores.
run: |
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_cortexm.py -t Tests/$testName
fi
done
pytest test_platforms.py -v -n 4 -m "cortexm and ${{ inputs.pytest-marker }}"
shell: bash
12 changes: 3 additions & 9 deletions .github/workflows/_runner-generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: _runner-generic
docker-image:
required: true
type: string
test-names:
pytest-marker:
required: true
type: string

Expand All @@ -36,16 +36,10 @@ jobs:
with:
path: /app/.ccache
key: ccache-ci
- name: Run Test
- name: Run Test # VJUNG: Run tests with 4 parallel threads as GitHub action VM has 4 cores.
run: |
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_generic.py -t Tests/$testName
fi
done
pytest test_platforms.py -v -n 4 -m "generic and ${{ inputs.pytest-marker }}"
shell: bash
12 changes: 3 additions & 9 deletions .github/workflows/_runner-mempool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: _runner-mempool
docker-image:
required: true
type: string
test-names:
pytest-marker:
required: true
type: string

Expand All @@ -36,16 +36,10 @@ jobs:
with:
path: /app/.ccache
key: ccache-ci
- name: Run Test
- name: Run Test # VJUNG: Run tests with 4 parallel threads as GitHub action VM has 4 cores.
run: |
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_mempool.py -t Tests/$testName
fi
done
pytest test_platforms.py -v -n 4 -m "mempool and ${{ inputs.pytest-marker }}"
shell: bash
84 changes: 0 additions & 84 deletions .github/workflows/_runner-siracusa-neureka-tiled-sequential.yml

This file was deleted.

60 changes: 9 additions & 51 deletions .github/workflows/_runner-siracusa-neureka-tiled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

---
name: _runner-siracusa-neureka-tiled
name: _runner-siracusa-neureka-tiled-sequential

"on":
workflow_call:
Expand All @@ -14,44 +14,12 @@ name: _runner-siracusa-neureka-tiled
docker-image:
required: true
type: string
test-name:
pytest-marker:
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
neureka-wmem:
required: false
default: false
type: boolean

jobs:
test-runner-siracusa-neureka-tiled:
strategy:
fail-fast: false
matrix:
L1: ${{ fromJSON(inputs.L1) }}
runs-on: ${{ inputs.runner }}
container:
image: ${{ inputs.docker-image }}
Expand All @@ -63,20 +31,10 @@ jobs:
- name: Build Deeploy
shell: bash
run: pip install -e .
- name: Cache ccache
uses: actions/cache/restore@v4
with:
path: /app/.ccache
key: ccache-ci
- name: Run Test
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 3
retry_on: timeout
command: |
cd DeeployTest
mkdir -p /app/.ccache
export CCACHE_DIR=/app/.ccache
python testRunner_tiled_siracusa_w_neureka.py -t Tests/${{ inputs.test-name }} --cores=${{ inputs.num-cores }} --l1 ${{ matrix.L1 }} --defaultMemLevel=${{ inputs.default-memory-level }} ${{ inputs.double-buffer && '--doublebuffer' || '' }} ${{ inputs.neureka-wmem && '--neureka-wmem' || '' }} --memAllocStrategy=${{ inputs.memory-allocation-strategy }} --searchStrategy=${{ inputs.search-strategy }}
shell: bash
- name: Run Test # VJUNG: Run tests with 4 parallel threads as GitHub action VM has 4 cores.
run: |
cd DeeployTest
mkdir -p /app/.ccache
export CCACHE_DIR=/app/.ccache
pytest test_platforms.py -v -n 4 -m "siracusa_neureka_tiled and ${{ inputs.pytest-marker }}"
shell: bash
79 changes: 0 additions & 79 deletions .github/workflows/_runner-siracusa-tiled-sequential.yml

This file was deleted.

Loading