Skip to content

Commit b493e62

Browse files
minor bug fix
Signed-off-by: cliu-us <[email protected]>
1 parent ca3f763 commit b493e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fms_mo/fx/dynamo_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ def call_seq_hook(mod, *_args, **_kwargs):
11171117
h.remove()
11181118

11191119
# only add last layer
1120-
qcfg["qskip_layer_name"] += qcfg["mod_call_seq"][-1]
1120+
qcfg["qskip_layer_name"] += [qcfg["mod_call_seq"][-1]]
11211121

11221122
with torch.no_grad():
11231123
model_opt = torch.compile(

0 commit comments

Comments
 (0)