Skip to content

Commit 38451d1

Browse files
committed
* Upgrade presets for DNNL 3.6.1, NumPy 2.1.3, OpenCL 3.0.17
1 parent 70307b8 commit 38451d1

File tree

28 files changed

+44
-37
lines changed

28 files changed

+44
-37
lines changed

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)), MKL 2025.0, 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.3, 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.2, cuDNN 9.5.1, NCCL 2.23.4, nvCOMP 4.1.0.6, OpenCL 3.0.16, NVIDIA Video Codec SDK 12.2.72, PyTorch 2.5.1 ([pull #1466](https://github.com/bytedeco/javacpp-presets/pull/1466)), SentencePiece 0.2.0, TensorFlow Lite 2.18.0, TensorRT 10.6.0.26, Triton Inference Server 2.51.0, ONNX 1.17.0, ONNX Runtime 1.20.0, TVM 0.18.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 2025.0, DNNL 3.6.1, OpenBLAS 0.3.28, CMINPACK 1.3.11, GSL 2.8, CPython 3.13.0, NumPy 2.1.3, SciPy 1.14.1, LLVM 19.1.3, 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.2, cuDNN 9.5.1, NCCL 2.23.4, nvCOMP 4.1.0.6, OpenCL 3.0.17, NVIDIA Video Codec SDK 12.2.72, PyTorch 2.5.1 ([pull #1466](https://github.com/bytedeco/javacpp-presets/pull/1466)), SentencePiece 0.2.0, TensorFlow Lite 2.18.0, TensorRT 10.6.0.26, Triton Inference Server 2.51.0, ONNX 1.17.0, ONNX Runtime 1.20.0, 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))

dnnl/README.md

+3-3
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.6 https://01.org/dnnl
12+
* DNNL 3.6.1 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.6/examples/cnn_inference_int8.cpp
28+
* https://github.com/oneapi-src/oneDNN/blob/v3.6.1/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
@@ -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>dnnl-platform</artifactId>
49-
<version>3.6-1.5.11-SNAPSHOT</version>
49+
<version>3.6.1-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.6
14+
MKLDNN_VERSION=3.6.1
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.6-${project.parent.version}</version>
15+
<version>3.6.1-${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.6-${project.parent.version}</version>
14+
<version>3.6.1-${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.6-1.5.11-SNAPSHOT</version>
15+
<version>3.6.1-1.5.11-SNAPSHOT</version>
1616
</dependency>
1717
</dependencies>
1818
<build>

dnnl/src/gen/java/org/bytedeco/dnnl/global/dnnl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3704,7 +3704,7 @@ public class dnnl extends org.bytedeco.dnnl.presets.dnnl {
37043704
public static final int DNNL_VERSION_MINOR = 6;
37053705

37063706
/** Patch version */
3707-
public static final int DNNL_VERSION_PATCH = 0;
3707+
public static final int DNNL_VERSION_PATCH = 1;
37083708

37093709
// clang-format on
37103710

numpy/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-
* NumPy 2.1.2 http://www.numpy.org/
12+
* NumPy 2.1.3 http://www.numpy.org/
1313

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

@@ -48,7 +48,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic
4848
<dependency>
4949
<groupId>org.bytedeco</groupId>
5050
<artifactId>numpy-platform</artifactId>
51-
<version>2.1.2-1.5.11-SNAPSHOT</version>
51+
<version>2.1.3-1.5.11-SNAPSHOT</version>
5252
</dependency>
5353

5454
<!-- Additional dependencies to use bundled full version of MKL -->

numpy/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-
NUMPY_VERSION=2.1.2
10+
NUMPY_VERSION=2.1.3
1111
download https://github.com/numpy/numpy/releases/download/v$NUMPY_VERSION/numpy-$NUMPY_VERSION.tar.gz numpy-$NUMPY_VERSION.tar.gz
1212

1313
mkdir -p $PLATFORM

numpy/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>numpy-platform</artifactId>
15-
<version>2.1.2-${project.parent.version}</version>
15+
<version>2.1.3-${project.parent.version}</version>
1616
<name>JavaCPP Presets Platform for NumPy</name>
1717

1818
<properties>

numpy/pom.xml

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

1212
<groupId>org.bytedeco</groupId>
1313
<artifactId>numpy</artifactId>
14-
<version>2.1.2-${project.parent.version}</version>
14+
<version>2.1.3-${project.parent.version}</version>
1515
<name>JavaCPP Presets for NumPy</name>
1616

1717
<dependencies>

numpy/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>numpy-platform</artifactId>
15-
<version>2.1.2-1.5.11-SNAPSHOT</version>
15+
<version>2.1.3-1.5.11-SNAPSHOT</version>
1616
</dependency>
1717

1818
<!-- Additional dependencies to use bundled full version of MKL -->

numpy/src/gen/java/org/bytedeco/numpy/global/numpy.java

+8-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,14 @@ public class numpy extends org.bytedeco.numpy.presets.numpy {
179179
// #error "NPY_TARGET_VERSION higher than NumPy headers!"
180180
// #elif NPY_FEATURE_VERSION < NPY_1_15_API_VERSION
181181
/* No support for irrelevant old targets, no need for error, but warn. */
182-
// #warning "Requested NumPy target lower than supported NumPy 1.15."
182+
// #ifndef _MSC_VER
183+
// #warning "Requested NumPy target lower than supported NumPy 1.15."
184+
// #else
185+
// #define _WARN___STR2__(x) #x
186+
// #define _WARN___STR1__(x) _WARN___STR2__(x)
187+
// #define _WARN___LOC__ __FILE__ "(" _WARN___STR1__(__LINE__) ") : Warning Msg: "
188+
// #pragma message(_WARN___LOC__"Requested NumPy target lower than supported NumPy 1.15.")
189+
// #endif
183190
// #endif
184191

185192
/*

numpy/src/main/java/org/bytedeco/numpy/presets/numpy.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public void map(InfoMap infoMap) {
139139
"NPY_FLOAT256", "NPY_COMPLEX512", "NPY_COMPLEX512_FMT",
140140
"NPY_SIGJMP_BUF", "_npy_signbit_f", "_npy_signbit_d", "_npy_signbit_ld",
141141
"npy_degrees", "npy_degreesf", "npy_degreesl", "npy_radians", "npy_radiansf", "npy_radiansl",
142-
"PyStringScalarObject", /*"PyUnicodeScalarObject",*/ "__COMP_NPY_UNUSED",
142+
"PyStringScalarObject", /*"PyUnicodeScalarObject",*/ "__COMP_NPY_UNUSED", "_WARN___LOC__",
143143
"PyArrayScalar_False", "PyArrayScalar_True", "PyArrayScalar_RETURN_FALSE", "PyArrayScalar_RETURN_TRUE", "NPY_NO_EXPORT",
144144
"PyArray_malloc", "PyArray_free", "PyArray_realloc",
145145
"NPY_BEGIN_THREADS_DEF", "NPY_BEGIN_ALLOW_THREADS", "NPY_END_ALLOW_THREADS", "NPY_BEGIN_THREADS", "NPY_END_THREADS",

onnxruntime/cppbuild.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ sedinplace 's/-fvisibility=hidden//g' cmake/CMakeLists.txt cmake/adjust_global_c
9595
sedinplace 's:/Yucuda_pch.h /FIcuda_pch.h::g' cmake/onnxruntime_providers_cuda.cmake cmake/onnxruntime_providers.cmake
9696
sedinplace 's/${PROJECT_SOURCE_DIR}\/external\/cub//g' cmake/onnxruntime_providers_cuda.cmake cmake/onnxruntime_providers.cmake
9797
sedinplace 's/ONNXRUNTIME_PROVIDERS_SHARED)/ONNXRUNTIME_PROVIDERS_SHARED onnxruntime_providers_shared)/g' cmake/onnxruntime_providers_cpu.cmake cmake/onnxruntime_providers.cmake
98-
sedinplace 's/DNNL_TAG v.*)/DNNL_TAG v3.6)/g' cmake/external/dnnl.cmake
98+
sedinplace 's/DNNL_TAG v.*)/DNNL_TAG v3.6.1)/g' cmake/external/dnnl.cmake
9999
sedinplace 's/DNNL_SHARED_LIB libdnnl.1.dylib/DNNL_SHARED_LIB libdnnl.2.dylib/g' cmake/external/dnnl.cmake
100100
sedinplace 's/DNNL_SHARED_LIB libdnnl.so.1/DNNL_SHARED_LIB libdnnl.so.2/g' cmake/external/dnnl.cmake
101101
sedinplace 's/ CMAKE_ARGS/CMAKE_ARGS -DMKLDNN_BUILD_EXAMPLES=OFF -DMKLDNN_BUILD_TESTS=OFF -DDNNL_CPU_RUNTIME=SEQ/g' cmake/external/dnnl.cmake

onnxruntime/platform/gpu/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<dependency>
2525
<groupId>org.bytedeco</groupId>
2626
<artifactId>dnnl-platform</artifactId>
27-
<version>3.6-${project.parent.version}</version>
27+
<version>3.6.1-${project.parent.version}</version>
2828
</dependency>
2929
<dependency>
3030
<groupId>${project.groupId}</groupId>

onnxruntime/platform/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>org.bytedeco</groupId>
2525
<artifactId>dnnl-platform</artifactId>
26-
<version>3.6-${project.parent.version}</version>
26+
<version>3.6.1-${project.parent.version}</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>${project.groupId}</groupId>

onnxruntime/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<dependency>
2323
<groupId>org.bytedeco</groupId>
2424
<artifactId>dnnl</artifactId>
25-
<version>3.6-${project.parent.version}</version>
25+
<version>3.6.1.1-${project.parent.version}</version>
2626
</dependency>
2727
<dependency>
2828
<groupId>org.bytedeco</groupId>
@@ -49,7 +49,7 @@
4949
<dependency>
5050
<groupId>org.bytedeco</groupId>
5151
<artifactId>dnnl-platform</artifactId>
52-
<version>3.6-${project.parent.version}</version>
52+
<version>3.6.1.1-${project.parent.version}</version>
5353
</dependency>
5454
</dependencies>
5555
<configuration>

opencl/README.md

+1-1
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-
* OpenCL 3.0.16 https://www.khronos.org/registry/OpenCL/
12+
* OpenCL 3.0.17 https://www.khronos.org/registry/OpenCL/
1313

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

opencl/cppbuild.sh

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

10-
OPENCL_VERSION=2024.05.08
11-
CLHPP_VERSION=2024.05.08
10+
OPENCL_VERSION=2024.10.24
11+
CLHPP_VERSION=2024.10.24
1212
download https://github.com/KhronosGroup/OpenCL-Headers/archive/v$OPENCL_VERSION.tar.gz OpenCL-Headers-$OPENCL_VERSION.tar.gz
1313
download https://github.com/KhronosGroup/OpenCL-ICD-Loader/archive/v$OPENCL_VERSION.tar.gz OpenCL-ICD-Loader-$OPENCL_VERSION.tar.gz
1414
download https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v$CLHPP_VERSION.tar.gz OpenCL-CLHPP-$CLHPP_VERSION.tar.gz

opencv/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic
7777
<dependency>
7878
<groupId>org.bytedeco</groupId>
7979
<artifactId>numpy-platform</artifactId>
80-
<version>2.1.2-1.5.11-SNAPSHOT</version>
80+
<version>2.1.3-1.5.11-SNAPSHOT</version>
8181
</dependency>
8282

8383
</dependencies>

opencv/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>org.bytedeco</groupId>
2525
<artifactId>numpy</artifactId>
26-
<version>2.1.2-${project.parent.version}</version>
26+
<version>2.1.3-${project.parent.version}</version>
2727
<optional>true</optional>
2828
</dependency>
2929
<dependency>
@@ -67,7 +67,7 @@
6767
<dependency>
6868
<groupId>org.bytedeco</groupId>
6969
<artifactId>numpy-platform</artifactId>
70-
<version>2.1.2-${project.parent.version}</version>
70+
<version>2.1.3-${project.parent.version}</version>
7171
</dependency>
7272
</dependencies>
7373
<configuration>

opencv/samples/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<dependency>
4141
<groupId>org.bytedeco</groupId>
4242
<artifactId>numpy-platform</artifactId>
43-
<version>2.1.2-1.5.11-SNAPSHOT</version>
43+
<version>2.1.3-1.5.11-SNAPSHOT</version>
4444
</dependency>
4545

4646
</dependencies>

platform/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
<dependency>
183183
<groupId>org.bytedeco</groupId>
184184
<artifactId>dnnl-platform</artifactId>
185-
<version>3.6-${project.version}</version>
185+
<version>3.6.1-${project.version}</version>
186186
</dependency>
187187
<dependency>
188188
<groupId>org.bytedeco</groupId>
@@ -217,7 +217,7 @@
217217
<dependency>
218218
<groupId>org.bytedeco</groupId>
219219
<artifactId>numpy-platform</artifactId>
220-
<version>2.1.2-${project.version}</version>
220+
<version>2.1.3-${project.version}</version>
221221
</dependency>
222222
<dependency>
223223
<groupId>org.bytedeco</groupId>

pytorch/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<dependency>
5858
<groupId>org.bytedeco</groupId>
5959
<artifactId>numpy-platform</artifactId>
60-
<version>2.1.2-${project.parent.version}</version>
60+
<version>2.1.3-${project.parent.version}</version>
6161
</dependency>
6262
<dependency>
6363
<groupId>org.bytedeco</groupId>

scipy/cppbuild.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ if ! $PYTHON_BIN_PATH -m pip install --no-deps --target=$PYTHON_LIB_PATH $TOOLS;
124124
echo "extra_link_args = -lgfortran" >> site.cfg
125125
chmod +x "$CPYTHON_HOST_PATH/bin/python3.13"
126126
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$CPYTHON_HOST_PATH/lib/:$CPYTHON_HOST_PATH"
127-
"$CPYTHON_HOST_PATH/bin/python3.13" -m pip install --no-deps --target="$CPYTHON_HOST_PATH/lib/python3.13/" crossenv==1.4 numpy==2.1.2 $TOOLS
127+
"$CPYTHON_HOST_PATH/bin/python3.13" -m pip install --no-deps --target="$CPYTHON_HOST_PATH/lib/python3.13/" crossenv==1.4 numpy==2.1.3 $TOOLS
128128
"$CPYTHON_HOST_PATH/bin/python3.13" -m crossenv "$PYTHON_BIN_PATH" crossenv
129129
cp -a "$NUMPY_PATH/python/numpy" "$CPYTHON_HOST_PATH/lib/python3.13/"
130130
# cp -a "$CPYTHON_HOST_PATH/lib/python3.13/include" "$PYTHON_LIB_PATH"

scipy/platform/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>org.bytedeco</groupId>
2525
<artifactId>numpy-platform</artifactId>
26-
<version>2.1.2-${project.parent.version}</version>
26+
<version>2.1.3-${project.parent.version}</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>${project.groupId}</groupId>

scipy/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>org.bytedeco</groupId>
2020
<artifactId>numpy</artifactId>
21-
<version>2.1.2-${project.parent.version}</version>
21+
<version>2.1.3-${project.parent.version}</version>
2222
</dependency>
2323
<dependency>
2424
<groupId>org.bytedeco</groupId>
@@ -41,7 +41,7 @@
4141
<dependency>
4242
<groupId>org.bytedeco</groupId>
4343
<artifactId>numpy</artifactId>
44-
<version>2.1.2-${project.parent.version}</version>
44+
<version>2.1.3-${project.parent.version}</version>
4545
</dependency>
4646
<dependency>
4747
<groupId>org.bytedeco</groupId>
@@ -58,7 +58,7 @@
5858
<dependency>
5959
<groupId>org.bytedeco</groupId>
6060
<artifactId>numpy</artifactId>
61-
<version>2.1.2-${project.parent.version}</version>
61+
<version>2.1.3-${project.parent.version}</version>
6262
<classifier>${javacpp.platform}</classifier>
6363
</dependency>
6464
</dependencies>

0 commit comments

Comments
 (0)