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

"loading smart connections" #763

Open
Marianapanovitch opened this issue Sep 4, 2024 · 16 comments
Open

"loading smart connections" #763

Marianapanovitch opened this issue Sep 4, 2024 · 16 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Marianapanovitch
Copy link

Já tentei fazer de tudo, mas não consigo suprir esse erro.
Para mim, quando escolho TayloAI/bge-micro-v2 não aparece o campo para colocar a chave API.
Também não aparece a opção para "Model Plataform".

Se tento outro Embendding model, aparece a opção para inserir a chave API, mas não corrige o erro da mesma forma, pois continua congelado em "loading smart connections", e também continua não aparecendo a opção para "Model Plataform".

Enfim, o barra do chat não abre de jeito nenhum. O que eu faço?

Obs. O meu é windows.

print2
print1

@Paddy1058
Copy link

I'm also getting the loading message; first I've seen it; SC had been working great.

@Ramadas108
Copy link

Ramadas108 commented Sep 4, 2024

image
Yea, new update is not working... How to revert back?

@christianngarcia christianngarcia added bug Something isn't working help wanted Extra attention is needed labels Sep 4, 2024
@Ramadas108
Copy link

I disabled the plugin, deleted the folder of smart-connections and downloaded again and it started working again

@multicam
Copy link

multicam commented Sep 5, 2024

Same problem here -- Noob question: Where is the smart-connections folder?

@christianngarcia
Copy link
Collaborator

It defaults to a hidden folder but it is in the same folder as your obsidian vault. Look for it using the default file explorer. Not obsidian.

@Paddy1058
Copy link

Latest update, tonight, fixed the loading problem. Thanks!

@freer123
Copy link

freer123 commented Sep 9, 2024

This issue remained after I upgraded the plugin to 2.1.101 version. Had to revert back to an earlier version.

@freer123
Copy link

freer123 commented Sep 9, 2024

Bge-micro-v2 model works well in 2.1.101 version. but when I changed to other models, the plugin said, "loading smart connections."

@freer123
Copy link

Now even the Bge-micro-v2 model doesn't work in 2.1.101 version. No idea what's wrong with the latest upgrade.

@freer123
Copy link

Change "GPU Batch Size" to "1" in the setting. Problem solved.

@brianpetro
Copy link
Owner

Change "GPU Batch Size" to "1" in the setting. Problem solved.

@freer123 thanks for following up with how you solved this 🙏🌴

@EpicPilgrim
Copy link

EpicPilgrim commented Sep 13, 2024

The suggestions here (changing GPU Batch Size, deleting hidden SC folders, and reinstalling plugin) do not help me. Neither Smart Connections nor Smart Chat load. Both stuck on "Loading Smart Connections...". In the SC plugin settings, I have bge-micro-v2 selected. I feel like there used to be OpenAI models but they no longer exist? And under Smart Chat, the "Model Platform" dropdown is empty, no options there.

I have noticed I get this error in Inspector:

Error loading model TaylorAI/bge-micro-v2: Error: no available backend found. ERR: [webgpu] Error: Failed to get GPU adapter. You may need to enable flag "--enable-unsafe-webgpu" if you are using Chrome.

If I set GPU Batch Size to 0, I get:

Error loading model TaylorAI/bge-micro-v2: Error: no available backend found. ERR: [wasm] SecurityError: Failed to construct 'Worker': Script at 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.0.0-alpha.13' cannot be accessed from origin 'app://obsidian.md'.

I'm not sure what's happened, the SC plugin has changed so much since the first version I installed over a year ago, and it's always worked fine but it's been a few months since I last used it and I barely recognise the settings or the models anymore.

Am running Obsidian 1.6.7 on Ubuntu 24.04 if it's of any assistance.

@alvaroaraujojorge
Copy link

For me it's still a problem. Tried all the alternatives above. Let me know if something helped.

@utrack
Copy link

utrack commented Sep 16, 2024

I've enabled the Legacy Transformers (v2) and now it works for me...

On v3, I'm getting the same errors as others, no GPU/cannot access from origin

@EpicPilgrim
Copy link

I've enabled the Legacy Transformers (v2) and now it works for me...

On v3, I'm getting the same errors as others, no GPU/cannot access from origin

Likewise, this works for me too. I didn't see it there and assumed setting GPU Batch Size to "0 to disable GPU" would do the job.

@brianpetro
Copy link
Owner

Likewise, this works for me too. I didn't see it there and assumed setting GPU Batch Size to "0 to disable GPU" would do the job.

That's a good assumption, but while 0 batch size forces use of the CPU, that may not fix other incompatibility issues with the version 3 of transformers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

10 participants