Skip to content

Possible Deadlock on loading model with LOCALAI_SINGLE_ACTIVE_BACKEND=true #5328

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

Open
richiejp opened this issue May 6, 2025 · 0 comments
Open
Labels
bug Something isn't working unconfirmed

Comments

@richiejp
Copy link
Collaborator

richiejp commented May 6, 2025

LocalAI version:
localai/localai master-sycl-f32-ffmpeg-core 80b00526012e (after v2.28)

Environment, CPU architecture, OS, and Version:
Linux sys76 6.6.88 #1-NixOS SMP PREEMPT_DYNAMIC Fri Apr 25 08:45:59 UTC 2025 x86_64 GNU/Linux

Describe the bug
When attempting to read transcription endpoint only the message stating the file was copied is shown. After that there should be more log messages if it gets any further, but it appears to get stuck or freeze while taking the singleton lock. Of course I could be missing something.

The completions endpoint produces more logs, but also got stuck before loading the model.

To Reproduce

Just tried to use transcription. Not clear if it is reproducible.

Additional context

If I am correct and it is deadlocking on the singleton lock then unsetting LOCALAI_SINGLE_ACTIVE_BACKEND will work around it

@richiejp richiejp added bug Something isn't working unconfirmed labels May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed
Projects
None yet
Development

No branches or pull requests

1 participant