Skip to content

Implement make_policy in ARSBuilder#370

Open
irhyl wants to merge 2 commits into
google-deepmind:masterfrom
irhyl:ars-make-policy
Open

Implement make_policy in ARSBuilder#370
irhyl wants to merge 2 commits into
google-deepmind:masterfrom
irhyl:ars-make-policy

Conversation

@irhyl

@irhyl irhyl commented Jun 29, 2026

Copy link
Copy Markdown

ARSBuilder was the only builder in acme/agents/jax that did not implement make_policy. The base class raises NotImplementedError for it, with a comment noting it should be made abstract once all agents implement it -- ARS was the remaining blocker.

The implementation delegates to make_policy_network, which already exists in ars/networks.py and handles the behavior/eval distinction via its eval_mode flag. The only other change is adding the missing import for ars/networks.

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.

1 participant