Skip to content
Open
Changes from all commits
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
13 changes: 8 additions & 5 deletions src/maxtext/training_engine/maxtext_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,13 +329,16 @@ def get_metrics(self, clear_cache: bool = True) -> abstract_engine.MetricsBuffer
return self._metrics_recorder.get_metrics(clear_cache=clear_cache)

def prepare_weight_sync(self, **kwargs: Any) -> Any:
"""Stages weights for transfer and returns access coordinates.

"""Returns weight synchronization metadata.

Weight synchronization is not implemented yet. This placeholder returns an
empty dictionary until a transfer backend is integrated.

Args:
**kwargs: Weight staging parameters.

**kwargs: Reserved for future weight-staging configuration.
Returns:
Synchronization endpoints or coordinates for rollout actors.
An empty dictionary.
"""
return {}

Expand Down