Skip to content

Conversation

@ericl
Copy link
Contributor

@ericl ericl commented Mar 5, 2019

What do these changes do?

Add a variant of remote_worker_envs, async_remote_worker_envs, that does dynamic batching as envs complete. It also supports multi-agent.

Related issue number

Closes #4235

@ericl
Copy link
Contributor Author

ericl commented Mar 5, 2019

@bjg2 this unifies the vectorized and multi-agent code paths for remote envs, and adds support for asynchronous execution. Let me know if I missed anything.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/12539/
Test FAILed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/12540/
Test FAILed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/12557/
Test FAILed.

@bjg2
Copy link
Contributor

bjg2 commented Mar 5, 2019

@bjg2 this unifies the vectorized and multi-agent code paths for remote envs, and adds support for asynchronous execution. Let me know if I missed anything.

Looks good! I'm just not sure naming nailed it. Word Vector is omitted and Async is in there even though it might be sync (it is an argument). Maybe RemoveBaseEnv or something like that?

return obs


@ray.remote(num_cpus=0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wouldn't be surprised if this requires GPU resources in the future (no need to address this rn)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think so too.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/12652/
Test FAILed.

@ericl ericl merged commit c7f74db into ray-project:master Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants