Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit 8b0a5bc

Browse files
vkuzofacebook-github-bot
authored andcommitted
one more delayed -> dynamic default update (#309)
Summary: Pull Request resolved: #309 missed this in #300 Reviewed By: awgu Differential Revision: D59685260 fbshipit-source-id: ecee2ae926f0995bf2b95a26f7817a4909cbc50d
1 parent 6cba2ae commit 8b0a5bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

float8_experimental/float8_linear_utils.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323

2424

2525
def linear_requires_sync(
26-
scaling_type_x: TensorScalingType = TensorScalingType.DELAYED,
27-
scaling_type_w: TensorScalingType = TensorScalingType.DELAYED,
28-
scaling_type_dL_dY: TensorScalingType = TensorScalingType.DELAYED,
26+
scaling_type_x: TensorScalingType = TensorScalingType.DYNAMIC,
27+
scaling_type_w: TensorScalingType = TensorScalingType.DYNAMIC,
28+
scaling_type_dL_dY: TensorScalingType = TensorScalingType.DYNAMIC,
2929
):
3030
"""Returns whether the given linear_type requires sync before forward."""
3131
return any(

0 commit comments

Comments
 (0)