web-llm icon indicating copy to clipboard operation
web-llm copied to clipboard

The operation failed for an operation-specific reason

Open TechGeekUnited opened this issue 2 years ago • 1 comments

I Had the same issue with WEBSD when i switched to canary WEBsd Worked but WEBllm still gives the error frequently(Image attached) Screenshot 2023-08-04 144404

TechGeekUnited avatar Aug 04 '23 21:08 TechGeekUnited

While the smaller model (RedPajama-INCITE-Chat-3B-v1-q4f32_0) has been working smoothly for me, I'm observing similar errors as reported for Llama-2-7b-chat-hf-q4f32_1. I also tried vicuna-v1-7b-q4f32_0 which worked fine for a message or two until I opened another browser tab (the screen went black and then got "GPU connection lost", "OperationError: The operation failed for an operation-specific reason" and "DOMException: Device is lost") which makes me think that maybe my device cannot handle the needed memory for WebGPU that these bigger models demand. From some initial research about the errors, I also found comments that the browser throws them when it cannot allocate enough memory to WebGPU. Could this be the reason? Do you know of any potential way this could be solved?

patnorris avatar Aug 21 '23 16:08 patnorris