containers / ai-lab-recipes

Examples for building and running LLM services and applications locally with Podman
Apache License 2.0
103 stars 106 forks source link

whisper image is broken on main #743

Closed axel7083 closed 1 month ago

axel7083 commented 1 month ago

When testing https://github.com/containers/podman-desktop-extension-ai-lab/pull/1512 I got the following error when running the curl command:

ghcr.io/containers/whispercpp:latest

$: curl -X POST "http://localhost:38285/inference" -F "file=@./004NTWY_U1_RC.mp3"
{"error":"FFmpeg conversion failed."}

whisper image from v1.1.3

$: curl -X POST "http://localhost:38285/inference" -F "file=@./004NTWY_U1_RC.mp3"
{"text":" Unit 1, page 14. Real conversations.\n Hello. Hi. What's your name?\n Claudia, what's your name?
axel7083 commented 1 month ago

Testing the main branch for the audio to text recipe

image

Server logs

[in#0 @ 0x7f1a54d112c0] Error opening input: No such file or directory
Error opening input file whisper_server_temp_file.wav.
Error opening input files: No such file or directory
axel7083 commented 1 month ago

Looking at the history of whisper model server I saw that https://github.com/containers/ai-lab-recipes/commit/d029ebacb0915f1fa98c4a516f274cdd5868db8b introduced a changed in the group permissions introduced by https://github.com/containers/ai-lab-recipes/pull/681

After checking the previous commit, and building the image, I can confirm that this PR introduced the regression.

cc @johnmcollier