Add the DAC model. (#2433)

* Add the DAC model.

* More quantization support.

* Handle DAC decoding.

* Plug the DAC decoding in parler-tts.
This commit is contained in:
Laurent Mazare
2024-08-19 07:59:51 +01:00
committed by GitHub
parent 58197e1896
commit 236b29ff15
7 changed files with 404 additions and 8 deletions

View File

@ -136,7 +136,7 @@ pub fn conv1d_weight_norm(
Ok(Conv1d::new(weight, Some(bias), config))
}
fn conv_transpose1d_weight_norm(
pub fn conv_transpose1d_weight_norm(
in_c: usize,
out_c: usize,
kernel_size: usize,