seed_rl icon indicating copy to clipboard operation
seed_rl copied to clipboard

Problem of Running distributed version

Open Maxwell2017 opened this issue 4 years ago • 8 comments

@lespeholt Can distributed version use local server instead of GCP?Looking forward to your reply:)

Maxwell2017 avatar Jan 20 '21 09:01 Maxwell2017

Yes. The local script in the readme runs the actors and learner in separate processes.

lespeholt avatar Jan 21 '21 12:01 lespeholt

Yes. The local script in the readme runs the actors and learner in separate processes.

Is there a document reference to deploy SEED RL on our own server instead of using GCP, README.md has no relevant information, thank you very much

Crazyalltnt avatar Jan 21 '21 15:01 Crazyalltnt

The same question as Crazyalltnt. @lespeholt

Maxwell2017 avatar Jan 21 '21 15:01 Maxwell2017

server_address can be changed here: https://github.com/google-research/seed_rl/blob/master/common/common_flags.py#L23 it can also be set to e.g. unix:/tmp/agent_grpc for using Unix domain sockets instead of the network stack.

Other than that, you see the flags applied in the docker file: https://github.com/google-research/seed_rl/blob/master/docker/run.sh#L52

lespeholt avatar Jan 21 '21 17:01 lespeholt

Hi @Crazyalltnt @Maxwell2017 when you refer to local machine do you mean GPU or just a single CPU?

Pranav-India avatar Apr 07 '21 10:04 Pranav-India

I mean local servers, not cloud servers

Maxwell2017 avatar Apr 07 '21 10:04 Maxwell2017

Hi @Maxwell2017 ,ok thank you. do you know if I can run this SEED_RL on a single CPU?

Pranav-India avatar Apr 07 '21 11:04 Pranav-India

@Pranav-India Sorry to reply you so late, I think it can run on cpu machine. However, the learner generally runs on gpu. If you use cpu, the distributed acceleration effect may not be achieved.

Maxwell2017 avatar Apr 19 '21 12:04 Maxwell2017