fix: set GGML types to lowercase in command builder

This commit is contained in:
BuildTools 2024-08-13 20:07:50 -07:00
parent a8ed4a87b1
commit 79eeb02694
No known key found for this signature in database
GPG Key ID: 3270C066C15D530B
1 changed files with 5 additions and 2 deletions

View File

@ -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():