-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fastmath always loads MKL binaries #15
Comments
Looks like |
Thanks. I need to check if I can get rid them of. Generally Smile is used in several places (optimization, clustering, stats) and as far as I remember some algorithms rely on mkl. |
Thank you @genmeblog! The thing is it increases our artifact size from 151 MB to 1 GB :) |
Yes... I'm aware of this. And more people complained about the size. When I exclude smile-mkl, some things are not working - need to investigate what and when... |
Ok, when I turn off MKL, OpenBlas is loaded instead, however... my test suite (which is |
@genmeblog we use your awesome clojure2d library to do some basic drawing (put some text onto an image background). Could we use some "lite" version instead? |
The option is to release version without MKL with a annotation about the potential issues. I need to verify if clojure2d is able to stable operate without MKL. |
@genmeblog that's the entirety of the c2d API we use: |
I can't propose anything more than exclusion of MKL. I need to carefuly test and assure that things around fastmath will work. |
@mikub I decided to update README and describe how to remove MKL and what's the impact. As far as I tested, most things should work on OpenBlas, however I have some issues during build. That means that by default MKL will be included but can be easily removed. I'll exclude MKL from Clojure2d - it has been tested already (thanks @tomekw) and works on OpenBlas without the problems. |
Hi there!
We love fastmath! 🙏
Just a small nitpick (it actually broke our deployment pipeline 😄 ):
Fastmath includes
com.github.haifengl/smile-mkl
dependency which may lead to substantial resources (~800MB) being downloaded and included in the build.This should be either configurable or at least mentioned in the Readme so as users may plan for this and optionally exclude this dependency from their deps tree.
Cheers
Miro
The text was updated successfully, but these errors were encountered: