lightning-joyce / chromeai

Chrome Built-in AI Demo page
https://chromeai.co
MIT License
119 stars 15 forks source link

InvalidStateError: The session cannot be created. #5

Open VineshReddy opened 3 months ago

VineshReddy commented 3 months ago

I followed all steps and still facing error, i have also enabled WebGPU.

what_is

Erisfiregamer1 commented 3 months ago

Is the component in chrome://components (On Device Optimization Guidelines or something similar) showing and not on version 0.0.0.0

lightning-joyce commented 3 months ago

I haven't come across this. Suggestion from @Erisfiregamer1 sounds good. You can retry the step 4. I guess it may also be related to your memory capacity. How much RAM do you have?

VineshReddy commented 3 months ago

I have 20GB Ram and Optimization Guide On Device Model is Version: 2024.6.5.2205

Erisfiregamer1 commented 3 months ago

I have 20GB Ram and Optimization Guide On Device Model is Version: 2024.6.5.2205

Smells like Chrome issue, I don't see anything wrong. Can you try running it again?

"after-download" is usually sent when the component isnt downloaded yet, InvalidStateError is a result of the model being unavailable when making a session

Scylla2020 commented 2 months ago

I get all sorts of errors on windows 10 but works smoothly on 11. Could be anything but for me that's the difference I see

Shashank-Yggdrasil-Tree commented 2 months ago

I am facing the same issue

InvalidStateError: The session cannot be created.

And I have rechecked each steps and re started the pc. Still it is not working

mtgr1020 commented 2 months ago

Please wait patiently for a while, and then reopen it. I didn’t do anything and it worked. Maybe it was downloading the configuration.