e_serialization: bool = False
variant: typing.Optional[str] = None

)


Parameters 

save_directory (str or os.PathLike) —
Directory to which to save. Will be created if it doesn’t exist.


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
th