Skip to content

Commit 59b4fe2

Browse files
committed
compiled model path bug fix
1 parent 8c1d90e commit 59b4fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/text2text-generation/run_qwen_moe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def main(
1818
n_layers: int = 1,
1919
compiled_model_path: typing.Optional[str] = None,
2020
):
21-
if compiled_model_path is not None:
21+
if compiled_model_path is None:
2222
compiled_model_path = os.path.basename(model_id)
2323

2424
if from_transformers:

0 commit comments

Comments
 (0)