Skip to content

Commit

Permalink
fix : quantization (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
PABannier authored May 16, 2024
1 parent bf1bad7 commit 18a192b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2417,6 +2417,13 @@ bool bark_model_quantize(const char* fname_inp, const char* fname_out, enum ggml
return false;
}

// neural codec (not quantized, since this seriously degrates the audio quality)
// copy the rest of fin to fout
char c;
while (fin.get(c)) {
fout.put(c);
}

fin.close();
fout.close();

Expand Down

0 comments on commit 18a192b

Please sign in to comment.