Compare commits

..

174 Commits

Author SHA1 Message Date
Brian Rosenberger 1c3496ad84 gan example
Signed-off-by: brian <brian@brutex.de>
2023-08-07 10:39:16 +02:00
Brian Rosenberger 3ea555b645 add test stage to linux cuda on docker build
Signed-off-by: brian <brian@brutex.de>
2023-08-07 10:39:16 +02:00
Brian Rosenberger e11568605d Update lombok
Signed-off-by: brian <brian@brutex.de>
2023-08-07 10:39:16 +02:00
Brian Rosenberger 9f0682eb75 Downgrade gradle wrapper to 7.4.2 and upgrade javacpp-gradle plugin to 1.5.9
Signed-off-by: brian <brian@brutex.de>
2023-08-07 10:39:16 +02:00
Brian Rosenberger ca127d8b88 Fixed missing imports
Signed-off-by: brian <brian@brutex.de>
2023-08-07 10:39:16 +02:00
Brian Rosenberger deb436036b Change jenkins pipeline credentials id for MAVEN
Signed-off-by: brian <brian@brutex.de>
2023-08-07 10:39:16 +02:00
Brian Rosenberger 1f2bfb36a5 Change jenkins pipeline credentials id for MAVEN
Signed-off-by: brian <brian@brutex.de>
2023-08-07 10:39:16 +02:00
Brian Rosenberger b477b71325 Change jenkins pipeline credentials id for MAVEN
Signed-off-by: brian <brian@brutex.de>
2023-08-07 10:39:16 +02:00
Brian Rosenberger d75e0be506 Fix build docker image to use CUDA 11.4.3 (was 11.4.0)
Signed-off-by: brian <brian@brutex.de>
2023-08-07 10:39:16 +02:00
Brian Rosenberger 318cafb6f0 Fix build docker image to use CUDA 11.4.3 (was 11.4.0)
Signed-off-by: brian <brian@brutex.de>
2023-08-07 10:39:16 +02:00
Brian Rosenberger 24466a8fd4 Fixing Tests 2023-08-07 10:39:16 +02:00
Brian Rosenberger 581a14118c Merge remote-tracking branch 'brutex-origin/enhance-build-infrastructure' into enhance-build-infrastructure
# Conflicts:
#	brutex-extended-tests/src/test/java/net/brutex/gan/App.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/gradientcheck/AttentionLayerTest.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/nn/conf/layers/LayerBuilderTest.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/nn/layers/samediff/testlayers/SameDiffConv.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/nn/layers/samediff/testlayers/SameDiffDense.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/nn/layers/samediff/testlayers/SameDiffMSEOutputLayer.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/regressiontest/RegressionTest050.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/regressiontest/RegressionTest060.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/regressiontest/RegressionTest071.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/regressiontest/RegressionTest080.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/regressiontest/RegressionTest100b4.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/regressiontest/RegressionTest100b6.java
#	cavis-dnn/cavis-dnn-core/src/test/java/org/deeplearning4j/regressiontest/customlayer100a/CustomLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/gradientcheck/GradientCheckUtil.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/ActivationLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/BaseLayerConfiguration.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/BaseUpsamplingLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/BatchNormalization.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/CapsuleLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/CenterLossOutputLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/Convolution1D.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/Convolution1DLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/Convolution2D.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/Convolution3D.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/ConvolutionLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/Deconvolution2D.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/Deconvolution3D.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/DenseLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/DepthwiseConvolution2D.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/EmbeddingLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/EmbeddingSequenceLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/GravesBidirectionalLSTM.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/GravesLSTM.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/LSTM.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/LayerConfiguration.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/LearnedSelfAttentionLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/LocallyConnected1D.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/LocallyConnected2D.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/NoParamLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/OutputLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/PReLULayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/Pooling1D.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/Pooling2D.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/PrimaryCapsules.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/RecurrentAttentionLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/RnnOutputLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/SelfAttentionLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/SeparableConvolution2D.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/Subsampling1DLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/Subsampling3DLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/SubsamplingLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/ZeroPaddingLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/objdetect/Yolo2OutputLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/samediff/AbstractSameDiffLayer.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/variational/VariationalAutoencoder.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/conf/layers/wrapper/BaseWrapperLayerConfiguration.java
#	cavis-dnn/cavis-dnn-nn/src/main/java/org/deeplearning4j/nn/params/DefaultParamInitializer.java
2023-05-08 09:24:11 +02:00
Brian Rosenberger 871073e4a4 Fixing tests
Signed-off-by: brian <brian@brutex.de>
2023-05-08 09:22:38 +02:00
Brian Rosenberger 35ea21e436 Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>
2023-04-27 16:05:44 +02:00
Brian Rosenberger cb236878a4 Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>
2023-04-27 16:05:44 +02:00
Brian Rosenberger 7628bbdd53 Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>
2023-04-27 16:05:43 +02:00
Brian Rosenberger 396dbec24e Using @SuperBuilder for LayerConfigurations 2023-04-27 16:05:43 +02:00
Brian Rosenberger e576659639 Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>
2023-04-27 12:55:01 +02:00
Brian Rosenberger 3267b06bde Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>
2023-04-25 16:44:47 +02:00
Brian Rosenberger 8f524827e4 Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>
2023-04-25 15:42:24 +02:00
Brian Rosenberger 391a1ad397 Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>
2023-04-25 14:03:06 +02:00
Brian Rosenberger 55f8486fe3 Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>
2023-04-25 13:25:23 +02:00
Brian Rosenberger 9139940101 Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>
2023-04-25 11:54:49 +02:00
Brian Rosenberger ad870c5281 Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>
2023-04-25 11:41:33 +02:00
Brian Rosenberger f6100c362d Using @SuperBuilder for LayerConfigurations
Signed-off-by: brian <brian@brutex.de>
2023-04-24 18:09:11 +02:00
agibsonccc 4482113f23 removing demo files
Signed-off-by: brian <brian@brutex.de>
2023-04-17 14:36:30 +02:00
Brian Rosenberger 98ea7d0b3b Merge remote-tracking branch 'brutex-origin/enhance-build-infrastructure' into enhance-build-infrastructure
# Conflicts:
#	.docker/Dockerfile
#	cavis-datavec/cavis-datavec-api/src/main/java/org/datavec/api/records/reader/RecordReader.java
#	cavis-datavec/cavis-datavec-api/src/main/java/org/datavec/api/records/reader/impl/FileRecordReader.java
#	cavis-datavec/cavis-datavec-api/src/main/java/org/datavec/api/writable/WritableFactory.java
2023-04-17 11:32:34 +02:00
Brian Rosenberger 1e0851d0ff Applying patches from eclipse-deeplearning4j
Signed-off-by: brian <brian@brutex.de>
2023-04-17 11:31:46 +02:00
Brian Rosenberger d592e02852 Refactoring and separation of IModel / Layer 2023-04-17 10:37:01 +02:00
Brian Rosenberger 42fb4bd48e Playing with GAN
Signed-off-by: brian <brian@brutex.de>
2023-04-17 10:37:01 +02:00
Brian Rosenberger aab7b423d1 Adding cuDNN support 2023-04-17 10:37:01 +02:00
Brian Rosenberger a39e44c782 Make Writable and Record first class citizen of the datavec.api
Signed-off-by: brian <brian@brutex.de>
2023-04-17 10:37:01 +02:00
Brian Rosenberger f92b786836 Fix javadoc and cleanup 2023-04-17 10:37:00 +02:00
Brian Rosenberger 2b4d44ea67 More test fixes 2023-04-17 10:37:00 +02:00
Brian Rosenberger a32644bdb7 Fix javadoc and cleanup
Signed-off-by: brian <brian@brutex.de>
2023-04-17 10:37:00 +02:00
Brian Rosenberger 07c052d822 Fix javadoc and cleanup 2023-04-17 10:37:00 +02:00
Brian Rosenberger 5c98c5e1ed More test fixes 2023-04-17 10:36:59 +02:00
Brian Rosenberger 82dec223ac datavec-data-image test fixes
Signed-off-by: brian <brian@brutex.de>
2023-04-17 10:36:59 +02:00
Brian Rosenberger a4bf1c3e62 datavec-data-image test fixes
Signed-off-by: brian <brian@brutex.de>
2023-04-17 10:36:59 +02:00
Brian Rosenberger 205252e5a9 Add jenkinsfile for pipeline build and dockerfile for build 2023-04-17 10:36:58 +02:00
Brian Rosenberger 11ba7a59c1 More test fixes 2023-04-17 10:36:55 +02:00
Brian Rosenberger 4ad1987a07 Fix compiler warnings
Signed-off-by: brian <brian@brutex.de>
2023-04-17 10:36:55 +02:00
Brian Rosenberger ac7df3831e Additional integration tests
Signed-off-by: brian <brian@brutex.de>
2023-04-17 10:36:54 +02:00
Brian Rosenberger c58038bf06 Fix compiler warning: comparison between signed and unsigned integer expressions
Signed-off-by: brian <brian@brutex.de>
2023-04-17 10:36:54 +02:00
Brian Rosenberger 7451979a3c Additional integration tests
Signed-off-by: brian <brian@brutex.de>
2023-04-17 10:36:54 +02:00
Brian Rosenberger 2f8e6ea1f8 Add jenkinsfile for pipeline build and dockerfile for build 2023-04-17 10:36:54 +02:00
Brian Rosenberger 82e65bdf59 Playing with some new code 2 - clean build/test
Signed-off-by: brian <brian@brutex.de>
2023-04-17 09:41:12 +02:00
Brian Rosenberger 9d4939ccfd Playing with some new code 2 - clean build/test
Signed-off-by: brian <brian@brutex.de>
2023-04-15 12:50:26 +02:00
Brian Rosenberger 1f2e82d3ef Playing with some new code 2 - clean build/test
Signed-off-by: brian <brian@brutex.de>
2023-04-14 13:24:19 +02:00
Brian Rosenberger 0f21ed9ec5 Playing with some new code 2 - clean build/test
Signed-off-by: brian <brian@brutex.de>
2023-04-14 07:31:32 +02:00
Brian Rosenberger a5dfdcb18f Playing with some new code 2 - clean build
Signed-off-by: brian <brian@brutex.de>
2023-04-07 17:05:32 +02:00
Brian Rosenberger 3edb90dbd1 Playing with some new code 2
Signed-off-by: brian <brian@brutex.de>
2023-04-07 14:28:47 +02:00
Brian Rosenberger 9af4f9f23a Playing with some new code
Signed-off-by: brian <brian@brutex.de>
2023-03-24 15:04:06 +01:00
Brian Rosenberger fec570ff98 Playing with some new code
Signed-off-by: brian <brian@brutex.de>
2023-03-23 17:39:00 +01:00
Brian Rosenberger 4665c5a10a Playing with GAN
Signed-off-by: brian <brian@brutex.de>
2023-03-22 17:34:43 +01:00
Brian Rosenberger 98665032b1 Adding cuDNN support
Signed-off-by: brian <brian@brutex.de>
2023-03-10 17:25:32 +01:00
Brian Rosenberger 67e32adb56 Adding cuDNN support
Signed-off-by: brian <brian@brutex.de>
2023-03-10 17:17:19 +01:00
Brian Rosenberger e59e14da35 Adding cuDNN support
Signed-off-by: brian <brian@brutex.de>
2023-03-10 16:40:19 +01:00
Brian Rosenberger 8d31caffbe Adding cuDNN support
Signed-off-by: brian <brian@brutex.de>
2023-03-10 16:32:41 +01:00
Brian Rosenberger bf10564be7 Adding cuDNN support
Signed-off-by: brian <brian@brutex.de>
2023-03-10 11:20:32 +01:00
Brian Rosenberger e61068da55 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-30 05:52:19 +01:00
Brian Rosenberger 9bc4009d10 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-30 05:45:35 +01:00
Brian Rosenberger d02c5d7862 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-30 05:42:02 +01:00
Brian Rosenberger f4bd8c7400 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-30 05:39:15 +01:00
Brian Rosenberger d91d9db283 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-30 05:28:44 +01:00
Brian Rosenberger 80aad3087a Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-27 18:34:57 +02:00
Brian Rosenberger fa3c9a3a4f Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-27 14:36:31 +02:00
Brian Rosenberger 49fdbff24c Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-27 14:32:48 +02:00
Brian Rosenberger bc99c932cf Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-26 19:43:30 +02:00
Brian Rosenberger 565bc17cfb Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-26 19:38:10 +02:00
Brian Rosenberger badbc19eae Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-26 19:25:23 +02:00
Brian Rosenberger b2acaf8062 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-26 19:22:58 +02:00
Brian Rosenberger 2bde6f0975 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-26 13:48:16 +02:00
Brian Rosenberger 75e1fb9005 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-26 12:59:25 +02:00
Brian Rosenberger 286cf061ab Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-26 10:25:27 +02:00
Brian Rosenberger 6107c7efef Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-26 10:20:53 +02:00
Brian Rosenberger 6abe96a1da Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-26 10:19:22 +02:00
Brian Rosenberger a6d60a4cdb Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 20:47:28 +02:00
Brian Rosenberger ef4f3a9841 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 20:30:59 +02:00
Brian Rosenberger d4b53afe89 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 20:21:36 +02:00
Brian Rosenberger 258e8b4486 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 20:16:39 +02:00
Brian Rosenberger d31457b545 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 20:13:08 +02:00
Brian Rosenberger b023808b1d Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 20:01:57 +02:00
Brian Rosenberger 55165c9e2c Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 14:06:35 +02:00
Brian Rosenberger 474d072697 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 14:03:33 +02:00
Brian Rosenberger 731d7d510e Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 13:59:14 +02:00
Brian Rosenberger c912c4ece1 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 13:51:11 +02:00
Brian Rosenberger 9229c9d0f8 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 13:39:56 +02:00
Brian Rosenberger 41fd85aa67 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 13:38:48 +02:00
Brian Rosenberger 6f8c14c0a3 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 13:37:36 +02:00
Brian Rosenberger 602220e07e Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 13:21:53 +02:00
Brian Rosenberger 400429a32f Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 13:20:14 +02:00
Brian Rosenberger efd106dc0a Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 09:21:58 +02:00
Brian Rosenberger 46b04cc0b4 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 09:20:22 +02:00
Brian Rosenberger 7cd0cd12cc Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 09:17:23 +02:00
Brian Rosenberger a310b6be95 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 09:16:07 +02:00
Brian Rosenberger 0aea7d8e4c Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-25 09:03:46 +02:00
Brian Rosenberger 0bd8f072c0 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 18:07:39 +02:00
Brian Rosenberger 6af05fc8a5 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 18:04:38 +02:00
Brian Rosenberger 42a27480e6 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 17:47:41 +02:00
Brian Rosenberger 4857b71181 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 17:35:50 +02:00
Brian Rosenberger 638f13e681 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 17:32:47 +02:00
Brian Rosenberger 6044c1c53a Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 17:32:35 +02:00
Brian Rosenberger 1e681e7c05 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 15:36:39 +02:00
Brian Rosenberger f1695eb8ae Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 14:29:10 +02:00
Brian Rosenberger 460205101c Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 14:24:21 +02:00
Brian Rosenberger a9bcb7f0c8 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 14:22:22 +02:00
Brian Rosenberger 30041c8aa5 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 12:51:01 +02:00
Brian Rosenberger c3bb9d44cd Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 12:44:21 +02:00
Brian Rosenberger 7a105ed207 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 11:30:50 +02:00
Brian Rosenberger cf5c9b53b9 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 11:09:17 +02:00
Brian Rosenberger 2e074768f3 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 11:04:23 +02:00
Brian Rosenberger 0d443b8eda Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 10:47:43 +02:00
Brian Rosenberger 471657fef7 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-24 10:42:07 +02:00
Brian Rosenberger 582cbdf67d Make Writable and Record first class citizen of the datavec.api
Signed-off-by: brian <brian@brutex.de>
2022-10-21 22:03:01 +02:00
Brian Rosenberger 1c2ca75308 Fix javadoc and cleanup 2022-10-21 21:32:00 +02:00
Brian Rosenberger 66ed10a5e3 Add jenkinsfile for pipeline build and dockerfile for build 2022-10-21 21:31:44 +02:00
Brian Rosenberger 931841d669 Add jenkinsfile for pipeline build and dockerfile for build 2022-10-21 21:31:41 +02:00
Brian Rosenberger d767abdeba More test fixes 2022-10-21 21:31:36 +02:00
Brian Rosenberger 4dfc637305 Fix javadoc and cleanup
Signed-off-by: brian <brian@brutex.de>
2022-10-21 16:36:56 +02:00
Brian Rosenberger 656d367812 Fix javadoc and cleanup
Signed-off-by: brian <brian@brutex.de>
2022-10-21 15:19:32 +02:00
Brian Rosenberger 234b91a5b1 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-20 09:44:26 +02:00
Brian Rosenberger 0a9a0cdf3c Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-19 16:19:01 +02:00
Brian Rosenberger e5d45fb620 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-19 15:59:59 +02:00
Brian Rosenberger 28b1df3773 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-19 13:31:00 +02:00
Brian Rosenberger df7675fba7 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-14 23:56:48 +02:00
Brian Rosenberger 55c9d7d10c Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-14 23:38:41 +02:00
Brian Rosenberger 2ca92d3431 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-14 23:21:27 +02:00
Brian Rosenberger 87488dbdd7 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-14 23:07:02 +02:00
Brian Rosenberger 6174642bfe Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-14 22:24:59 +02:00
Brian Rosenberger fd4da57a0d Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-14 21:59:13 +02:00
Brian Rosenberger 05e8a78d51 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-14 21:53:22 +02:00
Brian Rosenberger 97fbd07a0c Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-14 21:47:05 +02:00
Brian Rosenberger 320b4430dd Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-14 21:12:07 +02:00
Brian Rosenberger f1a0a66021 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-14 17:07:14 +02:00
Brian Rosenberger 976491ee86 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-14 12:32:41 +02:00
Brian Rosenberger 5eb3d1c33d More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-14 12:11:15 +02:00
Brian Rosenberger 4718195681 upgrade versions
Signed-off-by: brian <brian@brutex.de>
2022-10-14 12:00:34 +02:00
Brian Rosenberger e695f1c653 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-13 17:52:47 +02:00
Brian Rosenberger 2a96e71853 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-13 16:55:37 +02:00
Brian Rosenberger a9890feb9f Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-13 16:53:50 +02:00
Brian Rosenberger 941275df3a Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-12 20:39:12 +02:00
Brian Rosenberger 1ee6b7a231 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-12 19:45:41 +02:00
Brian Rosenberger e3d64a1cac Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-12 16:55:13 +02:00
Brian Rosenberger 81d49ba1f0 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-12 12:40:01 +02:00
Brian Rosenberger 0e50a1a04c Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-12 12:24:19 +02:00
Brian Rosenberger 4f3393ceb4 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-12 12:12:40 +02:00
Brian Rosenberger b43e5860a9 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-12 12:07:39 +02:00
Brian Rosenberger b08a0ac24b Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-12 12:03:08 +02:00
Brian Rosenberger efbb341742 More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-12 11:01:57 +02:00
Brian Rosenberger a279242459 More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-11 13:52:52 +02:00
Brian Rosenberger 011ce913c9 More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-11 10:16:51 +02:00
Brian Rosenberger 21e7f1c8b8 More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-11 09:29:26 +02:00
Brian Rosenberger 6960418295 More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-11 07:59:22 +02:00
Brian Rosenberger f8067f8f96 datavec-data-image test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-10 23:20:18 +02:00
Brian Rosenberger c46e6e4c68 datavec-data-image test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-10 17:01:23 +02:00
Brian Rosenberger 6cb5d30284 More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-09 09:16:03 +02:00
Brian Rosenberger 098fcf4870 More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-08 13:40:37 +02:00
Brian Rosenberger 2da0a94750 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-07 16:23:49 +02:00
Brian Rosenberger 1aa8a1fbf5 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-07 15:34:23 +02:00
Brian Rosenberger 6fd0702ea5 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-07 15:04:30 +02:00
Brian Rosenberger 9660ab026d More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-07 14:59:54 +02:00
Brian Rosenberger a7f75fe6db More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-07 12:50:54 +02:00
Brian Rosenberger b8a21bc991 More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-07 12:28:58 +02:00
Brian Rosenberger acdd9c0a8a More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-07 10:49:08 +02:00
Brian Rosenberger 6856b154b1 More test fixes
Signed-off-by: brian <brian@brutex.de>
2022-10-06 13:22:06 +02:00
Brian Rosenberger 7bcfa76df4 Fix compiler warnings
Signed-off-by: brian <brian@brutex.de>
2022-10-05 13:46:28 +02:00
Brian Rosenberger 37e1e60603 Additional integration tests
Signed-off-by: brian <brian@brutex.de>
2022-10-05 13:31:33 +02:00
Brian Rosenberger 7362ea278b Fix compiler warning: comparison between signed and unsigned integer expressions
Signed-off-by: brian <brian@brutex.de>
2022-10-04 20:16:44 +02:00
Brian Rosenberger 2d9558af6b Additional integration tests
Signed-off-by: brian <brian@brutex.de>
2022-10-04 20:07:17 +02:00
Brian Rosenberger 62060d8131 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-04 20:06:21 +02:00
Brian Rosenberger b6575b22c8 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-04 17:07:28 +02:00
Brian Rosenberger d2aa6adce0 Merge branch 'master' into enhance-build-infrastructure 2022-10-04 17:05:24 +02:00
Brian Rosenberger e9daaf50f7 Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>
2022-10-03 20:26:54 +02:00
3742 changed files with 65926 additions and 83423 deletions

View File

@ -1,8 +1,15 @@
FROM nvidia/cuda:11.4.0-cudnn8-devel-ubuntu20.04
FROM nvidia/cuda:11.4.3-cudnn8-devel-ubuntu20.04
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-11-jdk wget build-essential checkinstall zlib1g-dev libssl-dev git
RUN wget https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2.tar.gz && \
tar -xvf cmake-3.24.2.tar.gz && cd cmake-3.24.2 && \
./bootstrap && make && make install
#Build cmake version from source \
#RUN wget https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2.tar.gz && \
# tar -xvf cmake-3.24.2.tar.gz && cd cmake-3.24.2 && \
# ./bootstrap && make && make install
RUN wget -nv https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2-linux-x86_64.sh && \
mkdir /opt/cmake && sh ./cmake-3.24.2-linux-x86_64.sh --skip-license --prefix=/opt/cmake && ln -s /opt/cmake/bin/cmake /usr/bin/cmake && \
rm cmake-3.24.2-linux-x86_64.sh
RUN echo "nameserver 8.8.8.8" >> /etc/resolv.conf

30
.gitignore vendored
View File

@ -36,6 +36,8 @@ pom.xml.versionsBackup
pom.xml.next
release.properties
*dependency-reduced-pom.xml
**/build/*
.gradle/*
# Specific for Nd4j
*.md5
@ -50,12 +52,12 @@ release.properties
*.dylib
.vs/
.vscode/
nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/resources/bin
nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/src/test/resources/writeNumpy.csv
nd4j/nd4j-backends/nd4j-tests/src/test/resources/tf_graphs/examples/**/data-all*
nd4j/nd4j-backends/nd4j-tests/src/test/resources/tf_graphs/examples/**/checkpoint
nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/onnx/
nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/tensorflow/
.old/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/resources/bin
.old/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/src/test/resources/writeNumpy.csv
.old/nd4j/nd4j-backends/nd4j-tests/src/test/resources/tf_graphs/examples/**/data-all*
.old/nd4j/nd4j-backends/nd4j-tests/src/test/resources/tf_graphs/examples/**/checkpoint
.old/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/onnx/
.old/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/tensorflow/
doc_sources/
doc_sources_*
@ -67,8 +69,8 @@ venv/
venv2/
# Ignore the nd4j files that are created by javacpp at build to stop merge conflicts
nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/src/main/java/org/nd4j/nativeblas/Nd4jCpu.java
nd4j/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/nativeblas/Nd4jCuda.java
.old/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/src/main/java/org/nd4j/nativeblas/Nd4jCpu.java
.old/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/nativeblas/Nd4jCuda.java
# Ignore meld temp files
*.orig
@ -82,3 +84,15 @@ bruai4j-native-common/cmake*
*.dll
/bruai4j-native/bruai4j-native-common/blasbuild/
/bruai4j-native/bruai4j-native-common/build/
/cavis-native/cavis-native-lib/blasbuild/
/cavis-dnn/cavis-dnn-core/build/reports/tests/cudaTest/classes/org.deeplearning4j.gradientcheck.AttentionLayerTest.html
/cavis-dnn/cavis-dnn-core/build/reports/tests/cudaTest/css/base-style.css
/cavis-dnn/cavis-dnn-core/build/reports/tests/cudaTest/css/style.css
/cavis-dnn/cavis-dnn-core/build/reports/tests/cudaTest/js/report.js
/cavis-dnn/cavis-dnn-core/build/reports/tests/cudaTest/packages/org.deeplearning4j.gradientcheck.html
/cavis-dnn/cavis-dnn-core/build/reports/tests/cudaTest/index.html
/cavis-dnn/cavis-dnn-core/build/resources/main/iris.dat
/cavis-dnn/cavis-dnn-core/build/resources/test/junit-platform.properties
/cavis-dnn/cavis-dnn-core/build/resources/test/logback-test.xml
/cavis-dnn/cavis-dnn-core/build/test-results/cudaTest/TEST-org.deeplearning4j.gradientcheck.AttentionLayerTest.xml
/cavis-dnn/cavis-dnn-core/build/tmp/jar/MANIFEST.MF

View File

@ -0,0 +1,82 @@
/*
*
* ******************************************************************************
* *
* * This program and the accompanying materials are made available under the
* * terms of the Apache License, Version 2.0 which is available at
* * https://www.apache.org/licenses/LICENSE-2.0.
* *
* * See the NOTICE file distributed with this work for additional
* * information regarding copyright ownership.
* * Unless required by applicable law or agreed to in writing, software
* * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* * License for the specific language governing permissions and limitations
* * under the License.
* *
* * SPDX-License-Identifier: Apache-2.0
* *****************************************************************************
*
*/
pipeline {
agent {
label 'linux'
}
stages {
stage('prep-build-environment-linux-cpu') {
steps {
checkout scm
sh 'gcc --version'
sh 'cmake --version'
sh 'sh ./gradlew --version'
}
}
stage('build-linux-cpu') {
environment {
MAVEN = credentials('Internal_Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew build --stacktrace -x test -PCAVIS_CHIP=cpu \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
/*stage('test-linux-cpu') {
environment {
MAVEN = credentials('Internal Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew test --stacktrace -PexcludeTests=\'long-running,performance\' -PCAVIS_CHIP=cpu \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}*/
stage('publish-linux-cpu') {
environment {
MAVEN = credentials('Internal Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew publish --stacktrace -PCAVIS_CHIP=cpu \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
}
}

View File

@ -0,0 +1,62 @@
/*
*
* ******************************************************************************
* *
* * This program and the accompanying materials are made available under the
* * terms of the Apache License, Version 2.0 which is available at
* * https://www.apache.org/licenses/LICENSE-2.0.
* *
* * See the NOTICE file distributed with this work for additional
* * information regarding copyright ownership.
* * Unless required by applicable law or agreed to in writing, software
* * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* * License for the specific language governing permissions and limitations
* * under the License.
* *
* * SPDX-License-Identifier: Apache-2.0
* *****************************************************************************
*
*/
pipeline {
agent {
/* dockerfile {
filename 'Dockerfile'
dir '.docker'
label 'linux && cuda'
//additionalBuildArgs '--build-arg version=1.0.2'
//args '--gpus all' --needed for test only, you can build without GPU
}
*/
label 'linux && cuda'
}
stages {
stage('prep-build-environment-linux-cuda') {
steps {
checkout scm
//sh 'nvidia-smi'
sh 'nvcc --version'
sh 'gcc --version'
sh 'cmake --version'
sh 'sh ./gradlew --version'
}
}
stage('build-linux-cuda') {
environment {
MAVEN = credentials('Internal_Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew build --stacktrace -PCAVIS_CHIP=cuda \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
}
}

View File

@ -0,0 +1,66 @@
/*
*
* ******************************************************************************
* *
* * This program and the accompanying materials are made available under the
* * terms of the Apache License, Version 2.0 which is available at
* * https://www.apache.org/licenses/LICENSE-2.0.
* *
* * See the NOTICE file distributed with this work for additional
* * information regarding copyright ownership.
* * Unless required by applicable law or agreed to in writing, software
* * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* * License for the specific language governing permissions and limitations
* * under the License.
* *
* * SPDX-License-Identifier: Apache-2.0
* *****************************************************************************
*
*/
pipeline {
agent {
dockerfile {
filename 'Dockerfile'
dir '.docker'
label 'linux && docker && cuda'
//additionalBuildArgs '--build-arg version=1.0.2'
//args '--gpus all' --needed for test only, you can build without GPU
}
}
stages {
stage("Build all chip") {
parallel {
stage('prep-build-environment-linux-cuda') {
steps {
checkout scm
//sh 'nvidia-smi'
sh 'nvcc --version'
sh 'gcc --version'
sh 'cmake --version'
sh 'sh ./gradlew --version'
}
}
stage('build-linux-cuda') {
environment {
MAVEN = credentials('Internal_Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew build --stacktrace -x test -PCAVIS_CHIP=cuda \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
}
}
}
}

View File

@ -0,0 +1,88 @@
/*
*
* ******************************************************************************
* *
* * This program and the accompanying materials are made available under the
* * terms of the Apache License, Version 2.0 which is available at
* * https://www.apache.org/licenses/LICENSE-2.0.
* *
* * See the NOTICE file distributed with this work for additional
* * information regarding copyright ownership.
* * Unless required by applicable law or agreed to in writing, software
* * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* * License for the specific language governing permissions and limitations
* * under the License.
* *
* * SPDX-License-Identifier: Apache-2.0
* *****************************************************************************
*
*/
pipeline {
agent {
dockerfile {
filename 'Dockerfile'
dir '.docker'
label 'linux && docker'
//additionalBuildArgs '--build-arg version=1.0.2'
//args '--gpus all'
}
}
stages {
stage('prep-build-environment-linux-cpu') {
steps {
checkout scm
sh 'gcc --version'
sh 'cmake --version'
sh 'sh ./gradlew --version'
}
}
stage('build-linux-cpu') {
environment {
MAVEN = credentials('Internal_Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew build --stacktrace -x test -PCAVIS_CHIP=cpu \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
stage('test-linux-cpu') {
environment {
MAVEN = credentials('Internal Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
//sh 'sh ./gradlew test --stacktrace -PCAVIS_CHIP=cpu \
// -Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
// -PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
stage('publish-linux-cpu') {
environment {
MAVEN = credentials('Internal Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew publish --stacktrace -PCAVIS_CHIP=cpu \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
}
}

View File

@ -0,0 +1,49 @@
/*
*
* ******************************************************************************
* *
* * This program and the accompanying materials are made available under the
* * terms of the Apache License, Version 2.0 which is available at
* * https://www.apache.org/licenses/LICENSE-2.0.
* *
* * See the NOTICE file distributed with this work for additional
* * information regarding copyright ownership.
* * Unless required by applicable law or agreed to in writing, software
* * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* * License for the specific language governing permissions and limitations
* * under the License.
* *
* * SPDX-License-Identifier: Apache-2.0
* *****************************************************************************
*
*/
pipeline {
agent {
dockerfile {
filename 'Dockerfile'
dir '.docker'
label 'linux && docker'
//additionalBuildArgs '--build-arg version=1.0.2'
//args '--gpus all'
}
}
stages {
stage('publish-linux-cpu') {
environment {
MAVEN = credentials('Internal_Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew publish -x test -PCAVIS_CHIP=cpu \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
}
}
}
}

View File

@ -20,14 +20,13 @@
*/
pipeline {
agent {
dockerfile {
filename 'Dockerfile'
dir '.docker'
label 'linuxdocker'
label 'linux && docker && cuda'
//additionalBuildArgs '--build-arg version=1.0.2'
args '--gpus all'
//args '--gpus all' --needed for test only, you can build without GPU
}
}
@ -35,7 +34,7 @@ pipeline {
stage('prep-build-environment-linux-cuda') {
steps {
checkout scm
sh 'nvidia-smi'
//sh 'nvidia-smi'
sh 'nvcc --version'
sh 'gcc --version'
sh 'cmake --version'
@ -44,19 +43,33 @@ pipeline {
}
stage('build-linux-cuda') {
environment {
MAVEN = credentials('Internal Archiva')
MAVEN = credentials('Internal_Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew publish --stacktrace -x test -PCAVIS_CHIP=cuda \
sh 'sh ./gradlew build --stacktrace -x test -PCAVIS_CHIP=cuda \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
stage('test-linux-cuda') {
environment {
MAVEN = credentials('Internal_Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew test --stacktrace -PexcludeTests=\'long-running,performance\' -Pskip-native=true -PCAVIS_CHIP=cuda \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
}
}

View File

@ -0,0 +1,58 @@
/*
*
* ******************************************************************************
* *
* * This program and the accompanying materials are made available under the
* * terms of the Apache License, Version 2.0 which is available at
* * https://www.apache.org/licenses/LICENSE-2.0.
* *
* * See the NOTICE file distributed with this work for additional
* * information regarding copyright ownership.
* * Unless required by applicable law or agreed to in writing, software
* * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* * License for the specific language governing permissions and limitations
* * under the License.
* *
* * SPDX-License-Identifier: Apache-2.0
* *****************************************************************************
*
*/
pipeline {
agent {
dockerfile {
filename 'Dockerfile'
dir '.docker'
label 'WSL-docker'
//additionalBuildArgs '--build-arg version=1.0.2'
//args '--gpus all'
}
}
stages {
stage('prep-build-environment-linux-cpu') {
steps {
checkout scm
sh 'gcc --version'
sh 'cmake --version'
sh 'sh ./gradlew --version'
}
}
stage('build-linux-cpu') {
environment {
MAVEN = credentials('Internal_Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew publish --stacktrace -x test -PCAVIS_CHIP=cpu \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
}
}

Some files were not shown because too many files have changed in this diff Show More