Skip to content
Merged
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
9 changes: 7 additions & 2 deletions extension/llm/modules/test/test_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ def test_attention_export(self):

assert_close(et_res, tt_res)

@unittest.skip(reason="TODO(T207740932): test is flaky")
@unittest.skipIf(
int(os.getenv("RUN_SKIPPED", 0)) < 1, reason="TODO(T207740932): test is flaky"
)
def test_attention_aoti(self):
# Self attention.

Expand All @@ -168,7 +170,10 @@ def test_attention_aoti(self):
self.et_mha,
args=(self.x, self.x),
kwargs={"input_pos": self.input_pos},
options={"aot_inductor.package": True},
options={
"aot_inductor.package": True,
"reorder_for_peak_memory": False,
},
dynamic_shapes=self.dynamic_shapes,
)
with tempfile.TemporaryDirectory() as tempdir:
Expand Down
Loading