From 25d3c8b655e883b02e688696614214ff031bb766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Guillemet?= Date: Fri, 15 Dec 2023 11:55:28 +0100 Subject: [PATCH] Update PyTorch to 2.1.2 --- pytorch/README.md | 6 +++--- pytorch/cppbuild.sh | 2 +- pytorch/platform/gpu/pom.xml | 2 +- pytorch/platform/pom.xml | 2 +- pytorch/pom.xml | 2 +- pytorch/samples/pom.xml | 4 ++-- pytorch/src/gen/java/org/bytedeco/pytorch/global/torch.java | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pytorch/README.md b/pytorch/README.md index ef7af9f14e2..dae14de1aed 100644 --- a/pytorch/README.md +++ b/pytorch/README.md @@ -9,7 +9,7 @@ Introduction ------------ This directory contains the JavaCPP Presets module for: - * PyTorch 2.1.1 https://pytorch.org/ + * PyTorch 2.1.2 https://pytorch.org/ Please refer to the parent README.md file for more detailed information about the JavaCPP Presets. @@ -48,14 +48,14 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic org.bytedeco pytorch-platform - 2.1.1-1.5.10-SNAPSHOT + 2.1.2-1.5.10-SNAPSHOT org.bytedeco pytorch-platform-gpu - 2.1.1-1.5.10-SNAPSHOT + 2.1.2-1.5.10-SNAPSHOT diff --git a/pytorch/cppbuild.sh b/pytorch/cppbuild.sh index 4ef4ef3cde4..acf51c1b65b 100755 --- a/pytorch/cppbuild.sh +++ b/pytorch/cppbuild.sh @@ -35,7 +35,7 @@ if [[ $PLATFORM == windows* ]]; then export PYTHON_BIN_PATH=$(which python.exe) fi -PYTORCH_VERSION=2.1.1 +PYTORCH_VERSION=2.1.2 export PYTORCH_BUILD_VERSION="$PYTORCH_VERSION" export PYTORCH_BUILD_NUMBER=1 diff --git a/pytorch/platform/gpu/pom.xml b/pytorch/platform/gpu/pom.xml index c3cf9d9b37e..ddbc71f460e 100644 --- a/pytorch/platform/gpu/pom.xml +++ b/pytorch/platform/gpu/pom.xml @@ -12,7 +12,7 @@ org.bytedeco pytorch-platform-gpu - 2.1.1-${project.parent.version} + 2.1.2-${project.parent.version} JavaCPP Presets Platform GPU for PyTorch diff --git a/pytorch/platform/pom.xml b/pytorch/platform/pom.xml index 24b185fc4dc..f16b282f403 100644 --- a/pytorch/platform/pom.xml +++ b/pytorch/platform/pom.xml @@ -12,7 +12,7 @@ org.bytedeco pytorch-platform - 2.1.1-${project.parent.version} + 2.1.2-${project.parent.version} JavaCPP Presets Platform for PyTorch diff --git a/pytorch/pom.xml b/pytorch/pom.xml index 1f31a727def..74fc1813363 100644 --- a/pytorch/pom.xml +++ b/pytorch/pom.xml @@ -11,7 +11,7 @@ org.bytedeco pytorch - 2.1.1-${project.parent.version} + 2.1.2-${project.parent.version} JavaCPP Presets for PyTorch diff --git a/pytorch/samples/pom.xml b/pytorch/samples/pom.xml index cc995393235..89ca1a20dd1 100644 --- a/pytorch/samples/pom.xml +++ b/pytorch/samples/pom.xml @@ -12,14 +12,14 @@ org.bytedeco pytorch-platform - 2.1.1-1.5.10-SNAPSHOT + 2.1.2-1.5.10-SNAPSHOT org.bytedeco pytorch-platform-gpu - 2.1.1-1.5.10-SNAPSHOT + 2.1.2-1.5.10-SNAPSHOT diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/global/torch.java b/pytorch/src/gen/java/org/bytedeco/pytorch/global/torch.java index 69a10faaac4..296eb21d819 100644 --- a/pytorch/src/gen/java/org/bytedeco/pytorch/global/torch.java +++ b/pytorch/src/gen/java/org/bytedeco/pytorch/global/torch.java @@ -76579,11 +76579,11 @@ scalar_t sf(scalar_t x, scalar_t y) public static final int TORCH_VERSION_MINOR = 1; /** Indicates the patch version of LibTorch. */ -public static final int TORCH_VERSION_PATCH = 1; +public static final int TORCH_VERSION_PATCH = 2; /** Indicates the version of LibTorch. */ public static final String TORCH_VERSION = - "2.1.1"; + "2.1.2"; // Parsed from torch/csrc/autograd/InferenceMode.h