diff --git a/.daisy/c_docc.yml b/.daisy/c_docc.yml index a3c4e04..6fe6ffd 100644 --- a/.daisy/c_docc.yml +++ b/.daisy/c_docc.yml @@ -4,22 +4,19 @@ on: - main pull_request: types: [opened, reopened, synchronize, ready_for_review] + schedule: + - cron: "0 0 */2 * *" parameters: timeout: 20 partitions: - bellis5 + - chamomile 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 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 deleted file mode 100644 index a9927e7..0000000 --- a/.daisy/cuda.yml +++ /dev/null @@ -1,22 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - -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 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/tenstorrent_metalium.yml.outdated b/.daisy/tenstorrent_metalium.yml.outdated deleted file mode 100644 index f35157a..0000000 --- a/.daisy/tenstorrent_metalium.yml.outdated +++ /dev/null @@ -1,26 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - -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 9a8576a..0000000 --- a/.daisy/tenstorrent_ttnn.yml.outdated +++ /dev/null @@ -1,24 +0,0 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, reopened, synchronize, ready_for_review] - -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