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

embedding api request in parallelize cause crash #463

Open
joebnb opened this issue Feb 25, 2025 · 7 comments
Open

embedding api request in parallelize cause crash #463

joebnb opened this issue Feb 25, 2025 · 7 comments

Comments

@joebnb
Copy link

joebnb commented Feb 25, 2025

when request embedding api in dify with parallelize will cause loaded embedding model eject.

and if in headless mode would make a configuration that if model was unload, lms will reload recent used model automatic

@yagil yagil transferred this issue from lmstudio-ai/lms Feb 25, 2025
@yagil
Copy link
Member

yagil commented Feb 25, 2025

Hi @joebnb does it crash (with an error), or does it just unload unexpectedly (NO error)?

If you get an error, can you please share it here?

@yagil yagil added the more-info-needed Need more information to diagnose the problem label Feb 25, 2025
@joebnb
Copy link
Author

joebnb commented Feb 25, 2025

2025-02-25 13:58:04 [ERROR] 
[Server Error] Error: The model has crashed without additional information. (Exit code: 6)
2025-02-25 13:58:04 [ERROR] 
[Server Error] Error: The model has crashed without additional information. (Exit code: 6)
2025-02-25 13:58:04 [ERROR] 
[Server Error] Error: The model has crashed without additional information. (Exit code: 6)
2025-02-25 13:58:04 [ERROR] 
[Server Error] Error: The model has crashed without additional information. (Exit code: 6)
2025-02-25 13:58:04 [ERROR] 
[Server Error] Error: The model has crashed without additional information. (Exit code: 6)
2025-02-25 13:58:04 [ERROR] 
[Server Error] Error: The model has crashed without additional information. (Exit code: 6)
2025-02-25 13:58:04 [ERROR] 
[Server Error] Error: The model has crashed without additional information. (Exit code: 6)
2025-02-25 13:58:04 [ERROR] 
[Server Error] Error: The model has crashed without additional information. (Exit code: 6)
2025-02-25 13:58:04 [ERROR] 
[Server Error] Error: The model has crashed without additional information. (Exit code: 6)
2025-02-25 13:58:04 [ERROR] 
[Server Error] Error: Model has unloaded or crashed.

maybe it's caused by model self,but if there have a reload function would better,lmstudio-community/granite-embedding-278m-multilingual-GGUF i use this model to encoding Chinese documents, if use lm-commnuity/text-embedding-nomic-embed-text-v1.5 works fine

@joebnb
Copy link
Author

joebnb commented Feb 25, 2025

Image only nomic-embed works,other embedding model all will cause crash when handling batch encoding

@yagil yagil added needs-investigation and removed more-info-needed Need more information to diagnose the problem labels Feb 25, 2025
@yagil
Copy link
Member

yagil commented Feb 25, 2025

Thanks @joebnb would you be able to share one of these documents or at least that very last string before the crash?

@joebnb joebnb closed this as completed Feb 25, 2025
@joebnb
Copy link
Author

joebnb commented Feb 25, 2025

Thanks @joebnb would you be able to share one of these documents or at least that very last string before the crash?

sorry, accidentally closed this issue. i can refer that document tomorrow, but i think it's not about some special characters,because these model crashed at different progress, some crash at start of embedding,some almost finish. anyway i will offer a document on here when i have time

@yagil yagil reopened this Feb 25, 2025
@yagil
Copy link
Member

yagil commented Feb 25, 2025

Reopened the issue. And good to know you saw it in different places

@joebnb
Copy link
Author

joebnb commented Feb 25, 2025

Reopened the issue. And good to know you saw it in different places

sorry,that is English version,this is Chinese

https://static1.squarespace.com/static/5f92a5011169d63a9f7a2533/t/617ae29e892f820731bfce40/1635443358975/Lowders+Classic+Recipe+Training+Manual+-+%E4%B8%AD%E6%96%87%E7%89%88+%286+Aug+2020%29.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants