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

VisionOS Metal not supported? #104

Open
simoninithomas opened this issue Oct 30, 2024 · 2 comments
Open

VisionOS Metal not supported? #104

simoninithomas opened this issue Oct 30, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@simoninithomas
Copy link

simoninithomas commented Oct 30, 2024

Hey there 👋 ,

I'm testing Whisper.unity on VisionOS. And what it looks like is that we can't run Metal on VisionOS.

What I did:
Screenshot 2024-10-30 at 13 54 11

  • I tried to modified the Libwhisper_metal (in MacOS) plugin to accept VisionOS platform. But this lead to errors when running on Simulation.

I'm wondering then if it's possible to run Whisper with metal on Vision Pro 🤔

Thanks for your help

@Macoron
Copy link
Owner

Macoron commented Oct 31, 2024

Unfortunately, there are no libraries compiled with Metal-support for iOS and VisionOS. No particular reason, just didn't get around to do it and test it.

Though it should be relatively easy to fix, you would need to change cmake flags here.

@Macoron Macoron added the enhancement New feature or request label Oct 31, 2024
@simoninithomas
Copy link
Author

Hi thanks and sorry for the delay.

I compiled for VisionOS lib with metal: https://github.com/simoninithomas/whisper.unity/actions/runs/11919423718

But unfortunately it's still super slow. It looks like the VisionPro continue to run it on CPU.

For now the best solution looks like to use very small models like tiny or small.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants