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
9 changes: 6 additions & 3 deletions jax/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,9 @@ def _update_x64_thread_local(val):

default_matmul_precision = config.define_enum_state(
name='jax_default_matmul_precision',
enum_values=['bfloat16', 'tensorfloat32', 'float32'],
enum_values=['bfloat16', 'fastest',
'tensorfloat32', 'bfloat16_3x',
'float32', 'highest'],
default=None,
help=('Control the default matmul and conv precision for 32bit inputs.\n\n'

Expand All @@ -436,5 +438,6 @@ def _update_x64_thread_local(val):
'level for computations involved in matrix multiplication and '
'convolution on 32bit inputs. The levels roughly describe the '
"precision at which scalar products are computed. The 'bfloat16' "
"option is the fastest and least precise; 'float32' is similar to "
"full float32 precision; 'tensorfloat32' is intermediate.\n\n"))
"option is the fastest and least precise (alias: 'fastest'); "
"'float32' is similar to full float32 precision (alias: 'highest'); "
"'tensorfloat32' is intermediate (alias: 'bfloat16_3x').\n\n"))