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

CPU version of windows Controllable Talknet #11

Open
Randy-H0 opened this issue Jan 29, 2022 · 1 comment
Open

CPU version of windows Controllable Talknet #11

Randy-H0 opened this issue Jan 29, 2022 · 1 comment

Comments

@Randy-H0
Copy link

Is it possible to make a CPU version of controllable talknet on windows? It should be as someone has already done this on colab

Thank you!

@hydrusbeta
Copy link
Contributor

I believe ControllableTalknet can be made to fall back on the CPU for any platform, not just Windows, by making a handful of modifications to the Python source code. I created 2 pull requests to implement this feature just now, one for Controllable TalkNet here:
#37
And another for SortAnon's hifi-gan fork (which Controllable TalkNet uses) here:
SortAnon/hifi-gan#1
I have successfully tested these changes in a Linux Docker container.

In theory, the ZIP file containing the Windows installer would not need to be modified, because the existing one downloads the latest code straight from the git repositories. However, it would still try to install the Cuda Toolkit. You could bypass that behavior by creating this folder:
%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v11.4

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

2 participants