Skip to content

Commit

Permalink
Stop writing msgpack file for new checkpoints and update empty nodes …
Browse files Browse the repository at this point in the history
…handling so that it no longer depends on this file.

PiperOrigin-RevId: 649179323
  • Loading branch information
cpgaffney1 authored and copybara-github committed Jul 3, 2024
1 parent c0220ef commit 6343c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vmoe/initialization/initialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class PyTreeCheckpointHandlerWithStructure(
orbax_checkpoint.PyTreeCheckpointHandler):

def structure(self, directory):
return self._handler_impl._read_aggregate_file(directory) # pylint: disable=protected-access
return self._read_aggregate_file(directory) # pylint: disable=protected-access


def initialize_from_orbax(
Expand Down

0 comments on commit 6343c14

Please sign in to comment.