Support more modes in the encodec example. (#1777)

* Support more modes in the encodec example.

* Remove the old encodec model from the musicgen bits.
This commit is contained in:
Laurent Mazare
2024-02-28 09:22:33 +01:00
committed by GitHub
parent 56e44aabe3
commit 60ee5cfd4d
7 changed files with 159 additions and 641 deletions

View File

@ -10,9 +10,7 @@ extern crate intel_mkl_src;
#[cfg(feature = "accelerate")]
extern crate accelerate_src;
mod encodec_model;
mod musicgen_model;
mod nn;
use musicgen_model::{GenConfig, MusicgenForConditionalGeneration};