Hello,
I upgraded to Ray 1.3.0 from 1.2.0 and getting errors below (shorten). I’ve created two virtualenv using pyenv; one 1.2.0 that runs fine and 1.3.0 runs with errors. My gist has all relevant files to replicate the errors (script, requirements.txt, pip list, full error prints). The test script uses RLlib to train A3C against SimpleCorridor.
I am running on MacOS. Python 3.7.8.
(pid=45233) 2021-05-24 11:19:57,768 ERROR worker.py:382 -- SystemExit was raised from the worker
(pid=45233) Traceback (most recent call last):
(pid=45233) File "python/ray/_raylet.pyx", line 495, in ray._raylet.execute_task
(pid=45233) File "python/ray/_raylet.pyx", line 505, in ray._raylet.execute_task
(pid=45233) File "python/ray/_raylet.pyx", line 449, in ray._raylet.execute_task.function_executor
(pid=45233) File "/Users/rick.lan/.pyenv/versions/ray130tf1/lib/python3.7/site-packages/ray/_private/function_manager.py",
line 556, in actor_method_executor
(pid=45233) return method(__ray_actor, *args, **kwargs)
(pid=45233) File "/Users/rick.lan/.pyenv/versions/ray130tf1/lib/python3.7/site-packages/ray/actor.py", line 1001, in __ray
_terminate__
(pid=45233) ray.actor.exit_actor()
(pid=45233) File "/Users/rick.lan/.pyenv/versions/ray130tf1/lib/python3.7/site-packages/ray/actor.py", line 1077, in exit_
actor
(pid=45233) raise exit
(pid=45233) SystemExit: 0
(pid=45233)
(pid=45233) During handling of the above exception, another exception occurred:
(pid=45233)
(pid=45233) Traceback (most recent call last):
(pid=45233) File "python/ray/_raylet.pyx", line 599, in ray._raylet.task_execution_handler
(pid=45233) File "python/ray/_raylet.pyx", line 451, in ray._raylet.execute_task
(pid=45233) File "python/ray/_raylet.pyx", line 488, in ray._raylet.execute_task
(pid=45233) File "python/ray/includes/libcoreworker.pxi", line 33, in ray._raylet.ProfileEvent.__exit__
(pid=45233) File "/Users/rick.lan/.pyenv/versions/3.7.8/lib/python3.7/traceback.py", line 167, in format_exc
(pid=45233) return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
(pid=45233) File "/Users/rick.lan/.pyenv/versions/3.7.8/lib/python3.7/traceback.py", line 121, in format_exception
(pid=45233) type(value), value, tb, limit=limit).format(chain=chain))
(pid=45233) File "/Users/rick.lan/.pyenv/versions/3.7.8/lib/python3.7/traceback.py", line 508, in __init__
(pid=45233) capture_locals=capture_locals)
(pid=45233) File "/Users/rick.lan/.pyenv/versions/3.7.8/lib/python3.7/traceback.py", line 363, in extract
(pid=45233) f.line
(pid=45233) File "/Users/rick.lan/.pyenv/versions/3.7.8/lib/python3.7/traceback.py", line 285, in line
(pid=45233) self._line = linecache.getline(self.filename, self.lineno).strip()
(pid=45233) File "/Users/rick.lan/.pyenv/versions/3.7.8/lib/python3.7/linecache.py", line 16, in getline
(pid=45233) lines = getlines(filename, module_globals)
(pid=45233) File "/Users/rick.lan/.pyenv/versions/3.7.8/lib/python3.7/linecache.py", line 47, in getlines
(pid=45233) return updatecache(filename, module_globals)
(pid=45233) File "/Users/rick.lan/.pyenv/versions/3.7.8/lib/python3.7/linecache.py", line 95, in updatecache
(pid=45233) stat = os.stat(fullname)
(pid=45233) File "/Users/rick.lan/.pyenv/versions/ray130tf1/lib/python3.7/site-packages/ray/worker.py", line 379, in sigte
rm_handler
(pid=45233) sys.exit(1)
(pid=45233) SystemExit: 1
Gist