-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix: only perform lancedb cpu check for linux #3883
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for continuedev canceled.
|
I've conducted some testing today and, as @libandreas pointed out in #3551 (comment) , the VSCode extension crashes before reaching the CPU check. The issues causing these crashes align with what I noted in my previous comment on PR #3714 (please note that line numbers might have shifted slightly) - #3714 (comment) . The main challenge will be to conditionally import |
@mjkaye @libandreas - fresh updates to test out! I've moved the dynamic import logic higher up into the actual LanceDB index class and put some additional safeguards in the places we import that class. Also @mjkaye I took your advice and switches to a more standard |
Hi, I downloaded your source code and installed the current VSIX, and I successfully bypassed the crash and fell into the unsupported CPU scenario. This is a very good step. However, I encountered some issues, but the plugin is working now: Activation errors, which are from the original source. |
Thank you for addressing this issue with such diligence, @Patrick-Erichsen. I've been testing the latest changes and am pleased to report that the extension no longer crashes on my older CPU setup—this is a significant improvement. I noted that the extension informed me about disabling indexing, which is a nice feature. It might be helpful to direct users to some documentation for more context instead of pointing them to the GitHub issue. In terms of functionality, I've conducted some basic tests and everything seems to be working smoothly:
Everything is functioning as expected. If there are any other specific tests you'd like me to perform, please let me know. Your attention to detail has been greatly appreciated. Thanks again for your hard work on this. For reference, @libandreas, this is the way I set up my environment for testing:
I'd also be interested to hear your suggestions for tests I can perform, @libandreas . |
@mjkaye appreciate the feedback, I improved the notification and updated the link to point to a new section in our FAQ. And thank you as well for all the testing throughout the PR process here! Based on this I think we're good to merge and get a second round of feedback from folks on the upstream issues. |
lets wait for the merge, thank you, i was waiting 6 months for that fix |
Description
Second attempt at #3551
Addresses #940 (comment) (and many others)
cc @mjkaye