-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add a feature flag for Metal acceleration support #91
Conversation
Pretty excited to see this in action |
Is the issue resolved?
How can I fix? |
No one's tested this besides me, with an Apple unsupported macOS system, so I'm hesitant to merge yet. |
I tested it on my M2 macbook pro, build succeed but there was no change in GPU usage when I use whisper, so I think can't sure it works or not... 😢 I'm will keep try to find a way for success of metal acceleration support. |
I test it on M1 Mac mini, Intel iMac and Intel Macbook. All build succeed and examples work fine. It seems GPU is being utilized as well on M1 Mac. |
# Conflicts: # sys/build.rs
Given that I didn't change anything fundamentally with those merge conflicts, I'm going to go ahead and merge. If it breaks again, let me know. |
I just tried it and the build works fine, but there is no log that metal was used. �What am I missing?
|
That I have no clue about. It could be anything. As far as I can tell, we are linking with the required libraries now, so it should work fine. Like I said, I'm on an Apple-unsupported setup (macOS 14 on a 2012 MBP with legacy Metal support) so I doubt most of what I try will apply to others. |
@jungsu0717 did you specify to use the "metal" feature, ie
|
Should hopefully fix errors along the lines of the following on macOS:
cc @cenzovit