Skip to content

Commit 7ae79fb

Browse files
Merge pull request #5 from daisytuner/tenstorrent
adds tenstorrent examples
2 parents d13c432 + 0e4c804 commit 7ae79fb

19 files changed

+3288
-0
lines changed

.daisy/test_metal.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
6+
types: [opened, reopened, synchronize, ready_for_review]
7+
8+
parameters:
9+
timeout: 30
10+
partitions:
11+
- zinnia
12+
13+
steps:
14+
build: |
15+
cd metal/matmul_single_core
16+
export TT_METAL_HOME=$TT_METAL_INSTALL_HOME
17+
cmake . -B build -G Ninja
18+
cmake --build build
19+
run:
20+
matmul_single_core:
21+
command: ./build/demo
22+
cwd: metal/matmul_single_core
23+
env:
24+
TT_METAL_HOME: $TT_METAL_INSTALL_HOME
25+
measurements: 3
26+
profiler: perf

.daisy/test_ttnn.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
6+
types: [opened, reopened, synchronize, ready_for_review]
7+
8+
parameters:
9+
timeout: 30
10+
partitions:
11+
- chamomile
12+
13+
steps:
14+
build: |
15+
cd ttnn
16+
python3 -m venv venv
17+
. venv/bin/activate
18+
pip config set global.extra-index-url https://download.pytorch.org/whl/cpu
19+
pip install /opt/tenstorrent/wheels/ttnn-0.58.0rc25+gg33cbd50ba3-cp312-cp312-linux_x86_64.whl
20+
run:
21+
matmul_ttnn:
22+
command: venv/bin/python3 matmul_tutorial.py
23+
cwd: ttnn
24+
measurements: 3
25+
profiler: py-spy

0 commit comments

Comments
 (0)