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
Use different trigger properties for avx2/avx512 extension profiles? #6933
Comments
I probably meant to set libnd4j.extension to javacpp.extension here: |
My biggest problem with using the name Also the line that you've linked would result in a slightly incompatible way of setting extensions, if I got that correctly. When building libnd4j we set |
And Java typically includes the |
It is just that there are several very similarly named things that do just slightly different stuff accepting just slightly different options which aren't documented and should in my opinion not even exist as separate things |
Sure, feel free to change this however you like. The way it is right now is close enough to how the presets work, but if you wish to maintain Deeplearning4j yourself in a different way, go for it! |
As far as I can tell none of the presets are using a If possible I'd love to have just |
As an option maybe we can unify these two pros to just |
@saudet I think you misunderstood @treo comments... How about to move this conversation to internal chat... |
This drops javacpp.extension in favor of only using libnd4j.extension to trigger the proper profiles that will set all other required properties. So far only two possible values are supported: avx2 and avx512. Fixes #6933
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
While trying to figure out #6932 I've come across this:
deeplearning4j/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/pom.xml
Lines 331 to 339 in d5465b0
So we are using
javacpp.extension
here to triggerjavacpp.platform.extension
. This resulted in a bit of confusion on my side. Since we have to setlibnd4j.extension
anyway for this case, why not trigger the profile on it and skip using the javacpp namespace for that property?/cc @saudet
The text was updated successfully, but these errors were encountered: