Skip to content

Commit

Permalink
Merge pull request #9 from rizenfrmtheashes/rizenfrmtheashes/quantize…
Browse files Browse the repository at this point in the history
…-input-suffix

Update quantize command to properly suffix input file
  • Loading branch information
cocktailpeanut authored Mar 13, 2023
2 parents 07412c4 + e0d6ae7 commit 8093d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class Dalai {
}
for(let i=0; i<num[model]; i++) {
const suffix = (i === 0 ? "" : `.${i}`)
await this.exec(`./quantize ./models/${model}/ggml-model-f16.bin ./models/${model}/ggml-model-q4_0.bin${suffix} 2`, this.home)
await this.exec(`./quantize ./models/${model}/ggml-model-f16.bin${suffix} ./models/${model}/ggml-model-q4_0.bin${suffix} 2`, this.home)
}
}
progress(task, percent) {
Expand Down

0 comments on commit 8093d76

Please sign in to comment.