Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
unified with the above
  • Loading branch information
lalala-2 committed Nov 18, 2025
commit f73ce849890f74a60f2585da75eb1deefc54c87b
2 changes: 1 addition & 1 deletion recipe/fully_async_policy/megatron_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def sync_rollout_weights(self):
if self._is_rollout:
inference_model.load_weights([(key, tensor)])
if self._is_actor and self._is_offload_param:
offload_megatron_model_to_cpu(self.actor.actor_module)
offload_megatron_model_to_cpu(self.actor_module)

@register(dispatch_mode=Dispatch.ONE_TO_ALL)
def save_model_to_cpu(self, n):
Expand Down
Loading