PABannier / encodec.cpp

Port of Meta's Encodec in C/C++
187 stars 15 forks source link

Steps needed to support the 48khz model #27

Open kalradivyanshu opened 9 months ago

kalradivyanshu commented 9 months ago

Hey, Thankyou for all your work, I was wondering can this be extended to support the 48khz model? What all will that require, is it simple? Would love to contribute if someone can provide some guidance.

Thanks!

PABannier commented 9 months ago

Hey @kalradivyanshu ! Thank you for your interest in the project.

I don't think it would be difficult. I made sure the codebase remains modular and that hyperparameters are not hardcoded, so it should come down to:

1) Parsing correctly the weights of the 48Khz model 2) Ensure the weights are correctly loaded in encodec.cpp 3) Make sure the forward pass is identical

You can open a PR and I'd be happy to guide you in the process.