-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Closed
Description
The file python/ray/worker.py is a bit of a mess. We should restructure it in some of the following ways.
- There should be a
Workerclass which has a local scheduler client, object store client, and Redis client. It should be possible to instantiate multipleWorkerobjects. More of the functions inworker.pyshould be part of theWorkerclass. - There should be a separate Python file that implements the Ray API (and which creates a global
Workerobject to use as the default worker). The Ray API calls would essentially be forwarded to method calls on the global worker object. - The remote decorator should be implemented in a separate file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels