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

Server running on the Docker image is slow #329

Open
Akeyo21 opened this issue Feb 22, 2024 · 2 comments
Open

Server running on the Docker image is slow #329

Akeyo21 opened this issue Feb 22, 2024 · 2 comments

Comments

@Akeyo21
Copy link

Akeyo21 commented Feb 22, 2024

Issue

Whenever we try to run forced alignment for audios when running the Docker image locally the response takes really long. For a 14 second audio, it takes roughly 5 minutes to get the response. However, when we run forced alignment on the Mac application for the same audio, it takes less than 30 seconds.

Was this how it was intended to work, have the docker image run slower than the Mac application?

The docker image is run on a Mac M2 Pro, with 32GB RAM on OS Ventura 13.4

How to reproduce

  1. Pull the image by running the command:

    docker pull lowerquality/gentle:latest
    
  2. Run the image by running the command:

     docker run -P lowerquality/gentle
    
  3. Test the server by either:
    a. sending a HTTP request either via Postman or curl. For curl, you can run the command:

         curl -F "[email protected]" -F "[email protected]" "http://localhost:8765/transcriptions?async=false"
    

    b. Running the application locally, by typing this in the browser: http://localhost:[portnumber]/ and try and align audio

@niranjanakella
Copy link

Yes @Akeyo21, experienced the same because the docker resources aren't enough to infer this system properly. Hence running the native Mac application they provide yielded good results for me.

@ctstewart
Copy link

@niranjanakella Unfortunately the native Mac application doesn't seem to work anymore.

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

3 participants