Open geronimi73 opened 5 months ago
Hi there! 👋 Thanks for debugging - the console logs are really helpful here. Indeed OrtRun(). error code = 6
is typically for out-of-memory issues, which is a bit unexpected due to the small model size, but supposedly the RAM usage increases significantly during embedding computation. 😞 This might be improved with v3 - which uses a more up-to-date version of onnxruntime-web, but I haven't tested yet 👀
thank you!
something maybe related, I just noticed that the space uses a lot of memory, at least that's what Chrome says. Is this expected?
Mine says something way different 👀 (this is after loading and using the model):
System Info
https://huggingface.co/spaces/Xenova/segment-anything-web with Google Chrome (v125.0.6422.80) on iphone (iOS Version 16.5.1, Model iPhone SE)
Description
Hey,
first, transformers.js is an amazing project. THANK YOU
Second, Xenova/slimsam-77-uniform does not work on my phone. I am using the official demo. https://huggingface.co/spaces/Xenova/segment-anything-web
Chrome (v125.0.6422.80) on my iphone (iOS Version 16.5.1, Model Name iPhone SE) is stuck at the "extracting embedding" step:
I did a quick debug with Web Inspector and this is what I get on the console
Seems like https://cdn.jsdelivr.net/npm/@xenova/transformers.min.js.map goes 404, not sure if this is the cause but I don't get this error when I run it on my desktop.
Any help appreciated.
Reproduction