-
Notifications
You must be signed in to change notification settings - Fork 903
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
Remove nroll argument from rollout #2246
Remove nroll argument from rollout #2246
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, some comments inline
doc/changelog.rst
Outdated
@@ -56,20 +56,24 @@ MJX | |||
11. Added support for ``eq_active``. Fixes :github:issue:`2173`. | |||
12. Added ray intersection with ellipsoid. | |||
|
|||
Python bindings | |||
^^^^^^^^^^^^^^^ | |||
13. Removed ``nroll`` argument from rollout because its value can always be implied |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the wrong section? Should be at the top of the file "Upcoming version (not yet released)"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, my apologies.
doc/changelog.rst
Outdated
@@ -18,6 +18,7 @@ MJX | |||
Python bindings | |||
^^^^^^^^^^^^^^^ | |||
- Provide prebuilt wheels for Python 3.13. | |||
- Removed ``nroll`` argument from rollout because its value can always be implied |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from rollout -> from :ref:rollout<PyRollout>
(apologies for the markdown, please look at the source of this comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm asking to convert the word "rollout" to an RST link
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like here
Line 558 in e9a2f05
12. Improved the implementation of the :ref:`rollout<PyRollout>` module. Note the changes below are breaking, dependent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, got it!
49c08c1
to
d45d30b
Compare
One test was added for each argument that can be used to infer |
doc/changelog.rst
Outdated
@@ -18,6 +18,7 @@ MJX | |||
Python bindings | |||
^^^^^^^^^^^^^^^ | |||
- Provide prebuilt wheels for Python 3.13. | |||
- Removed ``nroll`` argument from :ref:`rollout<PyRollout>` because its value can always be implied |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- implied -> inferred
- Add full stop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Please sync to latest |
nroll can always be implied from the other arguments of rollout. Add tests for nroll inference.
d45d30b
to
96a8f00
Compare
Squashed and rebased |
6e129a5
into
google-deepmind:main
nroll
can always be implied from the other arguments of rollout.I grepped the codebase and did not find any cases where
nroll
was being passed to rollout other than its threading test.