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 500 when using the TTS endpoint #23

Open
rampadc opened this issue Feb 25, 2025 · 0 comments
Open

Server 500 when using the TTS endpoint #23

rampadc opened this issue Feb 25, 2025 · 0 comments

Comments

@rampadc
Copy link

rampadc commented Feb 25, 2025

Using version 0.3.2, installed on a fresh Python 3.12 environment. I ran the audio.ipynb notebook and got server 500 errors on every request.

Python output:

InternalServerError: Error code: 500 - {'detail': 'Error reading audio file: arange(): incompatible function arguments. The following argument types are supported:\n    1. arange(start : Union[int, float], stop : Union[int, float], step : Union[None, int, float], dtype: Optional[Dtype] = None, *, stream: Union[None, Stream, Device] = None) -> array\n    2. arange(stop : Union[int, float], step : Union[None, int, float] = None, dtype: Optional[Dtype] = None, *, stream: Union[None, Stream, Device] = None) -> array\n\nInvoked with types: mlx.core.array'}

mlx-omni-server outputs:

Got duration of 757 frames (8.150339126586914 secs) for generated speech.
INFO:     127.0.0.1:62402 - "POST /v1/audio/speech HTTP/1.1" 500 Internal Server Error
Fetching 5 files: 100%|████████████████████████| 5/5 [00:00<00:00, 49461.13it/s]
Fetching 2 files: 100%|████████████████████████| 2/2 [00:00<00:00, 22733.36it/s]
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