Skip to content

Commit

Permalink
Remove attention transform dialect e2e tests (iree-org#17682)
Browse files Browse the repository at this point in the history
With iree-org#17681 , the state of
attention codegen for llvm-cpu is at a good enough place where we don't
need to rely on a transform dialect spec (at least for llvm-cpu)
anymore.

This patch removes e2e tests for the attention transform dialect spec as
it adds more burden on a path that will probably not be maintained in
the future. There are some e2e correctness tests in e2e/linalg_ext/ that
check correctness for small test cases and pkgci running sdxl +
attention tests.
  • Loading branch information
Groverkss authored Jun 17, 2024
1 parent 7b782a8 commit a6c5ebf
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 108 deletions.
2 changes: 0 additions & 2 deletions tests/transform_dialect/cpu/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ package(
iree_lit_test_suite(
name = "lit",
srcs = [
"attention.mlir",
"contraction-packing.mlir",
"contraction-packing-and-dispatch.mlir",
# DISABLED: incorrectly assuming default flag values.
Expand All @@ -28,7 +27,6 @@ iree_lit_test_suite(
# transform dialect spec files are MLIR files that specify a transformation,
# they need to be included as data.
data = [
"attention_codegen_spec.mlir",
"matmul_codegen_default_spec.mlir",
"transform_library.mlir",
],
Expand Down
2 changes: 0 additions & 2 deletions tests/transform_dialect/cpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ iree_lit_test_suite(
NAME
lit
SRCS
"attention.mlir"
"contraction-packing-and-dispatch.mlir"
"contraction-packing.mlir"
"fold_tensor_slice_into_transfer.mlir"
Expand All @@ -27,7 +26,6 @@ iree_lit_test_suite(
iree-opt
iree-run-module
DATA
attention_codegen_spec.mlir
matmul_codegen_default_spec.mlir
transform_library.mlir
LABELS
Expand Down
17 changes: 0 additions & 17 deletions tests/transform_dialect/cpu/attention.mlir

This file was deleted.

87 changes: 0 additions & 87 deletions tests/transform_dialect/cpu/attention_codegen_spec.mlir

This file was deleted.

0 comments on commit a6c5ebf

Please sign in to comment.