Skip to content

Commit 93c2bf4

Browse files
committed
* Upgrade presets for PyTorch 2.12.0
1 parent 5ba11d9 commit 93c2bf4

45 files changed

Lines changed: 798 additions & 144 deletions

Some content is hidden

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

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Add new `SampleOnnxMNIST` in samples for TensorRT ([pull #1742](https://github.com/bytedeco/javacpp-presets/pull/1742))
66
* Fix loading issues with `libomp.dylib` and `libiomp5.dylib` for DNNL and PyTorch on Mac
77
* Include `model_package_loader.h` header file in presets for PyTorch ([issue #1729](https://github.com/bytedeco/javacpp-presets/issues/1729))
8-
* Upgrade presets for FFmpeg 8.1, OpenBLAS 0.3.32, CUDA 13.2.1, cuDNN 9.21.1.3, NCCL 2.30.4, nvCOMP 5.2.0.10, CPython 3.14.4, NumPy 2.4.4, SciPy 1.17.1, LLVM 22.1.1, PyTorch 2.11.0, TensorFlow Lite 2.21.0, TensorRT 10.16.1.11, Triton Inference Server 2.68.0, ONNX 1.21.0, ONNX Runtime 1.25.1 ([pull #1753](https://github.com/bytedeco/javacpp-presets/pull/1753)), and their dependencies
8+
* Upgrade presets for FFmpeg 8.1, OpenBLAS 0.3.32, CUDA 13.2.1, cuDNN 9.21.1.3, NCCL 2.30.4, nvCOMP 5.2.0.10, CPython 3.14.4, NumPy 2.4.4, SciPy 1.17.1, LLVM 22.1.1, PyTorch 2.12.0, TensorFlow Lite 2.21.0, TensorRT 10.16.1.11, Triton Inference Server 2.68.0, ONNX 1.21.0, ONNX Runtime 1.25.1 ([pull #1753](https://github.com/bytedeco/javacpp-presets/pull/1753)), and their dependencies
99
* Compile classes with `parameters` bumping minimum requirements to Java SE 8 and Android 7.0 ([issue #1739](https://github.com/bytedeco/javacpp-presets/issues/1739))
1010

1111
### February 22, 2026 version 1.5.13

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip
225225
* NVIDIA Video Codec SDK 13.0.x https://developer.nvidia.com/nvidia-video-codec-sdk
226226
* OpenCL 3.0.x https://github.com/KhronosGroup/OpenCL-ICD-Loader
227227
* MXNet 1.9.x https://github.com/apache/incubator-mxnet
228-
* PyTorch 2.11.x https://github.com/pytorch/pytorch
228+
* PyTorch 2.12.x https://github.com/pytorch/pytorch
229229
* SentencePiece 0.2.x https://github.com/google/sentencepiece
230230
* TensorFlow 1.15.x https://github.com/tensorflow/tensorflow
231231
* TensorFlow Lite 2.21.x https://github.com/tensorflow/tensorflow

platform/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
<dependency>
294294
<groupId>org.bytedeco</groupId>
295295
<artifactId>pytorch-platform</artifactId>
296-
<version>2.11.0-${project.version}</version>
296+
<version>2.12.0-${project.version}</version>
297297
</dependency>
298298
<dependency>
299299
<groupId>org.bytedeco</groupId>

pytorch/README.md

Lines changed: 3 additions & 3 deletions
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-
* PyTorch 2.11.0 https://pytorch.org/
12+
* PyTorch 2.12.0 https://pytorch.org/
1313

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

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

5454
<!-- Additional dependencies required to use CUDA, cuDNN, and NCCL -->
5555
<dependency>
5656
<groupId>org.bytedeco</groupId>
5757
<artifactId>pytorch-platform-gpu</artifactId>
58-
<version>2.11.0-1.5.14-SNAPSHOT</version>
58+
<version>2.12.0-1.5.14-SNAPSHOT</version>
5959
</dependency>
6060

6161
<!-- Additional dependencies to use bundled CUDA, cuDNN, and NCCL -->

pytorch/cppbuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if [[ $PLATFORM == windows* ]]; then
4141
export PYTHON_BIN_PATH=$(which python.exe)
4242
fi
4343

44-
PYTORCH_VERSION=2.11.0
44+
PYTORCH_VERSION=2.12.0
4545

4646
export PYTORCH_BUILD_VERSION="$PYTORCH_VERSION"
4747
export PYTORCH_BUILD_NUMBER=1

pytorch/platform/gpu/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>org.bytedeco</groupId>
1414
<artifactId>pytorch-platform-gpu</artifactId>
15-
<version>2.11.0-${project.parent.version}</version>
15+
<version>2.12.0-${project.parent.version}</version>
1616
<name>JavaCPP Presets Platform GPU for PyTorch</name>
1717

1818
<properties>

pytorch/platform/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>org.bytedeco</groupId>
1414
<artifactId>pytorch-platform</artifactId>
15-
<version>2.11.0-${project.parent.version}</version>
15+
<version>2.12.0-${project.parent.version}</version>
1616
<name>JavaCPP Presets Platform for PyTorch</name>
1717

1818
<properties>

pytorch/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>org.bytedeco</groupId>
1313
<artifactId>pytorch</artifactId>
14-
<version>2.11.0-${project.parent.version}</version>
14+
<version>2.12.0-${project.parent.version}</version>
1515
<name>JavaCPP Presets for PyTorch</name>
1616

1717
<dependencies>

pytorch/samples/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
<dependency>
1313
<groupId>org.bytedeco</groupId>
1414
<artifactId>pytorch-platform</artifactId>
15-
<version>2.11.0-1.5.14-SNAPSHOT</version>
15+
<version>2.12.0-1.5.14-SNAPSHOT</version>
1616
</dependency>
1717

1818
<!-- Additional dependencies required to use CUDA, cuDNN, and NCCL -->
1919
<dependency>
2020
<groupId>org.bytedeco</groupId>
2121
<artifactId>pytorch-platform-gpu</artifactId>
22-
<version>2.11.0-1.5.14-SNAPSHOT</version>
22+
<version>2.12.0-1.5.14-SNAPSHOT</version>
2323
</dependency>
2424

2525
<!-- Additional dependencies to use bundled CUDA, cuDNN, and NCCL -->

pytorch/src/gen/java/org/bytedeco/pytorch/AOTIModelContainerRunner.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public class AOTIModelContainerRunner extends Pointer {
2929

3030

3131

32-
3332

3433
public native @ByVal TensorVector run(
3534
@Const @ByRef TensorVector inputs,

0 commit comments

Comments
 (0)