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

Commit a4509aa

Browse files
committed
comments
1 parent f0e8d7c commit a4509aa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

float8_experimental/float8_linear_utils.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,7 @@ def swap_linear_with_float8_linear(
122122
raise AssertionError(
123123
f"Does not support a root nn.Linear with children: {module}"
124124
)
125-
print(f"Emulating: {emulate}")
126-
new_mod = module_cls.from_float(module, emulate=emulate)
127-
print(f"New mod: {new_mod.forward_config}")
128-
return new_mod
125+
return module_cls.from_float(module, emulate=emulate)
129126

130127
# Mark all modules to skip as visited
131128
root_module = module

0 commit comments

Comments
 (0)