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

Commit 6ab7aff

Browse files
committed
uncondtionallly set attr
1 parent dc4b38f commit 6ab7aff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

float8_experimental/float8_linear_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,5 +291,4 @@ def inner_func():
291291
for child in fp8_layers:
292292
# 4. set a flag to signal amaxes/scales are ready
293293
# We only update the flag if we know it will be checked by the modules
294-
if fp8_config.enable_amax_init:
295-
child.amax_and_scale_synced = True
294+
child.amax_and_scale_synced = True

0 commit comments

Comments
 (0)