Skip to content

Commit 456c72e

Browse files
committed
fix msc testcase
1 parent 6665a23 commit 456c72e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/python/contrib/test_msc/test_graph_build.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2364,9 +2364,9 @@ def forward(self, q_data, k_data, v_data):
23642364
"outputs": [
23652365
{
23662366
"name": "attention",
2367-
"shape": [1, seq, 8, 64],
2367+
"shape": [1, 8, seq, 64],
23682368
"dtype": "float32",
2369-
"layout": "ABCD",
2369+
"layout": "ACBD",
23702370
}
23712371
],
23722372
"nodes": {"total": 4, "input": 3, "msc.attention": 1},
@@ -2396,9 +2396,9 @@ def forward(self, q_data, k_data, v_data, mask):
23962396
"outputs": [
23972397
{
23982398
"name": "attention_bias",
2399-
"shape": [1, seq, 8, 64],
2399+
"shape": [1, 8, seq, 64],
24002400
"dtype": "float32",
2401-
"layout": "ABCD",
2401+
"layout": "ACBD",
24022402
}
24032403
],
24042404
"nodes": {"total": 5, "input": 4, "msc.attention": 1},

0 commit comments

Comments
 (0)