未验证 提交 a06f4b2b 编写于 作者: J Jiabin Yang 提交者: GitHub

make less batch of tests to fit ci (#16706)

* make less batch of tests to fit ci

* test=develop, invoke ci

add some comments back
上级 55b15db5
...@@ -302,11 +302,8 @@ use_py_reader = False ...@@ -302,11 +302,8 @@ use_py_reader = False
# if we run sync mode # if we run sync mode
sync = False sync = False
if not core.is_compiled_with_cuda(): # how many batches we use
# how many batches we use batch_num = 5
batch_num = 50
else:
batch_num = 5
np.random.seed = 1 np.random.seed = 1
src_word_np = np.random.randint( src_word_np = np.random.randint(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册