ch to save. Will be created if it doesn’t exist.


params (Union[Dict, FrozenDict]) —
A PyTree of model parameters.


is_main_process (bool, optional, defaults to True) —
Whether the process calling this is the main process or not. Useful when in distributed training like
TPUs and need to call this function on all processes. In this case, set is_main_process=True only on
the main process to avoid race conditions.



Save a model and its configu