ray: RayWorkerError: The worker died unexpectedly while executing this task.

Describe the problem

A Modin user has reported a RayWorkerError with running df.head(), which involves some ray.get calls.

Source code / logs

See https://github.com/modin-project/modin/issues/746

cc @masoodimran

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 38 (13 by maintainers)

Most upvoted comments

I have the same problem while reading csv. Just simple pd.read_csv()

Recently, I also faced a similar issue with an error “ray.exception.WorkerCrashedError. The worker died unexpectedly while executing this task.”.

But the issue arose only when I use many cores. For example, if I generate jobs for 20 cores to calculate, ray gave me the error. However, if I reduce the core counts (but the same task) down to 10, the error disappears.

Currently, I am okay with 10 cores so this issue is not that urgent, but I am wondering this is a known issue or not.

Thank you in advance!

Just checked it is typing 3.7.4

On Mon, 12 Aug 2019, 20:34 Simon Mo, notifications@github.com wrote:

@AcWd https://github.com/AcWd can I ask what version is the typing module? I’m trying to reproduce it.

You can check the version by pip install typing. Since you already have the package, pip will skip the installation.

This is what mine looks like

(py3.7) > pip install typing Requirement already satisfied: typing in ./anaconda3/envs/py3.7/lib/python3.7/site-packages (3.7.4)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ray-project/ray/issues/5316?email_source=notifications&email_token=ABRQ43XP2VSSHZJ6EMS5NTDQEG3NLA5CNFSM4IH6XQF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DS4RI#issuecomment-520564293, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRQ43RT6OJIUNKCVSASKPLQEG3NLANCNFSM4IH6XQFQ .

I had the same problem. I uninstalled the typing package after reading this issue https://github.com/ray-project/ray/issues/4929 and it worked for me.

With the typing package installed, when I ran the tests on ray using this command python -m pytest -v ray/tests/test_mini.py they all failed.