Skip to content

Commit

Permalink
Merge branch 'main' into fix-non-mm-chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Khuu authored Oct 1, 2024
2 parents e840b4e + 24d00ea commit bd6b512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchchat/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def arg_init(args):
)

if "mps" in args.device:
if hasattr(args, "compile") and hasattr(args, "compile_prefill"):
if getattr(args, "compile", False) or getattr(args, "compile_prefill", False):
print(
"Warning: compilation is not available with device MPS, ignoring option to engage compilation"
)
Expand Down

0 comments on commit bd6b512

Please sign in to comment.