Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RLlib] CQL: training iteration function and new buffer API. #24166

Merged
merged 9 commits into from
Apr 26, 2022

Conversation

sven1977
Copy link
Contributor

@sven1977 sven1977 commented Apr 25, 2022

CQL: training iteration function and new buffer API.

@ArturNiederfahrenhorst , ready for review once we have merged your SAC training iteration function PR.

Why are these changes needed?

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

> 0.0
) or isinstance(
replay_buffer, MultiAgentPrioritizedReplayBuffer
):
Copy link
Member

Choose a reason for hiding this comment

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

raise exception if things are configured incorrectly, instead of silently skip the action?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not in this case, as we simply then don't want to do anything :)
If buffer doesn't support priorities, we'll ignore this call.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hence the comment above:

    # Only update priorities if buffer supports them.

…training_itr

# Conflicts:
#	rllib/agents/cql/cql.py
@sven1977 sven1977 merged commit bb4e5cb into ray-project:master Apr 26, 2022
@sven1977 sven1977 deleted the cql_training_itr branch June 2, 2023 20:17
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.

None yet

3 participants