motional / nuplan-devkit

The devkit of the nuPlan dataset.
https://www.nuplan.org
Other
662 stars 126 forks source link

Failed to register worker to Raylet #328

Open Capchenxi opened 1 year ago

Capchenxi commented 1 year ago

Hello,

I'm runing the "Launch training (within the notebook)" part in nuplan_framework.ipynb, but encounter the error

core_worker.cc:191: Failed to register worker 01000000fffffffffffffffffffffffffffffffffffffffffffff to Raylet. IOError: [RayletClient] Unable to register worker with raylet. No such file or directory.

Any idea on how to solve this? I tried on some ways mentioned the Raylet repo but still got this error when runing the nuplan_framework.ipynb.

gsg213 commented 1 year ago

Hello @Capchenxi,

I had the same error but I was able to fix it, here is what I did.

I checked conda list for grpcio, and realized it was installed with pip.

I uninstalled grpcio using pip uninstall grpcio and reinstalled using conda install grpcio.

Also, try to increase the ulimit -u 127590.

Finally, if this doesn't work try to check the log cat /tmp/ray/session_latest/logs/dashboard_agent.log to have further information.

Hope it helps.

mhshen commented 8 months ago

Hello @Capchenxi ,

I had the same error. I guess the problem is we did not install ray correctly. I modified the requirements.txt file, changed ray to ray[all] (maybe ray[default] is enough?), and the problem is solved.