Skip to content

Commit 515884e

Browse files
keep HF torchscript flag True for better tracing
Signed-off-by: chichun-charlie-liu <[email protected]>
1 parent c2c26d6 commit 515884e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fms_mo/dq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def run_dq(model_args, data_args, opt_args, fms_mo_args):
8686
"cache_dir": model_args.cache_dir,
8787
"revision": model_args.model_revision,
8888
"use_auth_token": True if model_args.use_auth_token else None,
89-
"torchscript": False,
89+
"torchscript": True,
9090
"attn_implementation": attn_implementation,
9191
}
9292
config = AutoConfig.from_pretrained(model_args.model_name_or_path, **config_kwargs)

0 commit comments

Comments
 (0)