Skip to content

Commit

Permalink
Remove unnecessary warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
wenscarl committed Sep 4, 2024
1 parent b4dc094 commit e9d19ac
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions flax/linen/fp8_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,6 @@ def q_dot_dq_impl(
preferred_element_type,
is_training
):
if precision != None or preferred_element_type != None:
warnings.warn(
"The function dot_general_with_precision will set the "
"precision/preferred_element_type and disregard any provided "
"values."
)
new_lhs_scale, new_lhs_amax_history = quantize_and_update(
lhs,
jnp.float8_e4m3fn,
Expand Down

0 comments on commit e9d19ac

Please sign in to comment.