Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

Commit

Permalink
Change default checkpoint saving dtype to float32 instead of bfloat16…
Browse files Browse the repository at this point in the history
…. Saving

PiperOrigin-RevId: 364201025
  • Loading branch information
Mesh TensorFlow Team committed Mar 21, 2021
1 parent 5d16bca commit 4e07d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesh_tensorflow/transformer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def parse_gin_defaults_and_flags(skip_unknown=False, finalize_config=True):
# this stupid VariableDtype class and stop passing it all over creation.
@gin.configurable
def get_variable_dtype(
master_dtype=tf.float32,
master_dtype=tf.bfloat16,
slice_dtype=tf.float32,
activation_dtype=tf.float32):
"""Datatypes to use for the run.
Expand Down

0 comments on commit 4e07d5e

Please sign in to comment.