Skip to content

Commit

Permalink
Fix typo in RuntimeException in builder.py (#1386)
Browse files Browse the repository at this point in the history
Fix English usage

Co-authored-by: Jack-Khuu <[email protected]>
  • Loading branch information
mikekgfb and Jack-Khuu authored Nov 20, 2024
1 parent edc2cfb commit 8dccc5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchchat/cli/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __post_init__(self):
or (self.pte_path and Path(self.pte_path).is_file())
):
raise RuntimeError(
"need to specified a valid checkpoint path, checkpoint dir, gguf path, DSO path, AOTI PACKAGE or PTE path"
"need to specify a valid checkpoint path, checkpoint dir, gguf path, DSO path, AOTI PACKAGE or PTE path"
)

if self.aoti_package_path and self.pte_path:
Expand Down

0 comments on commit 8dccc5a

Please sign in to comment.