Skip to content

Instantly share code, notes, and snippets.

@xwjiang2010
Created August 11, 2021 00:23
Show Gist options
  • Save xwjiang2010/13e6df091e5938aff5b44769bec8ffb8 to your computer and use it in GitHub Desktop.
Save xwjiang2010/13e6df091e5938aff5b44769bec8ffb8 to your computer and use it in GitHub Desktop.
test_sample.py issues on clean head
(pid=92848) 2021-08-10 14:39:51,119 ERROR function_manager.py:505 -- Failed to load actor class ImplicitFunc.
(pid=92848) Traceback (most recent call last):
(pid=92848) File "/Users/xwjiang/ray/python/ray/_private/function_manager.py", line 503, in _load_actor_class_from_gcs
(pid=92848) actor_class = pickle.loads(pickled_class)
(pid=92848) ModuleNotFoundError: No module named 'test_sample'
(pid=92848) 2021-08-10 14:39:51,121 ERROR worker.py:428 -- Exception raised in creation task: The actor died because of an error raised in its creation task, ray::ImplicitFunc.__init__() (pid=92848, ip=10.0.0.111)
(pid=92848) File "python/ray/_raylet.pyx", line 531, in ray._raylet.execute_task
(pid=92848) with ray.worker._changeproctitle(title, next_title):
(pid=92848) File "python/ray/_raylet.pyx", line 535, in ray._raylet.execute_task
(pid=92848) outputs = function_executor(*args, **kwargs)
(pid=92848) File "python/ray/_raylet.pyx", line 485, in ray._raylet.execute_task.function_executor
(pid=92848) return function(actor, *arguments, **kwarguments)
(pid=92848) File "/Users/xwjiang/ray/python/ray/_private/function_manager.py", line 563, in actor_method_executor
(pid=92848) return method(__ray_actor, *args, **kwargs)
(pid=92848) File "/Users/xwjiang/ray/python/ray/_private/function_manager.py", line 468, in temporary_actor_method
(pid=92848) raise RuntimeError(f"The actor with name {actor_class_name} "
(pid=92848) RuntimeError: The actor with name ImplicitFunc failed to be imported, and so cannot execute this method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment