Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
add --format to quantized_phi
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhenzhong1 committed Mar 19, 2024
1 parent a6191a6 commit 4bc353e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions neural_speed/convert/convert_quantized_phi.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,11 @@ def main(args_in: Optional[List[str]] = None) -> None:
choices=["huggingface", "modelscope"],
default="huggingface",
help="hub to load model")
parser.add_argument("--format",
type=str,
default="NE",
choices=["NE", "GGUF"],
help="convert to the GGUF or NE format")
parser.add_argument("model", type=Path, help="directory containing model file")
args = parser.parse_args(args_in)

Expand Down

0 comments on commit 4bc353e

Please sign in to comment.