-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Crash] use TiDB Vector Store in LlamaIndex, tidb_vector throw exception #58
Comments
A simple local fix for this issue was applied using Concave. (AI autonomous Software Engineering) For your reference. Option1:
Option2:
|
same problem report |
@wph95 Will upgrading tidb-vector to version 0.0.11 resolve this error? |
no , i used tidb-vector 0.0.11, raise this bug |
@wph95 It's wired, in 0.0.11 version, we check the To solve this issue, I try to reproduce the error, but no luck. Can you provide your script and your env info to help me to reproduce it? |
https://github.com/concave-ai/tidb_vector_client_bug_reproduction I have written an MVP that consistently reproduces the bug (based on version 0.0.11
This issue seems to occur in all versions of Llama Index 0.10.x. However, upgrading to 0.11.x resolves the problem. Please note, the crash is not due to The actual issue occurs in This also implies that #59 will likely encounter the same problem, as it still exists in Llama Index 0.10.x. |
Thanks a lot. This issue seem to be related to garbage collection. For example, when I attempt to print
The reason is that during the shutdown of the Python interpreter, the resource cleanup mechanism starts unloading modules and global variables. If the After upgrading Llama Index to version 0.11.1, this issue was handled. However, it's puzzling because I couldn't find any related modifications in Llama Index. Given this situation, I plan to remove the |
@wph95 we released 0.0.12, would you like to have a try? |
might help info
my tidb_connect_url
The text was updated successfully, but these errors were encountered: