Skip to content

Commit

Permalink
re-add type hint
Browse files Browse the repository at this point in the history
Co-authored-by: compilade <[email protected]>
  • Loading branch information
christianazinn and compilade authored Jun 6, 2024
1 parent ce7e698 commit 706bd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert-hf-to-gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2857,7 +2857,7 @@ def main() -> None:

split_arguments = gguf.SplitArguments(args)

ftype_map = {
ftype_map: dict[str, gguf.LlamaFileType] = {
"f32": gguf.LlamaFileType.ALL_F32,
"f16": gguf.LlamaFileType.MOSTLY_F16,
"bf16": gguf.LlamaFileType.MOSTLY_BF16,
Expand Down

0 comments on commit 706bd69

Please sign in to comment.