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 CoreML support for Mac #157
Conversation
It would be great if the version number in CMakeLists.txt and buildspec.json is changed to the correct number before the new release |
* Enable Werror and WX * Fix errors * Fix bug
so v0.5.1 or 0.5.2? |
I think v0.5.2 |
Builds seem to be fixed 🎉 |
@umireon yep but it's not working 🤣 .. i'm fixing - it should only be a minute longer. |
src/background-filter.cpp
Outdated
obs_property_list_add_string(p_use_gpu, obs_module_text("GPU - DirectML"), USEGPU_DML); | ||
#endif | ||
#if APPLE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#if APPLE | |
#ifdef __APPLE__ |
I suppose almost all the operation of OBS is done with GPU. |
CoreML uses CPU when the operator is not supported by CoreML. |
@umireon coreML also does nothing on Intel Macs. Only supported on M1/M2. Which is fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@umireon can you plz approve? thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my approval discarded, LGTM!
To boost inference time and save on CPU cycles on Mac machines