Skip to content

Commit

Permalink
fix: set GGML types to lowercase in command builder
Browse files Browse the repository at this point in the history
  • Loading branch information
leafspark committed Aug 14, 2024
1 parent a8ed4a8 commit 79eeb02
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/AutoGGUF.py
Original file line number Diff line number Diff line change
Expand Up @@ -1600,13 +1600,16 @@ def quantize_model(self):
command.extend(["--exclude-weights", self.exclude_weights.text()])
if self.use_output_tensor_type.isChecked():
command.extend(
["--output-tensor-type", self.output_tensor_type.currentText()]
[
"--output-tensor-type",
self.output_tensor_type.currentText().lower(),
]
)
if self.use_token_embedding_type.isChecked():
command.extend(
[
"--token-embedding-type",
self.token_embedding_type.currentText(),
self.token_embedding_type.currentText().lower(),
]
)
if self.keep_split.isChecked():
Expand Down

0 comments on commit 79eeb02

Please sign in to comment.