Created by: TomorrowIsAnOtherDay
This PR includes the following points:
- logger.py: no directory to be created automatically when calling
from parl.utils import logger
. - Client: we have disentangled the client from the master node. Now when a client ends, all of the connections between actors and jobs are terminated automatically. This is implemented by heartbeat detection between the job and the actor.
- Actor: the actor pings a job before connecting the job_address to avoid that the job has been exited exceptionally.
- JobCenter: we add a thread-safe data structure to manage the CPU resources of the cluster.