Open davidotron opened 2 weeks ago
I can say for certain that this exact behavior is also happening in my windows install, it's not your OS, its the latest patch that introduced the bug. everything was working fine and when I updated the plug-in with today's release 2.1.96, that's when things broke. It's stuck there and wont make embeddings, additionally it won't allow me to set up my chatbot as you described above.
Thanks for reporting this issue.
Please open the developer console logs and screenshot any errors (should be highlighted in red) that you see there and I will check it out 🌴
@brianpetro thanks for responding so quickly!!
Developer console logs below upon enabling the plugin. Let me know if you'd like to see anything else.
It seems like using the GPU might be the issue. To disable using it, in the settings there should be a gpu_batch_size
setting. Set this to 0
and it should prevent the GPU from being used. Then restart the Smart Connections and see if there's any improvement 🌴
No luck unfortunately. :( I set GPU batch size to 0, reloaded the plugin and reloaded the Obsidian app, same result. Fresh console logs below:
I was thinking that hopefully the GPU wasn't the issue, I have an RTX 3080 with a pretty stable driver version and it'd be nice to use local GPU for some things.
@davidotron thanks for sharing that.
I'm pretty sure this is an issue that we ran into with the Smart Connect app. Unfortunately, the only way to fix it would be to update configurations in the Obsidian source code.
However, I was able to make those changes in the Smart Connect app. I'm still working on making the processing embeddings UI in Smart Connect, but soon you will be able to use Smart Connect app to manage the embedding in the background. Then all the Obsidian plugin will need to do is load those embeddings.
Did the embedding work for before the latest version?
@Nesador95 you may be experiencing a different issue. Please screenshot the console logs and let me know.
🌴
@brianpetro yes, but I can only speak to it working on Windows a while back. I recently went through a big conversion in my life from Windows to Linux Mint and stopped using Obsidian for a few weeks. Long story.
I can say however this used to work, at least on the Windows version. Thanks for working on it.
@brianpetro Ok, I was able to roll back to 2.1.95 and it looks to be working now, similar to the other Linux guy.
Same problem with v2.1.97. How can I go back to v2.1.95 ?
@MartinHuber2 Download the .95 release here: https://github.com/brianpetro/obsidian-smart-connections/releases/tag/2.1.95
In your vault folder, navigate to .obsidian/plugins. Make a backup of the smart-connections plugin folder and delete it. make a new smart-connections folder and extract all the files (main, manifest, and styles) there. Reboot Obsidian and go to your plugins; you should see Smart Connections on 2.1.95 now.
You may be able to copy the Data settings to the new Data file depending on what's changed between versions, but I just re-configured everything in the Obsidian plugin UI.
Thx for the rapid response. I am on 2.1.95 now, bit still stuck with "Loading smart connections...", and no options under "Model Platform".
Thanks for the screenshot. If you can also screenshot any errors you see in the developer console logs that would be a big help in figuring out the issue. 😊
@MartinHuber2, the model platform settings should appear if you re-click the Smart Connections settings. Unfortunately, the load time is delayed currently, which is why it isn't fully rendering every time. This will be addressed in the upcoming improvements to the Smart Chat 🌴
If local embeddings broke in/after v2.1.96
, see https://github.com/brianpetro/obsidian-smart-connections/issues/749#issuecomment-2324472086 🌴
I'm having a similar issue at the moment.
same on v2.1.100 mac
I had the same problem with being stuck at "Loading Smart Connections" after the initial scan. The only thing I had to do was to toggle the "Legacy Transformers (no GPU)" off and on again. Then it started to calculate the embeddings.
I remember this working on my Windows machine. After switching to the Obsidian flatpak on Linux Mint, I've re-installed Smart Connections, and the module is stuck "Loading Smart Connections..." forever (on this same status for an hour now)
Also, maybe related, the model platform for Smart Chat is not available:
If I click that drop-down square, nothing loads. I have a local OpenAPI endpoint on my network I'd like to use here.
Is this a known issue in the Linux version of Obsidian, and/or is there a solution here?
Thank you!!