-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transformer 多进程单卡下报错 #81
Comments
@ccmeteorljh 为什么是多进程单卡? |
设置了,想试试多进程模式下单卡和单进程单卡下的速度对比如何,上面那个问题import一下就可以了 Traceback (most recent call last):
File "train.py", line 785, in <module>
train(args)
File "train.py", line 703, in train
token_num, predict, pyreader)
File "train.py", line 534, in train_loop
feed=feed_dict_list)
File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/paddle/fluid/parallel_executor.py", line 286, in run
return_numpy=return_numpy)
File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/paddle/fluid/executor.py", line 640, in run
return_numpy=return_numpy)
File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/paddle/fluid/executor.py", line 482, in _run_parallel
"Feed a list of tensor, the list should be the same size as places"
ValueError: Feed a list of tensor, the list should be the same size as places |
老哥,你怎么解决的,求教,我也出现同样的问题 |
@QianShengWu 目前还不支持多进程单卡模式 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/PaddlePaddle/benchmark/blob/master/NeuralMachineTranslation/Transformer/fluid/train/train.py#L616
The text was updated successfully, but these errors were encountered: