Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with Parler-TTS Mini Multilingual v1.1 #2709

Open
rubiktubik opened this issue Jan 9, 2025 · 0 comments
Open

Problems with Parler-TTS Mini Multilingual v1.1 #2709

rubiktubik opened this issue Jan 9, 2025 · 0 comments

Comments

@rubiktubik
Copy link

rubiktubik commented Jan 9, 2025

Hi, i love the library and the work your doing!

Recently tried the parler-tts example, works fine for the large-v1 model.

I wanted to try the mini multilingual one but get the following error:

avx: false, neon: true, simd128: false, f16c: false
temp: 0.00 repeat-penalty: 1.00 repeat-last-n: 64
retrieved the files in 54.020418s
Error: data did not match any variant of untagged enum ModelWrapper at line 699311 column 1

Added this modifications to the example:

    let model_id = match args.model_id {
        Some(model_id) => model_id.to_string(),
        None => match args.which {
            Which::LargeV1 => "parler-tts/parler-tts-large-v1".to_string(),
            Which::MiniV1 => "parler-tts/parler-tts-mini-v1".to_string(),
            Which::Multi => "parler-tts/parler-tts-mini-multilingual-v1.1".to_string(), // added this line
        },
    };
let model_files = match args.model_file {
        Some(m) => vec![m.into()],
        None => match args.which {
            Which::MiniV1 => vec![repo.get("model.safetensors")?],
            Which::Multi => vec![repo.get("model.safetensors")?],
            Which::LargeV1 => {
                candle_examples::hub_load_safetensors(&repo, "model.safetensors.index.json")?
            }
        },
    };
#[derive(Clone, Debug, Copy, PartialEq, Eq, clap::ValueEnum)]
enum Which {
    #[value(name = "large-v1")]
    LargeV1,
    #[value(name = "mini-v1")]
    MiniV1,
    #[value(name = "mini-multi")]
    Multi,
}

And called the tool with
--which mini-multi

The download of the model.safetensors has worked but then i get an error.

I'am running on an mac with the --features metal parameter

Do i have missed something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant