Comments (5)
@anatoliy-balakirev during the build just specify -Djavacpp.platform=$YOUR_PLATFORM. This will avoid bundling a bunch of dependencies. See more here: https://deeplearning4j.konduit.ai/multi-project/how-to-guides/developer-docs/javacpp
from deeplearning4j.
@agibsonccc thanks for your response. Sorry, maybe my question was not clear enough. What I want is to build one jar, supporting both: linux-x86_64
and windows-x86_64
. I.e., something similar to <artifactId>nd4j-native-platform</artifactId>
, but with limited amount of platforms. The option you provided doesn't seem to support that.
from deeplearning4j.
When switching to using classifiers, I guess you had just the classifiers in there?
You would still need to keep the classifier-less nd4j-native dependency.
from deeplearning4j.
@treo thanks, that was indeed an issue. Adding this to the pom does the trick:
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-native</artifactId>
<version>1.0.0-M2.1</version>
</dependency>
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-native</artifactId>
<classifier>linux-x86_64</classifier>
<version>1.0.0-M2.1</version>
</dependency>
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-native</artifactId>
<classifier>windows-x86_64</classifier>
<version>1.0.0-M2.1</version>
</dependency>
P.S. Not sure if it should be as part of this issue, but would be great to update documentation with that info.
from deeplearning4j.
from deeplearning4j.
Related Issues (20)
- A script that parses XML takes only 0.00718 seconds to execute through Python, but it takes 17 seconds to execute through Python4J. Why is there such a difference in performance? HOT 6
- Please ensure that you have an nd4j backend on your classpath. Please see: https://deeplearning4j.konduit.ai/nd4j/backend HOT 2
- Please update the version of opencsv you are using
- module-info.java for 'modelimport' contains invalid (old) exports HOT 4
- python4j spring boot jar PythonExecutioner init error HOT 3
- Ensure read into byte array from InputStream happens fully HOT 2
- libnd4j: Execution javacpp-cppbuild-compile of goal org.bytedeco:javacpp:1.5.9:build failed: Process exited with an error: 127
- Unable to start UI server
- Unable to use RemoteUIStatsStorageRouter HOT 2
- libnd4j - undefined reference to `sd::PrintTo(sd::NDArray const&, std::ostream*) HOT 3
- Running a a basic CNN training fails on Google Colab!
- AMD GPUs not supported? HOT 4
- Normalized Autoencoder (NAE): Improve outlier detection performance
- Op [multiply] execution failed HOT 1
- error when compiling (exception in thread "main" java.lang.ExceptionInInitializerError) HOT 3
- WordVectorSerializer should add load Supplier<InputStream> functions HOT 2
- version bug for commons-io?
- [ND4J][CUDA 12] Support nd4j for cuda 12.4.1 ? HOT 3
- CSVVariableSlidingWindowRecordReader not actually splitting by delimiter? HOT 2
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 deeplearning4j.