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

Pass entire policy in blackbox_learner #366

Merged

Conversation

boomanaiden154
Copy link
Collaborator

@boomanaiden154 boomanaiden154 commented Sep 13, 2024

This patch adjusts blackbox_learner so that it returns an entire policy rather than just the bytes of the policy. When actually running evaluations, we need to write out the full policy, including the output spec, to disk so the compiler can pick it up. Before this patch, we were not passing along the output spec to the worker.

@mtrofin mtrofin changed the title Serialize entire policy in blackbox_learner Pass entire policy in blackbox_learner Sep 13, 2024
@boomanaiden154 boomanaiden154 force-pushed the users/boomanaiden154/blackbox-evaluator branch from ea3bb06 to 993b996 Compare September 16, 2024 21:53
Base automatically changed from users/boomanaiden154/blackbox-evaluator to main September 16, 2024 22:01
@boomanaiden154 boomanaiden154 force-pushed the users/boomanaiden154/serialize-policy-not-bytes branch from de6ed8d to ce6a42c Compare September 16, 2024 22:06
This patch adjusts blackbox_learner so that it returns an entire policy
rather than just the bytes of the policy. When actually running
evaluations, we need to writ out the full policy, including the output
spec, to disk so the compiler can pick it up. Before this patch, we were
not passing along the output spec to the worker.
@boomanaiden154 boomanaiden154 force-pushed the users/boomanaiden154/serialize-policy-not-bytes branch from ce6a42c to e892b8a Compare September 16, 2024 22:07
@boomanaiden154 boomanaiden154 merged commit 5230947 into main Sep 16, 2024
17 checks passed
@boomanaiden154 boomanaiden154 deleted the users/boomanaiden154/serialize-policy-not-bytes branch September 16, 2024 22:11
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.

2 participants