Skip to content

Commit caa5042

Browse files
committed
add limitation
1 parent c33f66c commit caa5042

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/cpp/aot_inductor/bert/aot_compile_export.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
)
1212

1313
set_seed(1)
14+
# PT2.2 has limitation on the max
1415
MAX_BATCH_SIZE = 15
15-
MAX_LENGTH = 1024
16+
MAX_LENGTH = 511
1617

1718

1819
def transformers_model_dowloader(

0 commit comments

Comments
 (0)