Open MikeBirdTech opened 1 month ago
downgrading to transformers==4.41.2
works for me
related: https://github.com/huggingface/transformers/issues/32321
From what I see the Phi-model code is totally defined within moondream, while they are calling to the
transformers
implementation ofgenerate()
. I recommend you to open an issue in moondream since they would have to update Phi modeling code, we have been actively modifying it lately.
Updated here for compatibility with the latest version of transformers: https://github.com/vikhyat/moondream/commit/22565c070cc1bcbfca5a2f758d3e120b882a6e4b
Haven't pushed to HF yet - will do next week.
Hi!
Has it been pushed? I still have the out of bounds message.
Thanks!
Trying to have Open Interpreter describe images locally. Errors every time. I use a Mac with Apple silicon
Not sure if the issue is with how Open Interpreter is passing images to moondream file or something with my setup.
Happy to help resolve this if it's something on our end!