Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

fluid 1.5.1 提交paddlecloud作业, PaddleCloudRoleMaker | UserDefinedRoleMaker失败

Open sshilei opened this issue 7 years ago • 8 comments

image

PaddleCloudRoleMaker() endpoints: 10.104.66.32:30000

Traceback (most recent call last):

File "frame/core/paddlecloud_cpu_trainer.py", line 142, in

ret = trainer.start(sys.argv)

File "/root/paddlejob/workspace/env_run/frame/core/base_trainer.py", line 367, in start

self.set_optimizer(FLAGS, net_output)

File "frame/core/paddlecloud_cpu_trainer.py", line 82, in set_optimizer

sgd_optimizer.minimize(net_output['loss'], fluid.default_startup_program())

File "/usr/local/lib/python2.7/site-packages/paddle/fluid/incubate/fleet/collective/init.py", line 125, in minimize

current_endpoint = fleet.worker_endpoints()[trainer_id]

IndexError: list index out of range

sshilei avatar Aug 06 '19 02:08 sshilei

is it a CPU or GPU task? could you share your submit script?

gavin1332 avatar Aug 06 '19 02:08 gavin1332

CPU, 集群 。 能帮忙提供一下提交paddlecloud分布式任务的例子吗?最好提供一个1.5.1可用的,我找到一些都是基于开发版的,谢谢。

sshilei avatar Aug 06 '19 02:08 sshilei

@gavin1332

sshilei avatar Aug 06 '19 02:08 sshilei

改成UserDefinedRoleMaker会报另外一个错误 image

sshilei avatar Aug 06 '19 06:08 sshilei

image

sshilei avatar Aug 06 '19 06:08 sshilei

  1. 使用的是 transpiler模式还是pslib模式
  2. 可以基于develop进行测试和效果验证

seiriosPlus avatar Aug 07 '19 02:08 seiriosPlus

@sshilei 请使用PaddleCloudRoleMaker,有问题到飞桨Fleet推广群提问,1481295

guru4elephant avatar Aug 09 '19 01:08 guru4elephant

Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

paddle-bot-old avatar Aug 10 '20 09:08 paddle-bot-old