Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 4 additions & 3 deletions benchmark/one-level-arch/compile_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,17 @@ compile_operator "$REPO_ROOT/test/kernel/reduction/reducesum_row" "reducesum_row
compile_operator "$REPO_ROOT/test/kernel/control" "control"
compile_operator "$REPO_ROOT/test/kernel/fa" "fa"
compile_operator "$REPO_ROOT/test/kernel/sort" "sort"
compile_operator "$REPO_ROOT/test/kernel/deepseek" "deepseek"
compile_operator "$REPO_ROOT/test/kernel/flashMLA" "flashMLA"
compile_operator "$REPO_ROOT/test/solution/normalization/rms_norm" "solution/normalization/rms_norm"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore DeepSeek to the full compilation list

Keep the existing test/kernel/deepseek invocation when adding the solution cases. That directory and its compile.all script are still present and cover numerous DeepSeek kernels, but this hunk removes their only entry from compile_all.sh; users running the advertised full compilation will therefore stop receiving those ELFs or detecting compilation regressions in them.

Useful? React with 👍 / 👎.

compile_operator "$REPO_ROOT/test/solution/normalization/rms_norm_binary" "solution/normalization/rms_norm_binary"
compile_operator "$REPO_ROOT/test/solution/normalization/group_norm_grad" "solution/normalization/group_norm_grad"
compile_operator "$REPO_ROOT/test/solution/normalization/group_norm_grad_1d" "solution/normalization/group_norm_grad_1d"
compile_operator "$REPO_ROOT/test/kernel/multi_thread/vec" "multi_thread/vec"
compile_operator "$REPO_ROOT/test/kernel/multi_thread/broadcast" "multi_thread/broadcast"
compile_operator "$REPO_ROOT/test/kernel/multi_thread/concat" "multi_thread/concat"
compile_operator "$REPO_ROOT/test/kernel/multi_thread/conv2d" "multi_thread/conv2d"
compile_operator "$REPO_ROOT/test/kernel/multi_thread/element_wise/gelu" "multi_thread/element_wise/gelu"
compile_operator "$REPO_ROOT/test/kernel/multi_thread/gather" "multi_thread/gather"
compile_operator "$REPO_ROOT/test/kernel/multi_thread/normalization/rms_norm" "multi_thread/normalization/rms_norm"
compile_operator "$REPO_ROOT/test/kernel/multi_thread/normalization/rms_norm_binary" "multi_thread/normalization/rms_norm_binary"
compile_operator "$REPO_ROOT/test/kernel/multi_thread/reduction/cumsum_row" "multi_thread/reduction/cumsum_row"
compile_operator "$REPO_ROOT/test/kernel/multi_thread/reduction/reducemax_row" "multi_thread/reduction/reducemax_row"
compile_operator "$REPO_ROOT/test/kernel/multi_thread/reduction/reduceprod_row" "multi_thread/reduction/reduceprod_row"
Expand Down
13 changes: 1 addition & 12 deletions benchmark/one-level-arch/kernels/multi_thread/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ divisible by the PE count. This is checked at compile time.
| Shared Matmul | `matmul/matmul_shared.hpp` |
| Shared-B-reuse Matmul | `matmul/matmul_shared_reuseB.hpp` |
| Low-precision Matmul | `matmul/matmul_shared_lowp.hpp` |
| RMSNorm | `normalization/rms_norm/rms_norm.hpp` |
| Binary-accumulation RMSNorm | `normalization/rms_norm_binary/rms_norm_binary.hpp` |
| Row Cumsum | `reduction/cumsum_rowvec.hpp` |
| Row Max/Prod/Sum | `reduction/reducemax_rowvec.hpp`, `reduction/reduceprod_rowvec.hpp`, `reduction/reducesum_rowvec.hpp` |
| 2D Transpose | `transpose/transpose.hpp` |
Expand All @@ -43,7 +41,6 @@ Kernel and test paths mirror the single-PE tree. For example:
| `kernels/single_thread/gather/gather.hpp` | `kernels/multi_thread/gather/gather.hpp` |
| `test/kernel/gather/` | `test/kernel/multi_thread/gather/` |
| `test/kernel/element_wise/gelu/` | `test/kernel/multi_thread/element_wise/gelu/` |
| `test/kernel/normalization/rms_norm_binary/` | `test/kernel/multi_thread/normalization/rms_norm_binary/` |

Each operator directory has its own `Makefile`, `compile.all`, and `src/`
instead of sharing a mixed test source. One model failure therefore does not
Expand Down Expand Up @@ -187,7 +184,6 @@ Run one or more named cases:

```bash
python3 benchmark/one-level-arch/test/kernel/multi_thread/res_check_all.py \
broadcast fa matmul_shared rms_norm
```

Run the complete representative numerical portfolio:
Expand Down Expand Up @@ -242,20 +238,13 @@ coverage for the other precision variants.
| `matmul_shared` | PASS | 0 |
| `matmul_reuseB` | PASS | 0 |
| `matmul_lowp` FP8 | PASS | 0 |
| `rms_norm` | PASS | 0.000976562 |
| `rms_norm_binary` | PASS | 0.000976562 |
| `cumsum_row` | PASS | 0 |
| `reducemax_row` | FAIL | 0.999606; row-result physical stride mismatch |
| `reduceprod_row` | FAIL | 1.06037; row-result physical stride mismatch |
| `reducesum_row` | PASS | 5.72205e-06 |
| `transpose` | PASS | 0 |
| `tadd` | PASS | 0 |
| **Total** | **14 PASS / 4 FAIL / 0 TIMEOUT** | **18 representative cases** |

Two RMSNorm cases initially failed because the old Newton iteration used
`TRECIP(x)` as the inverse-square-root seed. With the current compiler's
`TRSQRT` support, replacing that sequence with `TRSQRT` reduced the maximum
absolute error to 0.000976562 and made both cases pass.
| **Total** | **12 PASS / 4 FAIL / 0 TIMEOUT** | **16 representative cases** |

The remaining failures are kernel/API-model issues exposed by numerical
checking, rather than binary I/O or four-PE synchronization failures:
Expand Down

This file was deleted.

This file was deleted.

Empty file.
Loading