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

Commit 87dcf39

Browse files
committed
one more delayed -> dynamic default update
Summary: missed this in #300 Test Plan: Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
1 parent 13d3198 commit 87dcf39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

float8_experimental/float8_linear_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525

2626

2727
def linear_requires_sync(
28-
scaling_type_x: TensorScalingType = TensorScalingType.DELAYED,
29-
scaling_type_w: TensorScalingType = TensorScalingType.DELAYED,
30-
scaling_type_dL_dY: TensorScalingType = TensorScalingType.DELAYED,
28+
scaling_type_x: TensorScalingType = TensorScalingType.DYNAMIC,
29+
scaling_type_w: TensorScalingType = TensorScalingType.DYNAMIC,
30+
scaling_type_dL_dY: TensorScalingType = TensorScalingType.DYNAMIC,
3131
):
3232
"""Returns whether the given linear_type requires sync before forward."""
3333
return any(

0 commit comments

Comments
 (0)