From d8d6372f403919ec5959fe069fa0ff60d898278b Mon Sep 17 00:00:00 2001 From: Nora Hagmeyer Date: Thu, 29 May 2025 22:04:26 +0200 Subject: [PATCH 1/2] Run nightly every 2 days --- .daisy/c_docc.yml | 3 +++ .daisy/c_gcc.yml | 2 ++ .daisy/cuda.yml | 2 ++ .daisy/onnx.yml | 2 ++ .daisy/python_apt.yml | 2 ++ .daisy/python_venv.yml | 2 ++ .daisy/tenstorrent_metalium.yml.outdated | 2 ++ .daisy/tenstorrent_ttnn.yml.outdated | 3 +++ 8 files changed, 18 insertions(+) diff --git a/.daisy/c_docc.yml b/.daisy/c_docc.yml index a3c4e04..397e69a 100644 --- a/.daisy/c_docc.yml +++ b/.daisy/c_docc.yml @@ -4,11 +4,14 @@ on: - main pull_request: types: [opened, reopened, synchronize, ready_for_review] + schedule: + - cron: "0 0 */2 * *" parameters: timeout: 20 partitions: - bellis5 + - chamomile steps: build: | diff --git a/.daisy/c_gcc.yml b/.daisy/c_gcc.yml index 542091f..ece8c96 100644 --- a/.daisy/c_gcc.yml +++ b/.daisy/c_gcc.yml @@ -4,6 +4,8 @@ on: - main pull_request: types: [opened, reopened, synchronize, ready_for_review] + schedule: + - cron: "0 0 */2 * *" parameters: partitions: diff --git a/.daisy/cuda.yml b/.daisy/cuda.yml index a9927e7..4584cc9 100644 --- a/.daisy/cuda.yml +++ b/.daisy/cuda.yml @@ -4,6 +4,8 @@ on: - main pull_request: types: [opened, reopened, synchronize, ready_for_review] + schedule: + - cron: "0 0 */2 * *" parameters: timeout: 10 diff --git a/.daisy/onnx.yml b/.daisy/onnx.yml index c742e3e..c325c9d 100644 --- a/.daisy/onnx.yml +++ b/.daisy/onnx.yml @@ -4,6 +4,8 @@ on: - main pull_request: types: [opened, reopened, synchronize, ready_for_review] + schedule: + - cron: "0 0 */2 * *" parameters: timeout: 30 diff --git a/.daisy/python_apt.yml b/.daisy/python_apt.yml index 9564cd3..13bc223 100644 --- a/.daisy/python_apt.yml +++ b/.daisy/python_apt.yml @@ -4,6 +4,8 @@ on: - main pull_request: types: [opened, reopened, synchronize, ready_for_review] + schedule: + - cron: "0 0 */2 * *" parameters: timeout: 20 diff --git a/.daisy/python_venv.yml b/.daisy/python_venv.yml index 1ee8d0e..c7ed591 100644 --- a/.daisy/python_venv.yml +++ b/.daisy/python_venv.yml @@ -4,6 +4,8 @@ on: - main pull_request: types: [opened, reopened, synchronize, ready_for_review] + schedule: + - cron: "0 0 */2 * *" parameters: timeout: 20 diff --git a/.daisy/tenstorrent_metalium.yml.outdated b/.daisy/tenstorrent_metalium.yml.outdated index f35157a..daced6f 100644 --- a/.daisy/tenstorrent_metalium.yml.outdated +++ b/.daisy/tenstorrent_metalium.yml.outdated @@ -4,6 +4,8 @@ on: - main pull_request: types: [opened, reopened, synchronize, ready_for_review] + schedule: + - cron: "0 0 */2 * *" parameters: timeout: 30 diff --git a/.daisy/tenstorrent_ttnn.yml.outdated b/.daisy/tenstorrent_ttnn.yml.outdated index 9a8576a..4d03bd0 100644 --- a/.daisy/tenstorrent_ttnn.yml.outdated +++ b/.daisy/tenstorrent_ttnn.yml.outdated @@ -4,6 +4,9 @@ on: - main pull_request: types: [opened, reopened, synchronize, ready_for_review] + schedule: + - cron: "0 0 */2 * *" + parameters: timeout: 30 From 391e429cdbcd0ba5eba48478c77e186f7c005a2c Mon Sep 17 00:00:00 2001 From: Nora Hagmeyer Date: Fri, 7 Nov 2025 15:17:32 +0100 Subject: [PATCH 2/2] Remove everything but matmul --- .daisy/c_docc.yml | 8 +---- .daisy/c_gcc.yml | 25 --------------- .daisy/cuda.yml | 24 -------------- .daisy/onnx.yml | 21 ------------ .daisy/python_apt.yml | 23 ------------- .daisy/python_conda.yml | 22 ------------- .daisy/python_venv.yml | 26 --------------- .daisy/tenstorrent_metalium.yml.outdated | 28 ---------------- .daisy/tenstorrent_ttnn.yml.outdated | 27 ---------------- .daisy/tflite_coral.yml | 41 ------------------------ 10 files changed, 1 insertion(+), 244 deletions(-) delete mode 100644 .daisy/c_gcc.yml delete mode 100644 .daisy/cuda.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/tenstorrent_metalium.yml.outdated delete mode 100644 .daisy/tenstorrent_ttnn.yml.outdated delete mode 100644 .daisy/tflite_coral.yml diff --git a/.daisy/c_docc.yml b/.daisy/c_docc.yml index 397e69a..6fe6ffd 100644 --- a/.daisy/c_docc.yml +++ b/.daisy/c_docc.yml @@ -15,14 +15,8 @@ parameters: steps: build: | - docc -Xclang -no-opaque-pointers -g -O1 -mllvm -hotspot -o c/matmul.out c/matmul.c -ldaisy_rtl + docc -g -O1 -mllvm -docc-tune=sequential -o c/matmul.out c/matmul.c 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 ece8c96..0000000 --- a/.daisy/c_gcc.yml +++ /dev/null @@ -1,25 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - schedule: - - cron: "0 0 */2 * *" - -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 deleted file mode 100644 index 4584cc9..0000000 --- a/.daisy/cuda.yml +++ /dev/null @@ -1,24 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - schedule: - - cron: "0 0 */2 * *" - -parameters: - timeout: 10 - partitions: - - zinnia - -steps: - build: | - nvcc -O1 -g -o cuda/matmul.out cuda/matmul.cu - - run: - matmul_cu: - command: ./cuda/matmul.out - measurements: 5 - profiler: nsys - kernels: true diff --git a/.daisy/onnx.yml b/.daisy/onnx.yml deleted file mode 100644 index c325c9d..0000000 --- a/.daisy/onnx.yml +++ /dev/null @@ -1,21 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - schedule: - - cron: "0 0 */2 * *" - -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 13bc223..0000000 --- a/.daisy/python_apt.yml +++ /dev/null @@ -1,23 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - schedule: - - cron: "0 0 */2 * *" - -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 c7ed591..0000000 --- a/.daisy/python_venv.yml +++ /dev/null @@ -1,26 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - schedule: - - cron: "0 0 */2 * *" - -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/tenstorrent_metalium.yml.outdated b/.daisy/tenstorrent_metalium.yml.outdated deleted file mode 100644 index daced6f..0000000 --- a/.daisy/tenstorrent_metalium.yml.outdated +++ /dev/null @@ -1,28 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - schedule: - - cron: "0 0 */2 * *" - -parameters: - timeout: 30 - partitions: - - zinnia - -steps: - build: | - cd tenstorrent/metalium/matmul_single_core - export TT_METAL_HOME=$TT_METAL_INSTALL_HOME - cmake . -B build -G Ninja - cmake --build build - run: - matmul_single_core: - command: ./build/demo - cwd: tenstorrent/metalium/matmul_single_core - env: - TT_METAL_HOME: $TT_METAL_INSTALL_HOME - measurements: 3 - profiler: perf diff --git a/.daisy/tenstorrent_ttnn.yml.outdated b/.daisy/tenstorrent_ttnn.yml.outdated deleted file mode 100644 index 4d03bd0..0000000 --- a/.daisy/tenstorrent_ttnn.yml.outdated +++ /dev/null @@ -1,27 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - schedule: - - cron: "0 0 */2 * *" - - -parameters: - timeout: 30 - partitions: - - chamomile - -steps: - build: | - cd tenstorrent/ttnn - python3 -m venv venv - . venv/bin/activate - pip config set global.extra-index-url https://download.pytorch.org/whl/cpu - pip install /opt/tenstorrent/wheels/ttnn-0.58.0rc25+gg33cbd50ba3-cp312-cp312-linux_x86_64.whl - run: - matmul_ttnn: - command: venv/bin/python3 matmul_tutorial.py - cwd: tenstorrent/ttnn - measurements: 3 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