From fa0f4ec2a3e358f067ab14bfd251c0f6c9847401 Mon Sep 17 00:00:00 2001 From: alinpahontu2912 Date: Tue, 14 Jan 2025 14:03:47 +0200 Subject: [PATCH] change version strings --- Directory.Build.props | 8 ++++---- src/TorchSharp/Torch.cs | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 256170d0a..f9e7c1930 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -20,8 +20,8 @@ $(RepoRoot)src/ $(RepoRoot)pkg/ - 2.5.1.0 - 2.2.2.0 + 2.5.1 + 2.2.2 @@ -86,8 +86,8 @@ - 2.5.1.0 - 2.2.2.0 + 2.5.1 + 2.2.2 false $(LibTorchPackageVersion) diff --git a/src/TorchSharp/Torch.cs b/src/TorchSharp/Torch.cs index 728fa9ccd..3f3dd32d0 100644 --- a/src/TorchSharp/Torch.cs +++ b/src/TorchSharp/Torch.cs @@ -18,10 +18,10 @@ namespace TorchSharp { public static partial class torch { -#if LIBTORCH_2_2_2_0 - const string libtorchPackageVersion = "2.2.2.0"; -#elif LIBTORCH_2_5_1_0 - const string libtorchPackageVersion = "2.5.1.0"; +#if LIBTORCH_2_2_2 + const string libtorchPackageVersion = "2.2.2"; +#elif LIBTORCH_2_5_1 + const string libtorchPackageVersion = "2.5.1"; #else #error "Please update libtorchPackageVersion to match LibTorchPackageVersion" #endif