Giter VIP home page Giter VIP logo

Comments (4)

jaywalnut310 avatar jaywalnut310 commented on July 18, 2024 1

For average length sentences, the inference time of Glow-TTS on a V100 GPU is about 40ms, whereas the inference time of FastSpeech was reported as ~25ms. You can find out in the papers (FastSpeech: Table 2, Glow-TTS: Section 5.2. Sampling Speed).

Glow-TTS is slower than FastSpeech, but I don't think the difference is significant in end-to-end setting, because vocoders are usually way slower than parallel TTS models.

from glow-tts.

chazo1994 avatar chazo1994 commented on July 18, 2024

@jaywalnut310 Do you try to inference on CPU, and compare with GPU?

from glow-tts.

jaywalnut310 avatar jaywalnut310 commented on July 18, 2024

I tried to measure inference on CPU, but I don't remember accurately. So, I cannot tell in certain, but I thought it was about 500ms to generate average length sentences on CPU.

You can try it with the pretrained model and inference notebook.
Closing the issue.

from glow-tts.

lkurlandski avatar lkurlandski commented on July 18, 2024

How would one configure the inference notebook to be CPU compatible?

I modified the script by adding the following after the import statements:
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")

Then I replaced every call to cuda() with to(device). The script is able to nearly finish, but fails on the second-to-last line of code.

When it tries to execute:
audio = waveglow.infer(y_gen_tst, sigma=.666)
it raises
RuntimeError: Found no NVIDIA driver on your system.

from glow-tts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.