From b789789b4d2500a14e8ec15979edc1c260cdad5b Mon Sep 17 00:00:00 2001 From: Ramon Wirsch Date: Mon, 4 Aug 2025 16:11:22 +0200 Subject: [PATCH 1/3] Switch cuda test to zinnia-ci partition --- .daisy/cuda.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.daisy/cuda.yml b/.daisy/cuda.yml index a9927e7..38967b5 100644 --- a/.daisy/cuda.yml +++ b/.daisy/cuda.yml @@ -8,7 +8,7 @@ on: parameters: timeout: 10 partitions: - - zinnia + - zinnia-ci steps: build: | From f527186a5229bba17e11cb0cf007a896a6910111 Mon Sep 17 00:00:00 2001 From: Ramon Wirsch Date: Fri, 15 Aug 2025 16:03:40 +0200 Subject: [PATCH 2/3] tickle backend --- newfile | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 newfile diff --git a/newfile b/newfile new file mode 100644 index 0000000..e69de29 From a0a97b14783ba610ec72d9d4d8e42e77b7697f8f Mon Sep 17 00:00:00 2001 From: Ramon Wirsch Date: Wed, 27 Aug 2025 10:21:42 +0200 Subject: [PATCH 3/3] Test cuda on base container --- .daisy/c_docc.yml | 25 ------------------------- .daisy/c_gcc.yml | 23 ----------------------- .daisy/cuda.yml | 6 +++--- .daisy/onnx.yml | 19 ------------------- .daisy/python_apt.yml | 21 --------------------- .daisy/python_conda.yml | 22 ---------------------- .daisy/python_venv.yml | 24 ------------------------ .daisy/tflite_coral.yml | 41 ----------------------------------------- 8 files changed, 3 insertions(+), 178 deletions(-) delete mode 100644 .daisy/c_docc.yml delete mode 100644 .daisy/c_gcc.yml delete mode 100644 .daisy/onnx.yml delete mode 100644 .daisy/python_apt.yml delete mode 100644 .daisy/python_conda.yml delete mode 100644 .daisy/python_venv.yml delete mode 100644 .daisy/tflite_coral.yml diff --git a/.daisy/c_docc.yml b/.daisy/c_docc.yml deleted file mode 100644 index a3c4e04..0000000 --- a/.daisy/c_docc.yml +++ /dev/null @@ -1,25 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - -parameters: - timeout: 20 - partitions: - - bellis5 - -steps: - build: | - docc -Xclang -no-opaque-pointers -g -O1 -mllvm -hotspot -o c/matmul.out c/matmul.c -ldaisy_rtl - - run: - matmul: - command: ./c/matmul.out - measurements: 5 - profiler: perf - loops: true - metrics: - - flops_dp - - memory_bandwidth diff --git a/.daisy/c_gcc.yml b/.daisy/c_gcc.yml deleted file mode 100644 index 542091f..0000000 --- a/.daisy/c_gcc.yml +++ /dev/null @@ -1,23 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - -parameters: - partitions: - - bellis5 - -steps: - build: | - gcc -g -O1 -o c/matmul.out c/matmul.c - - run: - matmul: - command: ./c/matmul.out - measurements: 5 - profiler: perf - metrics: - - flops_dp - - memory_bandwidth diff --git a/.daisy/cuda.yml b/.daisy/cuda.yml index 38967b5..13c612e 100644 --- a/.daisy/cuda.yml +++ b/.daisy/cuda.yml @@ -8,7 +8,7 @@ on: parameters: timeout: 10 partitions: - - zinnia-ci + - zinnia-incubator steps: build: | @@ -18,5 +18,5 @@ steps: matmul_cu: command: ./cuda/matmul.out measurements: 5 - profiler: nsys - kernels: true + profiler: perf + kernels: false diff --git a/.daisy/onnx.yml b/.daisy/onnx.yml deleted file mode 100644 index c742e3e..0000000 --- a/.daisy/onnx.yml +++ /dev/null @@ -1,19 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - -parameters: - timeout: 30 - partitions: - - tansy - -steps: - build: | - - run: - squeezenet: - model: /data/squeezenet1.onnx - measurements: 1 diff --git a/.daisy/python_apt.yml b/.daisy/python_apt.yml deleted file mode 100644 index 9564cd3..0000000 --- a/.daisy/python_apt.yml +++ /dev/null @@ -1,21 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - -parameters: - timeout: 20 - partitions: - - bellis5 - -steps: - build: | - sudo apt-get install -y python3-numpy - - run: - matmul: - command: python3 python/matmul_np.py - measurements: 5 - profiler: py-spy diff --git a/.daisy/python_conda.yml b/.daisy/python_conda.yml deleted file mode 100644 index 90e7a54..0000000 --- a/.daisy/python_conda.yml +++ /dev/null @@ -1,22 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - -parameters: - timeout: 20 - conda: "3.12" - partitions: - - bellis5 - -steps: - build: | - pip install numpy - - run: - matmul: - command: python python/matmul_np.py - measurements: 5 - profiler: perf diff --git a/.daisy/python_venv.yml b/.daisy/python_venv.yml deleted file mode 100644 index 1ee8d0e..0000000 --- a/.daisy/python_venv.yml +++ /dev/null @@ -1,24 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - -parameters: - timeout: 20 - partitions: - - bellis5 - -steps: - build: | - python3 -m venv venv - . venv/bin/activate - - pip install numpy - - run: - matmul: - command: venv/bin/python3 python/matmul_np.py - measurements: 5 - profiler: py-spy diff --git a/.daisy/tflite_coral.yml b/.daisy/tflite_coral.yml deleted file mode 100644 index 73928e4..0000000 --- a/.daisy/tflite_coral.yml +++ /dev/null @@ -1,41 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - -parameters: - timeout: 60 - conda: "3.8" - partitions: - - bellis4 - -steps: - build: | - sudo add-apt-repository 'deb https://packages.cloud.google.com/apt coral-edgetpu-stable main' - curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - - sudo apt-get update - sudo apt-get install -y libedgetpu1-std - sudo apt-get install -y usbutils - - - sudo apt install -y libjpeg-dev zlib1g-dev - - wget https://github.com/google-coral/pycoral/releases/download/v2.0.0/tflite_runtime-2.5.0.post1-cp38-cp38-linux_aarch64.whl - wget https://github.com/google-coral/pycoral/releases/download/v2.0.0/pycoral-2.0.0-cp38-cp38-linux_aarch64.whl - - pip install Pillow==9.5.0 - pip install tflite_runtime-2.5.0.post1-cp38-cp38-linux_aarch64.whl - pip install pycoral-2.0.0-cp38-cp38-linux_aarch64.whl - - git clone --recurse-submodules --branch v2.0.0 --depth 1 https://github.com/google-coral/pycoral - cd pycoral - - bash examples/install_requirements.sh classify_image.py - - run: - list_usb: - command: lsusb | grep Google - classify_image: - command: python pycoral/examples/classify_image.py --model pycoral/test_data/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite --labels pycoral/test_data/inat_bird_labels.txt --input pycoral/test_data/parrot.jpg