Skip to content

Commit 66a75a4

Browse files
committed
* Upgrade presets for MKL 2024.2, DNNL 3.6, CMINPACK 1.3.11, Leptonica 1.85.0, TensorFlow Lite 2.18.0, TVM 0.18.0
1 parent 0d3cf6d commit 66a75a4

File tree

154 files changed

+6027
-615
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+6027
-615
lines changed

.github/actions/deploy-ubuntu/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ runs:
228228
229229
if [[ "$CI_DEPLOY_MODULE" == "mkl" ]]; then
230230
echo Installing MKL
231-
curl -LO https://registrationcenter-download.intel.com/akdlm/IRC_NAS/86d6a4c1-c998-4c6b-9fff-ca004e9f7455/l_onemkl_p_2024.0.0.49673_offline.sh
232-
$SUDO bash l_onemkl_p_2024.0.0.49673_offline.sh -s -a -s --eula accept
231+
curl -LO https://registrationcenter-download.intel.com/akdlm/IRC_NAS/89a381f6-f85d-4dda-ae62-30d51470f53c/l_onemkl_p_2024.2.2.17_offline.sh
232+
$SUDO bash l_onemkl_p_2024.2.2.17_offline.sh -s -a -s --eula accept
233233
export MAVEN_OPTIONS="-Djavacpp.platform.compiler=clang++"
234234
fi
235235

.github/actions/deploy-windows/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ runs:
151151
152152
if "%CI_DEPLOY_MODULE%"=="mkl" (
153153
echo Installing MKL
154-
curl -LO https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b5a4ff98-2c98-4b28-87f7-32082cac359e/w_onemkl_p_2024.0.0.49672_offline.exe
155-
w_onemkl_p_2024.0.0.49672_offline.exe -s -a -s --eula accept
154+
curl -LO https://registrationcenter-download.intel.com/akdlm/IRC_NAS/9fe96489-78fe-4fea-8cc2-2ddf7de0246a/w_onemkl_p_2024.2.2.16_offline.exe
155+
w_onemkl_p_2024.2.2.16_offline.exe -s -a -s --eula accept
156156
)
157157
158158
if "%CI_DEPLOY_PLATFORM%"=="windows-x86" if "%CI_DEPLOY_MODULE%"=="flycapture" (

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Build FFmpeg with zimg to enable zscale filter ([pull #1481](https://github.com/bytedeco/javacpp-presets/pull/1481))
1010
* Enable PulseAudio support for FFmpeg on Linux ([pull #1472](https://github.com/bytedeco/javacpp-presets/pull/1472))
1111
* Virtualize `btCollisionWorld`, `btOverlapFilterCallback`, `btOverlapCallback` from Bullet Physics SDK ([pull #1475](https://github.com/bytedeco/javacpp-presets/pull/1475))
12-
* Upgrade presets for OpenCV 4.10.0, FFmpeg 7.1, Spinnaker 4.0.0.116 ([pull #1524](https://github.com/bytedeco/javacpp-presets/pull/1524)), DNNL 3.5.3, OpenBLAS 0.3.28, CMINPACK 1.3.9, GSL 2.8, CPython 3.13.0, NumPy 2.1.2, SciPy 1.14.1, LLVM 19.1.2, LibRaw 0.21.2 ([pull #1520](https://github.com/bytedeco/javacpp-presets/pull/1520)), Tesseract 5.4.1, libffi 3.4.6, CUDA 12.6.0, cuDNN 9.3.0, NCCL 2.22.3, nvCOMP 4.0.0, OpenCL 3.0.16, NVIDIA Video Codec SDK 12.2.72, PyTorch 2.5.0 ([pull #1466](https://github.com/bytedeco/javacpp-presets/pull/1466)), SentencePiece 0.2.0, TensorFlow Lite 2.17.0, TensorRT 10.3.0.26, Triton Inference Server 2.48.0, ONNX 1.17.0, ONNX Runtime 1.19.2, TVM 0.17.0, and their dependencies
12+
* Upgrade presets for OpenCV 4.10.0, FFmpeg 7.1, Spinnaker 4.0.0.116 ([pull #1524](https://github.com/bytedeco/javacpp-presets/pull/1524)), MKL 2024.2, DNNL 3.6, OpenBLAS 0.3.28, CMINPACK 1.3.11, GSL 2.8, CPython 3.13.0, NumPy 2.1.2, SciPy 1.14.1, LLVM 19.1.2, LibRaw 0.21.2 ([pull #1520](https://github.com/bytedeco/javacpp-presets/pull/1520)), Leptonica 1.85.0, Tesseract 5.4.1, libffi 3.4.6, CUDA 12.6.0, cuDNN 9.3.0, NCCL 2.22.3, nvCOMP 4.0.0, OpenCL 3.0.16, NVIDIA Video Codec SDK 12.2.72, PyTorch 2.5.0 ([pull #1466](https://github.com/bytedeco/javacpp-presets/pull/1466)), SentencePiece 0.2.0, TensorFlow Lite 2.18.0, TensorRT 10.3.0.26, Triton Inference Server 2.48.0, ONNX 1.17.0, ONNX Runtime 1.19.2, TVM 0.18.0, and their dependencies
1313

1414
### January 29, 2024 version 1.5.10
1515
* Introduce `macosx-arm64` builds for PyTorch ([pull #1463](https://github.com/bytedeco/javacpp-presets/pull/1463))

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip
198198
* LZ4 1.9.x https://github.com/lz4/lz4
199199
* MKL 2024.x https://software.intel.com/mkl
200200
* MKL-DNN 0.21.x https://github.com/oneapi-src/oneDNN
201-
* DNNL 3.5.x https://github.com/oneapi-src/oneDNN
201+
* DNNL 3.6.x https://github.com/oneapi-src/oneDNN
202202
* OpenBLAS 0.3.28 http://www.openblas.net/
203203
* ARPACK-NG 3.9.x https://github.com/opencollab/arpack-ng
204-
* CMINPACK 1.3.9 https://github.com/devernay/cminpack
204+
* CMINPACK 1.3.11 https://github.com/devernay/cminpack
205205
* FFTW 3.3.10 http://www.fftw.org/download.html
206206
* GSL 2.8 http://www.gnu.org/software/gsl/#downloading
207207
* CPython 3.13.x https://www.python.org/downloads/
@@ -212,7 +212,7 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip
212212
* libffi 3.4.x https://github.com/libffi/libffi
213213
* libpostal 1.1 https://github.com/openvenues/libpostal
214214
* LibRaw 0.21.x https://www.libraw.org/download
215-
* Leptonica 1.84.x http://www.leptonica.org/download.html
215+
* Leptonica 1.85.x http://www.leptonica.org/download.html
216216
* Tesseract 5.4.x https://github.com/tesseract-ocr/tesseract
217217
* Caffe 1.0 https://github.com/BVLC/caffe
218218
* OpenPose 1.7.0 https://github.com/CMU-Perceptual-Computing-Lab/openpose
@@ -226,15 +226,15 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip
226226
* PyTorch 2.5.x https://github.com/pytorch/pytorch
227227
* SentencePiece 0.2.0 https://github.com/google/sentencepiece
228228
* TensorFlow 1.15.x https://github.com/tensorflow/tensorflow
229-
* TensorFlow Lite 2.17.x https://github.com/tensorflow/tensorflow
229+
* TensorFlow Lite 2.18.x https://github.com/tensorflow/tensorflow
230230
* TensorRT 10.3.x https://developer.nvidia.com/tensorrt
231231
* Triton Inference Server 2.48.x https://developer.nvidia.com/nvidia-triton-inference-server
232232
* The Arcade Learning Environment 0.8.x https://github.com/mgbellemare/Arcade-Learning-Environment
233233
* DepthAI 2.24.x https://github.com/luxonis/depthai-core
234234
* ONNX 1.17.x https://github.com/onnx/onnx
235235
* nGraph 0.26.0 https://github.com/NervanaSystems/ngraph
236236
* ONNX Runtime 1.19.x https://github.com/microsoft/onnxruntime
237-
* TVM 0.17.x https://github.com/apache/tvm
237+
* TVM 0.18.x https://github.com/apache/tvm
238238
* Bullet Physics SDK 3.25 https://pybullet.org
239239
* LiquidFun http://google.github.io/liquidfun/
240240
* Qt 5.15.x https://download.qt.io/archive/qt/

cminpack/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Introduction
99
------------
1010
This directory contains the JavaCPP Presets module for:
1111

12-
* CMINPACK 1.3.9 http://devernay.free.fr/hacks/cminpack/
12+
* CMINPACK 1.3.11 http://devernay.free.fr/hacks/cminpack/
1313

1414
Please refer to the parent README.md file for more detailed information about the JavaCPP Presets.
1515

@@ -46,7 +46,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic
4646
<dependency>
4747
<groupId>org.bytedeco</groupId>
4848
<artifactId>cminpack-platform</artifactId>
49-
<version>1.3.9-1.5.11-SNAPSHOT</version>
49+
<version>1.3.11-1.5.11-SNAPSHOT</version>
5050
</dependency>
5151
</dependencies>
5252
<build>

cminpack/cminpack.patch

+36-16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
diff -ruN cminpack-1.3.9/cminpack.h cminpack-1.3.9-patch/cminpack.h
2-
--- cminpack-1.3.9/cminpack.h 2024-05-29 06:09:16.000000000 +0900
3-
+++ cminpack-1.3.9-patch/cminpack.h 2024-06-16 11:16:11.274115743 +0900
1+
diff -ruN cminpack-1.3.11/cminpack.h cminpack-1.3.11-patch/cminpack.h
2+
--- cminpack-1.3.11/cminpack.h 2024-09-13 18:04:15.000000000 +0900
3+
+++ cminpack-1.3.11-patch/cminpack.h 2024-10-27 09:09:37.257671690 +0900
44
@@ -36,38 +36,7 @@
55
extern "C" {
66
#endif /* __cplusplus */
@@ -40,34 +40,54 @@ diff -ruN cminpack-1.3.9/cminpack.h cminpack-1.3.9-patch/cminpack.h
4040

4141
#if defined(__CUDA_ARCH__) || defined(__CUDACC__)
4242
#define __cminpack_attr__ __device__
43-
diff -ruN cminpack-1.3.9/cminpackP.h cminpack-1.3.9-patch/cminpackP.h
44-
--- cminpack-1.3.9/cminpackP.h 2024-05-29 06:09:16.000000000 +0900
45-
+++ cminpack-1.3.9-patch/cminpackP.h 2024-06-16 11:17:44.793475898 +0900
46-
@@ -33,9 +33,9 @@
43+
diff -ruN cminpack-1.3.11/cminpackP.h cminpack-1.3.11-patch/cminpackP.h
44+
--- cminpack-1.3.11/cminpackP.h 2024-09-13 18:04:15.000000000 +0900
45+
+++ cminpack-1.3.11-patch/cminpackP.h 2024-10-27 09:10:43.208509151 +0900
46+
@@ -11,10 +11,10 @@
4747
#endif
4848

49+
#ifdef USE_BLAS
50+
-#ifdef __APPLE__
51+
-#include <Accelerate/Accelerate.h>
52+
-#define __cminpack_blasint__ int
53+
-#else /* !__APPLE__ */
54+
+//#ifdef __APPLE__
55+
+//#include <Accelerate/Accelerate.h>
56+
+//#define __cminpack_blasint__ int
57+
+//#else /* !__APPLE__ */
58+
#ifndef __cminpack_blasint__
59+
#define __cminpack_blasint__ int
60+
#endif
61+
@@ -34,13 +34,13 @@
62+
const char *TransA, const char *Diag,
63+
const __cminpack_blasint__ *N, const __cminpack_real__ *A, const __cminpack_blasint__ *lda, __cminpack_real__ *X,
64+
const __cminpack_blasint__ *incX);
65+
-#endif /* !__APPLE__ */
66+
+//#endif /* !__APPLE__ */
67+
#endif /* USE_BLAS */
68+
4969
#ifdef USE_LAPACK
5070
-#ifdef __APPLE__
5171
-#include <Accelerate/Accelerate.h>
52-
-#else
72+
-#else /* !__APPLE__ */
5373
+//#ifdef __APPLE__
5474
+//#include <Accelerate/Accelerate.h>
55-
+//#else
75+
+//#else /* !__APPLE__ */
5676
#if defined(__LP64__) /* In LP64 match sizes with the 32 bit ABI */
5777
typedef int __CLPK_integer;
5878
typedef int __CLPK_logical;
59-
@@ -58,7 +58,7 @@
79+
@@ -62,7 +62,7 @@
80+
void __cminpack_lapack__(geqrf_)(
6081
__CLPK_integer *m, __CLPK_integer *n, __cminpack_real__ *a, __CLPK_integer * lda,
6182
__cminpack_real__ *tau, __cminpack_real__ *work, __CLPK_integer *lwork, __CLPK_integer *info);
83+
-#endif /* !__APPLE__ */
84+
+//#endif /* !__APPLE__ */
6285
#endif
63-
-#endif
64-
+//#endif
6586

6687
#include "minpackP.h"
67-
68-
diff -ruN cminpack-1.3.9/Makefile cminpack-1.3.9-patch/Makefile
69-
--- cminpack-1.3.9/Makefile 2024-05-29 06:09:16.000000000 +0900
70-
+++ cminpack-1.3.9-patch/Makefile 2024-06-16 11:15:38.626990012 +0900
88+
diff -ruN cminpack-1.3.11/Makefile cminpack-1.3.11-patch/Makefile
89+
--- cminpack-1.3.11/Makefile 2024-09-13 18:04:15.000000000 +0900
90+
+++ cminpack-1.3.11-patch/Makefile 2024-10-27 09:09:37.259671695 +0900
7191
@@ -11,7 +11,7 @@
7292
#LIBSUFFIX=s
7393
#CFLAGS="-O3 -g -Wall -Wextra -DUSE_BLAS -DUSE_LAPACK"

cminpack/cppbuild.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [[ -z "$PLATFORM" ]]; then
77
exit
88
fi
99

10-
CMINPACK_VERSION=1.3.9
10+
CMINPACK_VERSION=1.3.11
1111
download https://github.com/devernay/cminpack/archive/v$CMINPACK_VERSION.tar.gz cminpack-$CMINPACK_VERSION.tar.gz
1212

1313
mkdir -p $PLATFORM

cminpack/platform/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>org.bytedeco</groupId>
1414
<artifactId>cminpack-platform</artifactId>
15-
<version>1.3.9-${project.parent.version}</version>
15+
<version>1.3.11-${project.parent.version}</version>
1616
<name>JavaCPP Presets Platform for CMINPACK</name>
1717

1818
<properties>

cminpack/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>org.bytedeco</groupId>
1313
<artifactId>cminpack</artifactId>
14-
<version>1.3.9-${project.parent.version}</version>
14+
<version>1.3.11-${project.parent.version}</version>
1515
<name>JavaCPP Presets for CMINPACK</name>
1616

1717
<dependencies>

cminpack/samples/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<dependency>
1313
<groupId>org.bytedeco</groupId>
1414
<artifactId>cminpack-platform</artifactId>
15-
<version>1.3.9-1.5.11-SNAPSHOT</version>
15+
<version>1.3.11-1.5.11-SNAPSHOT</version>
1616
</dependency>
1717
</dependencies>
1818
<build>

dnnl/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Introduction
99
------------
1010
This directory contains the JavaCPP Presets module for:
1111

12-
* DNNL 3.5.3 https://01.org/dnnl
12+
* DNNL 3.6 https://01.org/dnnl
1313

1414
Please refer to the parent README.md file for more detailed information about the JavaCPP Presets.
1515

@@ -25,7 +25,7 @@ Sample Usage
2525
------------
2626
Here is a simple example of DNNL ported to Java from this C++ source file:
2727

28-
* https://github.com/oneapi-src/oneDNN/blob/v3.5.3/examples/cnn_inference_int8.cpp
28+
* https://github.com/oneapi-src/oneDNN/blob/v3.6/examples/cnn_inference_int8.cpp
2929

3030
We can use [Maven 3](http://maven.apache.org/) to download and install automatically all the class files as well as the native binaries. To run this sample code, after creating the `pom.xml` and `CpuCnnInferenceInt8.java` source files below, simply execute on the command line:
3131
```bash
@@ -38,15 +38,15 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic
3838
<modelVersion>4.0.0</modelVersion>
3939
<groupId>org.bytedeco.dnnl</groupId>
4040
<artifactId>samples</artifactId>
41-
<version>1.5.10</version>
41+
<version>1.5.11-SNAPSHOT</version>
4242
<properties>
4343
<exec.mainClass>CpuCnnInferenceInt8</exec.mainClass>
4444
</properties>
4545
<dependencies>
4646
<dependency>
4747
<groupId>org.bytedeco</groupId>
4848
<artifactId>dnnl-platform</artifactId>
49-
<version>3.5.3-1.5.11-SNAPSHOT</version>
49+
<version>3.6-1.5.11-SNAPSHOT</version>
5050
</dependency>
5151
</dependencies>
5252
<build>

dnnl/cppbuild.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export DNNL_CPU_RUNTIME="OMP" # or TBB
1111
export DNNL_GPU_RUNTIME="OCL"
1212

1313
TBB_VERSION=2020.3
14-
MKLDNN_VERSION=3.5.3
14+
MKLDNN_VERSION=3.6
1515
download https://github.com/oneapi-src/oneTBB/archive/v$TBB_VERSION.tar.gz oneTBB-$TBB_VERSION.tar.bz2
1616
download https://github.com/oneapi-src/oneDNN/archive/v$MKLDNN_VERSION.tar.gz oneDNN-$MKLDNN_VERSION.tar.bz2
1717

dnnl/platform/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>org.bytedeco</groupId>
1414
<artifactId>dnnl-platform</artifactId>
15-
<version>3.5.3-${project.parent.version}</version>
15+
<version>3.6-${project.parent.version}</version>
1616
<name>JavaCPP Presets Platform for DNNL</name>
1717

1818
<properties>

dnnl/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>org.bytedeco</groupId>
1313
<artifactId>dnnl</artifactId>
14-
<version>3.5.3-${project.parent.version}</version>
14+
<version>3.6-${project.parent.version}</version>
1515
<name>JavaCPP Presets for DNNL</name>
1616

1717
<dependencies>

dnnl/samples/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<dependency>
1313
<groupId>org.bytedeco</groupId>
1414
<artifactId>dnnl-platform</artifactId>
15-
<version>3.5.3-1.5.11-SNAPSHOT</version>
15+
<version>3.6-1.5.11-SNAPSHOT</version>
1616
</dependency>
1717
</dependencies>
1818
<build>

0 commit comments

Comments
 (0)