Comments (6)
Thank you for your interest to DAAL and sorry for delay with answer.
release to maven is in our future plans. We will let you know when DAAL will be available in maven.
from onedal.
Releasing to maven is crucial.
The worst part about the daal.jar
that is bundled now is that it doesn't have javadoc. This necessitates workarounds.
Please also include libJavaApi.so
in the jar. You can look at JCuda
, com.github.fommil.netlib
, or JavaCPP
for examples how this can be done.
At the least, add a pom.xml
to the source code so that it is easy to build and install locally.
from onedal.
Hello almson!
Please also include libJavaApi.so in the jar. You can look at JCuda, com.github.fommil.netlib, or JavaCPP for examples how this can be done.
we can not simple include libJavaApi.so into jar because: this is not single so which daal jar depend of; daal support 6 platforms (lnx/mac/win + 32bit/64bit), so all binaries somehow needs to be included into jar to continue support of these platforms.
instead of including all kind of binaries into jar, we plan to have 5 separate zip packages. daal users will be needed to download-unpack binaries thru maven-dependency-plugin. exact zip file may be choosed via profiles.
At the least, add a pom.xml to the source code so that it is easy to build and install locally.
I have attached pom.xml to this post. Could you look at it and tell us your opinion
about chosen scheme of daal at maven publishing?
pom.zip
Andrey
from onedal.
Did you look at JCuda or Netlib before coming up with your own method of handling the native libraries? Because your method is worse.
They don't use java.library.path
because it is a very inconvenient mechanism. At runtime, they detect what platform they're running on and extract the appropriate native library to /tmp
and load it dynamically.
In the POM, JCuda uses opt-in for desired platforms:
<dependency>
<groupId>org.jcuda</groupId>
<artifactId>jcudnn</artifactId>
<version>0.9.0</version>
</dependency>
<dependency>
<groupId>org.jcuda</groupId>
<artifactId>jcudnn-natives</artifactId>
<version>0.9.0</version>
<classifier>linux-x86_64</classifier>
</dependency>
<dependency>
<groupId>org.jcuda</groupId>
<artifactId>jcudnn-natives</artifactId>
<version>0.9.0</version>
<classifier>windows-x86_64</classifier>
</dependency>
while Netlib uses opt-out:
<dependency>
<groupId>com.github.fommil.netlib</groupId>
<artifactId>all</artifactId>
<version>1.1.2</version>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>com.github.fommil.netlib</groupId>
<artifactId>netlib-native_ref-linux-armhf</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.fommil.netlib</groupId>
<artifactId>netlib-native_ref-linux-i686</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.fommil.netlib</groupId>
<artifactId>netlib-native_ref-win-i686</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.fommil.netlib</groupId>
<artifactId>netlib-native_system-linux-armhf</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.fommil.netlib</groupId>
<artifactId>netlib-native_system-linux-i686</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.fommil.netlib</groupId>
<artifactId>netlib-native_system-win-i686</artifactId>
</exclusion>
</exclusions>
</dependency>
from onedal.
Hello almson!
thank you for pointing us to jcuda. I have looked at at their implementation and it looks really better than my proposal (from customers point of view). I need to finish some experiments, but looks like we will use the same approach in DAAL.
Andrey
PS: I considered packaging DAAL binaries into jar (instead of zip), but missed some key details.
from onedal.
Hello almson!
We have published DAAL at maven central today. Repository address is http://central.maven.org/maven2/com/intel/daal.
To use DAAL in maven projects just add following dependency into .pom file:
<dependency>
<groupId>com.intel.daal</groupId>
<artifactId>daal</artifactId>
<version>2019.0.001</version>
</dependency>
Andrey
from onedal.
Related Issues (20)
- NaiveBayes hang in the middle of localAlgorithm.compute HOT 2
- Implement HistGradientBoostingRegressor HOT 1
- Improvements in cmake configuration HOT 2
- Makefile build against official MKL and TBB possible? HOT 3
- Issues with the makefile - what about a cmake based build system? HOT 2
- Can not deploy an application that is dynamically linked against oneDAL HOT 6
- How to make a debug build (missing daal_vmlipp_cored.lib)? HOT 7
- Feature request: Add support for ClangCl on MSVC HOT 4
- Looking forward to kd-tree implementation.. HOT 1
- Support for accelerating NGBoost HOT 1
- Compile Failure: "No kernel name provided without -fsycl-unnamed-lambda enabled!" HOT 2
- Support for RISC-V architecture HOT 1
- Error in running daal c++ examples HOT 4
- Datasets used for producing speedup benchmarks in scikit-learn intelex HOT 1
- Remote branch develop not found in upstream origin HOT 2
- `xsyrk` vs `xxsyrk` vs `dsyrk` (in netlib LAPACK) HOT 4
- PCA tests fail periodically.
- Not able to build daal/cpp examples HOT 3
- How to validate results when adding a new backend (i.e., OpenBLAS, Lapack, etc) HOT 1
- Differences betwen SPBLAS - xcsrmultd & xcsrmm ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onedal.