-
Notifications
You must be signed in to change notification settings - Fork 97
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
Feat: ff sable Sebulba #1157
base: develop
Are you sure you want to change the base?
Feat: ff sable Sebulba #1157
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.
Nice work Louay, this looks good from myside, worth trying some extra experiemnts before we merge it!
@@ -128,6 +131,7 @@ def step(self, actions: List) -> Tuple[NDArray, NDArray, NDArray, NDArray, Dict] | |||
else: | |||
reward = np.array(reward) | |||
|
|||
info["step_count"] = self.step_count |
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.
We need to increment the step count here
loss_info, grads = grad_fn(params, traj_batch, advantages, targets, entropy_key) | ||
|
||
# Compute the parallel mean (pmean) over the batch. | ||
# This pmean could be a regular mean as the batch axis is on the same device. |
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 think it is safe to keep the axis_name for any future, enhancements therefore if you can update the comment and just say it pmean over the learner devices
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.
Nice work Louay, this looks good from myside, worth trying some extra experiemnts before we merge it!
What?
A FF sable implementation using the Sebulba architecture.