[RLlib] Multi-agent test and support envs that sometimes return empty obs-dicts (no agent requesting an action).#30413
Merged
sven1977 merged 10 commits intoray-project:masterfrom Nov 18, 2022
Conversation
gjoliver
approved these changes
Nov 17, 2022
Member
gjoliver
left a comment
There was a problem hiding this comment.
nice test. we will try enable_connectors=True with this test merged.
thanks.
…i_agent_support_zero_agents_in_obs_dict
WeichenXu123
pushed a commit
to WeichenXu123/ray
that referenced
this pull request
Dec 19, 2022
… obs-dicts (no agent requesting an action). (ray-project#30413) Signed-off-by: Weichen Xu <weichen.xu@databricks.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: sven1977 svenmika1977@gmail.com
Multi-agent test and support envs that sometimes return empty obs-dicts (no agent requesting an action).
config.rollouts(enable_connectors=False)), but seems to break when connectors are enabled (hence we are using EpisodeV2, see bug below).EpisodeV2::has_init_obs()bug for whenagent_id==0(if-block should checkis not None).Why are these changes needed?
Related issue number
Checks
git commit -s) in this PR.scripts/format.shto lint the changes in this PR.