Skip to content

Commit 77939dd

Browse files
committed
fix dynamic shape
1 parent 31dfd97 commit 77939dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_unittests/ut_export/test_dynamic_shapes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,9 +859,9 @@ def test_unbatch_inputs(self):
859859
)
860860
s = self.string_type(new_dims, with_shape=True)
861861
self.assertEqual(
862-
"dict(input_ids:T7s1x3,attention_mask:T7s1x33,position_ids:T7s1x3,"
862+
"dict(input_ids:T7s1x1,attention_mask:T7s1x33,position_ids:T7s1x1,"
863863
"past_key_values:DynamicCache("
864-
"key_cache=#1[T1s1x1x30x96], value_cache=#1[T1s1x1x30x96]))",
864+
"key_cache=#1[T1s1x1x32x96], value_cache=#1[T1s1x1x32x96]))",
865865
s,
866866
)
867867

0 commit comments

Comments
 (0)