diff --git a/DEVGUIDE.md b/DEVGUIDE.md
index 47f668e06..120a9600c 100644
--- a/DEVGUIDE.md
+++ b/DEVGUIDE.md
@@ -110,8 +110,8 @@ For this reason, we do the following
1. The head, referenceable packages that deliver a functioning runtime are any of:
libtorch-cpu
- libtorch-cuda-12.1-linux-x64
- libtorch-cuda-12.1-win-x64
+ libtorch-cuda-12.8-linux-x64
+ libtorch-cuda-12.8-win-x64
2. These packages are combo packages that reference multiple parts. The parts are **not** independently useful.
Some parts deliver a single vast file via `primary` and `fragment` packages. A build task is then used to "stitch" these files back together
@@ -120,7 +120,7 @@ For this reason, we do the following
install/detect/link of PyTorch CUDA on all downstream systems, whcih is extremely problematic
for many practical reasons).
- For example, the CUDA package fragments are defined in [libtorch-cuda](src/Redist/libtorch-cuda-12.1/libtorch-cuda-12.1.proj). See more details later in this document.
+ For example, the CUDA package fragments are defined in [libtorch-cuda](src/Redist/libtorch-cuda-12.8/libtorch-cuda-12.8.proj). See more details later in this document.
3. The `libtorch-*` packages are built in Azure DevOps CI
[using this build pipeline](https://donsyme.visualstudio.com/TorchSharp/_build?definitionId=1&_a=summary) but only in main
@@ -166,12 +166,12 @@ version of PyTorch then quite a lot of careful work needs to be done.
To update the version, update this in [Dependencies.props](build/Dependencies.props):
- 2.2.0
+ 2.7.1
The libtorch version number is also referenced in source code, in the file 'src/TorchSharp/Torch.cs':
```C#
- const string libtorchPackageVersion = "2.2.0.1";
+ const string libtorchPackageVersion = "2.7.1.0";
```
3. Run these to test downloads and update SHA hashes for the various LibTorch downloads
@@ -183,9 +183,9 @@ On Windows:
dotnet build src\Redist\libtorch-cpu\libtorch-cpu.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Release /t:Build /p:IncludeLibTorchCpuPackages=true
dotnet build src\Redist\libtorch-cpu\libtorch-cpu.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Debug /t:Build /p:IncludeLibTorchCpuPackages=true
- dotnet build src\Redist\libtorch-cuda-12.1\libtorch-cuda-12.1.proj /p:UpdateSHA=true /p:TargetOS=linux /p:Configuration=Release /t:Build /p:IncludeLibTorchCudaPackages=true
- dotnet build src\Redist\libtorch-cuda-12.1\libtorch-cuda-12.1.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Release /t:Build /p:IncludeLibTorchCudaPackages=true
- dotnet build src\Redist\libtorch-cuda-12.1\libtorch-cuda-12.1.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Debug /t:Build /p:IncludeLibTorchCudaPackages=true
+ dotnet build src\Redist\libtorch-cuda-12.8\libtorch-cuda-12.8.proj /p:UpdateSHA=true /p:TargetOS=linux /p:Configuration=Release /t:Build /p:IncludeLibTorchCudaPackages=true
+ dotnet build src\Redist\libtorch-cuda-12.8\libtorch-cuda-12.8.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Release /t:Build /p:IncludeLibTorchCudaPackages=true
+ dotnet build src\Redist\libtorch-cuda-12.8\libtorch-cuda-12.8.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Debug /t:Build /p:IncludeLibTorchCudaPackages=true
On Linux / Mac:
@@ -194,23 +194,23 @@ On Linux / Mac:
dotnet build src/Redist/libtorch-cpu/libtorch-cpu.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Release /t:Build /p:IncludeLibTorchCpuPackages=true
dotnet build src/Redist/libtorch-cpu/libtorch-cpu.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Debug /t:Build /p:IncludeLibTorchCpuPackages=true
- dotnet build src/Redist/libtorch-cuda-12.1/libtorch-cuda-12.1.proj /p:UpdateSHA=true /p:TargetOS=linux /p:Configuration=Release /t:Build /p:IncludeLibTorchCudaPackages=true
- dotnet build src/Redist/libtorch-cuda-12.1/libtorch-cuda-12.1.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Release /t:Build /p:IncludeLibTorchCudaPackages=true
- dotnet build src/Redist/libtorch-cuda-12.1/libtorch-cuda-12.1.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Debug /t:Build /p:IncludeLibTorchCudaPackages=true
+ dotnet build src/Redist/libtorch-cuda-12.8/libtorch-cuda-12.8.proj /p:UpdateSHA=true /p:TargetOS=linux /p:Configuration=Release /t:Build /p:IncludeLibTorchCudaPackages=true
+ dotnet build src/Redist/libtorch-cuda-12.8/libtorch-cuda-12.8.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Release /t:Build /p:IncludeLibTorchCudaPackages=true
+ dotnet build src/Redist/libtorch-cuda-12.8/libtorch-cuda-12.8.proj /p:UpdateSHA=true /p:TargetOS=windows /p:Configuration=Debug /t:Build /p:IncludeLibTorchCudaPackages=true
- Each of these will take a **very very long time** depending on your broadband connection. This can't currently be done in CI.
+ Each of these can take a **very very long time** depending on your broadband connection. This can't currently be done in CI.
If file names in the distribution have changed, or files have been removed, you will get errors saying that files cannot be found. That's okay and will be taken care of in the next step.
4. At this point you must **very very carefully** update the `2.0.1.1
+ 2.7.1.0
dotnet pack -c Release -v:n /p:SkipNative=true /p:SkipTests=true /p:IncludeTorchSharpPackage=true /p:IncludeLibTorchCpuPackages=true /p:IncludeLibTorchCudaPackages=true
dotnet pack -c Release -v:n /p:SkipNative=true /p:SkipTests=true /p:TargetOS=linux /p:IncludeTorchSharpPackage=true /p:IncludeLibTorchCpuPackages=true /p:IncludeLibTorchCudaPackages=true
diff --git a/Directory.Build.props b/Directory.Build.props
index 256170d0a..ff94123a3 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -20,7 +20,7 @@
$(RepoRoot)src/
$(RepoRoot)pkg/
- 2.5.1.0
+ 2.7.1.0
2.2.2.0
@@ -86,7 +86,7 @@
- 2.5.1.0
+ 2.7.1.0
2.2.2.0
false
$(LibTorchPackageVersion)
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 343c4cb2d..70c79f166 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -39,7 +39,7 @@
-
+
@@ -49,8 +49,9 @@
-
+
+
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index 3e9c01a83..047d76a27 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -1,6 +1,10 @@
## TorchSharp Release Notes
Releases, starting with 9/2/2021, are listed with the most recent release at the top.
+# NuGet Version 0.105.2
+
+This release upgrades the libtorch backend to v2.7.1, using CUDA 12.8.
+
# NuGet Version 0.105.1
__Bug Fixes__:
diff --git a/TorchSharp.sln b/TorchSharp.sln
index 9a9a73f9e..b27ac7e8a 100644
--- a/TorchSharp.sln
+++ b/TorchSharp.sln
@@ -34,7 +34,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TorchSharp", "TorchSharp",
pkg\TorchSharp\TorchSharp.symbols.nupkgproj = pkg\TorchSharp\TorchSharp.symbols.nupkgproj
EndProjectSection
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LibTorchSharp", "bin\obj\x64.Debug\Native\LibTorchSharp\LibTorchSharp.vcxproj", "{CAD9DB7F-3223-3324-884D-FA2381593DA7}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LibTorchSharp", "bin\obj\x64.Debug\Native\LibTorchSharp\LibTorchSharp.vcxproj", "{E7467DDF-893C-38A8-8E19-6B4E3FB10F55}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LibTorchSharp", "bin\obj\x64.Release\Native\LibTorchSharp\LibTorchSharp.vcxproj", "{BB811429-0DF1-3D22-B664-09C2F5A9E0AB}"
EndProject
@@ -46,7 +46,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Redist", "Redist", "{D8C60CD8-8429-45F2-A755-47B6CD10FDF8}"
ProjectSection(SolutionItems) = preProject
src\Redist\libtorch-cpu\libtorch-cpu.proj = src\Redist\libtorch-cpu\libtorch-cpu.proj
- src\Redist\libtorch-cuda-12.1\libtorch-cuda-12.1.proj = src\Redist\libtorch-cuda-12.1\libtorch-cuda-12.1.proj
+ src\Redist\libtorch-cuda-12.8\libtorch-cuda-12.8.proj = src\Redist\libtorch-cuda-12.8\libtorch-cuda-12.8.proj
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Native-Release", "Native-Release", "{4DB9E84D-324C-408F-87A6-246E86205540}"
@@ -107,14 +107,10 @@ Global
{42B45168-476D-4BFA-87B8-81A34E6295CD}.Release|Any CPU.Build.0 = Release|Any CPU
{42B45168-476D-4BFA-87B8-81A34E6295CD}.Release|x64.ActiveCfg = Release|Any CPU
{42B45168-476D-4BFA-87B8-81A34E6295CD}.Release|x64.Build.0 = Release|Any CPU
- {CAD9DB7F-3223-3324-884D-FA2381593DA7}.Debug|Any CPU.ActiveCfg = Debug|x64
- {CAD9DB7F-3223-3324-884D-FA2381593DA7}.Debug|x64.ActiveCfg = Debug|x64
- {CAD9DB7F-3223-3324-884D-FA2381593DA7}.Release|Any CPU.ActiveCfg = Release|x64
- {CAD9DB7F-3223-3324-884D-FA2381593DA7}.Release|x64.ActiveCfg = Release|x64
- {E4C0DBEE-0815-311B-9065-137BB50BD793}.Debug|Any CPU.ActiveCfg = Debug|x64
- {E4C0DBEE-0815-311B-9065-137BB50BD793}.Debug|x64.ActiveCfg = Debug|x64
- {E4C0DBEE-0815-311B-9065-137BB50BD793}.Release|Any CPU.ActiveCfg = Release|x64
- {E4C0DBEE-0815-311B-9065-137BB50BD793}.Release|x64.ActiveCfg = Release|x64
+ {E7467DDF-893C-38A8-8E19-6B4E3FB10F55}.Debug|Any CPU.ActiveCfg = Debug|x64
+ {E7467DDF-893C-38A8-8E19-6B4E3FB10F55}.Debug|x64.ActiveCfg = Debug|x64
+ {E7467DDF-893C-38A8-8E19-6B4E3FB10F55}.Release|Any CPU.ActiveCfg = Release|x64
+ {E7467DDF-893C-38A8-8E19-6B4E3FB10F55}.Release|x64.ActiveCfg = Release|x64
{DD652544-711E-4029-83FF-DA4A9600E6E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD652544-711E-4029-83FF-DA4A9600E6E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD652544-711E-4029-83FF-DA4A9600E6E7}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -180,7 +176,7 @@ Global
{6C323B05-9028-4B09-911C-3C03AE058BEE} = {AED9C836-31E3-4F3F-8ABC-929555D3F3C4}
{42B45168-476D-4BFA-87B8-81A34E6295CD} = {09EADF06-BE25-4228-AB53-95AE3E15B530}
{567456AD-B026-4CB6-B98D-4FC930C90223} = {D3D38B03-B557-484D-8348-8BADEE4DF592}
- {CAD9DB7F-3223-3324-884D-FA2381593DA7} = {CF2C1A9E-3A8A-4329-8A6E-7880C15AAC3D}
+ {E7467DDF-893C-38A8-8E19-6B4E3FB10F55} = {CF2C1A9E-3A8A-4329-8A6E-7880C15AAC3D}
{BB811429-0DF1-3D22-B664-09C2F5A9E0AB} = {4DB9E84D-324C-408F-87A6-246E86205540}
{CF2C1A9E-3A8A-4329-8A6E-7880C15AAC3D} = {09EADF06-BE25-4228-AB53-95AE3E15B530}
{D8C60CD8-8429-45F2-A755-47B6CD10FDF8} = {09EADF06-BE25-4228-AB53-95AE3E15B530}
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index e752076d5..2ab8591fc 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -9,10 +9,11 @@ parameters:
# push them to the artifacts feed of the Azure CI project
- name: BuildLibTorchPackages
type: boolean
- default: false
+ default: true
- name: PushPackagesToFeed
type: boolean
default: false
+
# Set which source branch to build libtorch-* packages.
# The build-libtorch jobs are only run if the source branch is the same as this value.
# The default is 'main' branch.
@@ -117,7 +118,7 @@ jobs:
condition: eq('${{ parameters.BuildLibTorchPackages }}', true)
displayName: Download libtorch native binaries
- - script: dotnet build -c $(BuildConfig) src/Redist/libtorch-cuda-12.1/libtorch-cuda-12.1.proj /p:UpdateSHA=true /p:SkipTests=true /p:TargetOS=linux /t:Build /p:IncludeLibTorchCudaPackages=true
+ - script: dotnet build -c $(BuildConfig) src/Redist/libtorch-cuda-12.8/libtorch-cuda-12.8.proj /p:UpdateSHA=true /p:SkipTests=true /p:TargetOS=linux /t:Build /p:IncludeLibTorchCudaPackages=true
condition: eq('${{ parameters.BuildLibTorchPackages }}', true)
displayName: Download libtorch native CUDA binaries
@@ -157,7 +158,7 @@ jobs:
- script: dotnet build -c $(BuildConfig) src/Redist/libtorch-cpu/libtorch-cpu.proj /p:UpdateSHA=true /p:SkipTests=true /p:TargetOS=windows /t:Build /p:IncludeLibTorchCpuPackages=true
displayName: Download libtorch native binaries
- - script: dotnet build -c $(BuildConfig) src/Redist/libtorch-cuda-12.1/libtorch-cuda-12.1.proj /p:UpdateSHA=true /p:SkipTests=true /p:TargetOS=windows /t:Build /p:IncludeLibTorchCudaPackages=true
+ - script: dotnet build -c $(BuildConfig) src/Redist/libtorch-cuda-12.8/libtorch-cuda-12.8.proj /p:UpdateSHA=true /p:SkipTests=true /p:TargetOS=windows /t:Build /p:IncludeLibTorchCudaPackages=true
condition: eq('${{ parameters.BuildLibTorchPackages }}', true)
displayName: Download libtorch native CUDA binaries
@@ -348,9 +349,10 @@ jobs:
# Only run if BuildLibTorchPackages is true
- job: Build_libtorch_cuda_win_Packages
################################################################################
- condition: and(ne(variables['system.pullrequest.isfork'], true), eq(variables['build.sourcebranchname'], '${{ parameters.SourceBranchName }}'), eq('${{ parameters.BuildLibTorchPackages }}', true))
+ condition: and(succeeded(), ne(variables['system.pullrequest.isfork'], true), eq(variables['build.sourcebranchname'], '${{ parameters.SourceBranchName }}'), eq('${{ parameters.BuildLibTorchPackages }}', true))
dependsOn:
- Windows_Native_Build_For_Packages
+ - Build_TorchSharp_And_libtorch_cpu_Packages
variables:
BuildConfig: Release
OfficialBuildId: $(BUILD.BUILDNUMBER)
@@ -382,7 +384,7 @@ jobs:
- script: dotnet restore pkg/pack.proj /p:Configuration=Release
displayName: Restore package projects
- - script: dotnet pack -c $(BuildConfig) --no-build -v:n /p:SkipNative=true /p:SkipTests=true /p:IncludeTorchSharpPackage=false /p:IncludeLibTorchCpuPackages=false /p:IncludeLibTorchCudaPackages=true pkg/pack.proj
+ - script: dotnet pack -c $(BuildConfig) --no-build -v:n /p:SkipNative=true /p:SkipTests=true /p:IncludeTorchSharpPackage=false /p:IncludeLibTorchCpuPackages=false /p:IncludeLibTorchCudaPackages=true /p:TargetOS=windows pkg/pack.proj
displayName: Create Packages
# We are 10GB space-constrained on the Azure Pipelines CI system so clean up what we can
@@ -403,9 +405,10 @@ jobs:
################################################################################
- job: Build_libtorch_cuda_linux_Packages
################################################################################
- condition: and(ne(variables['system.pullrequest.isfork'], true), eq(variables['build.sourcebranchname'], '${{ parameters.SourceBranchName }}'), eq('${{ parameters.BuildLibTorchPackages }}', true))
+ condition: and(succeeded(), ne(variables['system.pullrequest.isfork'], true), eq(variables['build.sourcebranchname'], '${{ parameters.SourceBranchName }}'), eq('${{ parameters.BuildLibTorchPackages }}', true))
dependsOn:
- Linux_Native_Build_For_Packages
+ - Build_libtorch_cuda_win_Packages
variables:
BuildConfig: Release
OfficialBuildId: $(BUILD.BUILDNUMBER)
@@ -448,7 +451,7 @@ jobs:
- script: dotnet restore pkg/pack.proj /p:Configuration=Release
displayName: Restore package projects
- - script: dotnet pack -c $(BuildConfig) --no-build -v:n /p:SkipNative=true /p:SkipTests=true /p:ApiCompatGenerateSuppressionFile=true /p:IncludeTorchSharpPackage=false /p:IncludeLibTorchCpuPackages=false /p:IncludeLibTorchCudaPackages=true pkg/pack.proj
+ - script: dotnet pack -c $(BuildConfig) --no-build -v:n /p:SkipNative=true /p:SkipTests=true /p:ApiCompatGenerateSuppressionFile=true /p:IncludeTorchSharpPackage=false /p:IncludeLibTorchCpuPackages=false /p:IncludeLibTorchCudaPackages=true /p:TargetOS=linux pkg/pack.proj
displayName: Create Packages
# We are 10GB space-constrained on the Azure Pipelines CI system so clean up what we can
@@ -859,4 +862,4 @@ jobs:
publishVstsFeed: 'TorchSharp/TestPackages'
allowPackageConflicts: true
# often fails - try but ignore the error until we sort it out
- continueOnError: true
+ continueOnError: true
\ No newline at end of file
diff --git a/build/BranchInfo.props b/build/BranchInfo.props
index 04ac4215b..634838da2 100644
--- a/build/BranchInfo.props
+++ b/build/BranchInfo.props
@@ -2,7 +2,7 @@
0
105
- 1
- 0.105.0
+ 2
+ 0.105.1
\ No newline at end of file
diff --git a/build/Dependencies.props b/build/Dependencies.props
index 320a3ae05..6d3d32065 100644
--- a/build/Dependencies.props
+++ b/build/Dependencies.props
@@ -7,10 +7,10 @@
- 2.5.1
+ 2.7.1
2.2.2
- 12.1
- 121
+ 12.8
+ 128
2019.0.5.20190502
diff --git a/linux_cuda.txt b/linux_cuda.txt
index 073faa81d..28eec1dfb 100644
--- a/linux_cuda.txt
+++ b/linux_cuda.txt
@@ -1,31 +1,34 @@
- 331,816 libaoti_custom_ops.so
- 288,672 libbackend_with_compiler.so
- 1,215,456 libc10.so
- 833,576 libc10d_cuda_test.so
- 1,482,296 libc10_cuda.so
- 22,545 libcaffe2_nvrtc.so
- 107,496,985 libcublas-37d11411.so.12
- 515,090,264 libcublasLt-f97bfc2c.so.12
- 695,585 libcudart-9335f6a2.so.12
- 104,664 libcudnn.so.9
- 240,675,313 libcudnn_adv.so.9
- 4,700,665 libcudnn_cnn.so.9
- 569,612,689 libcudnn_engines_precompiled.so.9
- 9,562,545 libcudnn_engines_runtime_compiled.so.9
- 3,141,321 libcudnn_graph.so.9
- 86,313,377 libcudnn_heuristic.so.9
- 108,399,185 libcudnn_ops.so.9
- 283,265 libgomp-98b21ff3.so.1
- 244,496 libjitbackend_test.so
- 390,312 libnnapi_backend.so
- 56,875,329 libnvrtc-b51b459d.so.12
- 6,846,017 libnvrtc-builtins.so
- 43,681 libnvToolsExt-847d78f2.so.1
- 53,625 libshm.so
- 15,704 libtorch.so
- 1,025,232 libtorchbind_test.so
- 447,891,009 libtorch_cpu.so
-1,490,739,561 libtorch_cuda.so
- 389,644,088 libtorch_cuda_linalg.so
- 16,881 libtorch_global_deps.so
- 28,364,592 libtorch_python.so
\ No newline at end of file
+ 337,640 libaoti_custom_ops.so
+ 289,056 libbackend_with_compiler.so
+ 1,399,472 libc10.so
+ 1,019,520 libc10d_cuda_test.so
+ 1,678,384 libc10_cuda.so
+ 22,545 libcaffe2_nvrtc.so
+ 116,410,465 libcublas-f6c022dc.so.12
+ 781,053,840 libcublasLt-4ef47ce6.so.12
+ 746,033 libcudart-218eec4c.so.12
+ 125,136 libcudnn.so.9
+ 328,116,152 libcudnn_adv.so.9
+ 4,936,720 libcudnn_cnn.so.9
+ 555,562,848 libcudnn_engines_precompiled.so.9
+ 26,369,800 libcudnn_engines_runtime_compiled.so.9
+ 3,109,840 libcudnn_graph.so.9
+ 60,962,000 libcudnn_heuristic.so.9
+ 118,055,872 libcudnn_ops.so.9
+ 3,209,497 libcufile-0c72d05c.so.0
+ 50,513 libcufile_rdma-5257f22c.so.1
+ 237,384,129 libcusparseLt-978bd952.so.0
+ 283,265 libgomp-98b21ff3.so.1
+ 244,568 libjitbackend_test.so
+ 394,368 libnnapi_backend.so
+ 6,342,377 libnvrtc-builtins.so
+ 104,454,481 libnvrtc-c8f577df.so.12
+ 39,561 libnvToolsExt-c498fcba.so.1
+ 53,649 libshm.so
+ 15,704 libtorch.so
+ 1,015,536 libtorchbind_test.so
+ 476,442,809 libtorch_cpu.so
+2,204,740,961 libtorch_cuda.so
+ 841,837,432 libtorch_cuda_linalg.so
+ 16,881 libtorch_global_deps.so
+ 40,636,376 libtorch_python.so
\ No newline at end of file
diff --git a/pkg/TorchSharp-cuda-linux/TorchSharp-cuda-linux.nupkgproj b/pkg/TorchSharp-cuda-linux/TorchSharp-cuda-linux.nupkgproj
index c8caa6090..ad5f39b2f 100644
--- a/pkg/TorchSharp-cuda-linux/TorchSharp-cuda-linux.nupkgproj
+++ b/pkg/TorchSharp-cuda-linux/TorchSharp-cuda-linux.nupkgproj
@@ -7,7 +7,7 @@
-
+
diff --git a/pkg/TorchSharp-cuda-windows/TorchSharp-cuda-windows.nupkgproj b/pkg/TorchSharp-cuda-windows/TorchSharp-cuda-windows.nupkgproj
index 04923365e..cfcf7881e 100644
--- a/pkg/TorchSharp-cuda-windows/TorchSharp-cuda-windows.nupkgproj
+++ b/pkg/TorchSharp-cuda-windows/TorchSharp-cuda-windows.nupkgproj
@@ -7,7 +7,7 @@
-
+
diff --git a/pkg/libtorch-cuda-12.1-linux-x64/libtorch-cuda-12.1-linux-x64.nupkgproj b/pkg/libtorch-cuda-12.1-linux-x64/libtorch-cuda-12.1-linux-x64.nupkgproj
deleted file mode 100644
index e20fd5c60..000000000
--- a/pkg/libtorch-cuda-12.1-linux-x64/libtorch-cuda-12.1-linux-x64.nupkgproj
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
- netstandard2.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pkg/libtorch-cuda-12.1-win-x64/libtorch-cuda-12.1-win-x64.nupkgproj b/pkg/libtorch-cuda-12.1-win-x64/libtorch-cuda-12.1-win-x64.nupkgproj
deleted file mode 100644
index 11b41d58c..000000000
--- a/pkg/libtorch-cuda-12.1-win-x64/libtorch-cuda-12.1-win-x64.nupkgproj
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
- netstandard2.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part1/libtorch-cuda-12.1-linux-x64-part1.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part1/libtorch-cuda-12.8-linux-x64-part1.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part1/libtorch-cuda-12.1-linux-x64-part1.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part1/libtorch-cuda-12.8-linux-x64-part1.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part2-fragment1/libtorch-cuda-12.1-linux-x64-part2-fragment1.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part2-fragment1/libtorch-cuda-12.8-linux-x64-part2-fragment1.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part2-fragment1/libtorch-cuda-12.1-linux-x64-part2-fragment1.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part2-fragment1/libtorch-cuda-12.8-linux-x64-part2-fragment1.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part2-primary/libtorch-cuda-12.1-linux-x64-part2-primary.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part2-primary/libtorch-cuda-12.8-linux-x64-part2-primary.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part2-primary/libtorch-cuda-12.1-linux-x64-part2-primary.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part2-primary/libtorch-cuda-12.8-linux-x64-part2-primary.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part3-fragment1/libtorch-cuda-12.1-linux-x64-part3-fragment1.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part3-fragment1/libtorch-cuda-12.8-linux-x64-part3-fragment1.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part3-fragment1/libtorch-cuda-12.1-linux-x64-part3-fragment1.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part3-fragment1/libtorch-cuda-12.8-linux-x64-part3-fragment1.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part3-fragment2/libtorch-cuda-12.1-linux-x64-part3-fragment2.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part3-fragment2/libtorch-cuda-12.8-linux-x64-part3-fragment2.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part3-fragment2/libtorch-cuda-12.1-linux-x64-part3-fragment2.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part3-fragment2/libtorch-cuda-12.8-linux-x64-part3-fragment2.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part3-fragment3/libtorch-cuda-12.1-linux-x64-part3-fragment3.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part3-fragment3/libtorch-cuda-12.8-linux-x64-part3-fragment3.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part3-fragment3/libtorch-cuda-12.1-linux-x64-part3-fragment3.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part3-fragment3/libtorch-cuda-12.8-linux-x64-part3-fragment3.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part3-fragment4/libtorch-cuda-12.1-linux-x64-part3-fragment4.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part3-fragment4/libtorch-cuda-12.8-linux-x64-part3-fragment4.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part3-fragment4/libtorch-cuda-12.1-linux-x64-part3-fragment4.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part3-fragment4/libtorch-cuda-12.8-linux-x64-part3-fragment4.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part5-fragment1/libtorch-cuda-12.1-linux-x64-part5-fragment1.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part3-fragment5/libtorch-cuda-12.8-linux-x64-part3-fragment5.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part5-fragment1/libtorch-cuda-12.1-linux-x64-part5-fragment1.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part3-fragment5/libtorch-cuda-12.8-linux-x64-part3-fragment5.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part1/libtorch-cuda-12.1-win-x64-part1.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part3-fragment6/libtorch-cuda-12.8-linux-x64-part3-fragment6.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part1/libtorch-cuda-12.1-win-x64-part1.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part3-fragment6/libtorch-cuda-12.8-linux-x64-part3-fragment6.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part3-primary/libtorch-cuda-12.1-linux-x64-part3-primary.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part3-primary/libtorch-cuda-12.8-linux-x64-part3-primary.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part3-primary/libtorch-cuda-12.1-linux-x64-part3-primary.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part3-primary/libtorch-cuda-12.8-linux-x64-part3-primary.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part4-fragment1/libtorch-cuda-12.1-linux-x64-part4-fragment1.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part4-fragment1/libtorch-cuda-12.8-linux-x64-part4-fragment1.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part4-fragment1/libtorch-cuda-12.1-linux-x64-part4-fragment1.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part4-fragment1/libtorch-cuda-12.8-linux-x64-part4-fragment1.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part4-primary/libtorch-cuda-12.1-linux-x64-part4-primary.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part4-primary/libtorch-cuda-12.8-linux-x64-part4-primary.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part4-primary/libtorch-cuda-12.1-linux-x64-part4-primary.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part4-primary/libtorch-cuda-12.8-linux-x64-part4-primary.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part2/libtorch-cuda-12.1-win-x64-part2.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part5-fragment1/libtorch-cuda-12.8-linux-x64-part5-fragment1.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part2/libtorch-cuda-12.1-win-x64-part2.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part5-fragment1/libtorch-cuda-12.8-linux-x64-part5-fragment1.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part3-fragment1/libtorch-cuda-12.1-win-x64-part3-fragment1.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part5-fragment2/libtorch-cuda-12.8-linux-x64-part5-fragment2.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part3-fragment1/libtorch-cuda-12.1-win-x64-part3-fragment1.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part5-fragment2/libtorch-cuda-12.8-linux-x64-part5-fragment2.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part5-primary/libtorch-cuda-12.1-linux-x64-part5-primary.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part5-primary/libtorch-cuda-12.8-linux-x64-part5-primary.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part5-primary/libtorch-cuda-12.1-linux-x64-part5-primary.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part5-primary/libtorch-cuda-12.8-linux-x64-part5-primary.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part6/libtorch-cuda-12.1-linux-x64-part6.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part6/libtorch-cuda-12.8-linux-x64-part6.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part6/libtorch-cuda-12.1-linux-x64-part6.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part6/libtorch-cuda-12.8-linux-x64-part6.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part7-fragment1/libtorch-cuda-12.1-linux-x64-part7-fragment1.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part7-fragment1/libtorch-cuda-12.8-linux-x64-part7-fragment1.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part7-fragment1/libtorch-cuda-12.1-linux-x64-part7-fragment1.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part7-fragment1/libtorch-cuda-12.8-linux-x64-part7-fragment1.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part8/libtorch-cuda-12.1-linux-x64-part8.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part7-fragment2/libtorch-cuda-12.8-linux-x64-part7-fragment2.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part8/libtorch-cuda-12.1-linux-x64-part8.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part7-fragment2/libtorch-cuda-12.8-linux-x64-part7-fragment2.nupkgproj
diff --git a/pkg/libtorch-cuda-12.8-linux-x64-part7-fragment3/libtorch-cuda-12.8-linux-x64-part7-fragment3.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part7-fragment3/libtorch-cuda-12.8-linux-x64-part7-fragment3.nupkgproj
new file mode 100644
index 000000000..110fe1a7a
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-linux-x64-part7-fragment3/libtorch-cuda-12.8-linux-x64-part7-fragment3.nupkgproj
@@ -0,0 +1,15 @@
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/libtorch-cuda-12.1-linux-x64-part7-primary/libtorch-cuda-12.1-linux-x64-part7-primary.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part7-primary/libtorch-cuda-12.8-linux-x64-part7-primary.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-linux-x64-part7-primary/libtorch-cuda-12.1-linux-x64-part7-primary.nupkgproj
rename to pkg/libtorch-cuda-12.8-linux-x64-part7-primary/libtorch-cuda-12.8-linux-x64-part7-primary.nupkgproj
diff --git a/pkg/libtorch-cuda-12.8-linux-x64-part8/libtorch-cuda-12.8-linux-x64-part8.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part8/libtorch-cuda-12.8-linux-x64-part8.nupkgproj
new file mode 100644
index 000000000..110fe1a7a
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-linux-x64-part8/libtorch-cuda-12.8-linux-x64-part8.nupkgproj
@@ -0,0 +1,15 @@
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/libtorch-cuda-12.8-linux-x64-part9/libtorch-cuda-12.8-linux-x64-part9.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64-part9/libtorch-cuda-12.8-linux-x64-part9.nupkgproj
new file mode 100644
index 000000000..110fe1a7a
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-linux-x64-part9/libtorch-cuda-12.8-linux-x64-part9.nupkgproj
@@ -0,0 +1,15 @@
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/libtorch-cuda-12.8-linux-x64/libtorch-cuda-12.8-linux-x64.nupkgproj b/pkg/libtorch-cuda-12.8-linux-x64/libtorch-cuda-12.8-linux-x64.nupkgproj
new file mode 100644
index 000000000..27e159e8e
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-linux-x64/libtorch-cuda-12.8-linux-x64.nupkgproj
@@ -0,0 +1,49 @@
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part4/libtorch-cuda-12.1-win-x64-part4.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part1/libtorch-cuda-12.8-win-x64-part1.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part4/libtorch-cuda-12.1-win-x64-part4.nupkgproj
rename to pkg/libtorch-cuda-12.8-win-x64-part1/libtorch-cuda-12.8-win-x64-part1.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part5-fragment1/libtorch-cuda-12.1-win-x64-part5-fragment1.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part10/libtorch-cuda-12.8-win-x64-part10.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part5-fragment1/libtorch-cuda-12.1-win-x64-part5-fragment1.nupkgproj
rename to pkg/libtorch-cuda-12.8-win-x64-part10/libtorch-cuda-12.8-win-x64-part10.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part8/libtorch-cuda-12.1-win-x64-part8.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part2/libtorch-cuda-12.8-win-x64-part2.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part8/libtorch-cuda-12.1-win-x64-part8.nupkgproj
rename to pkg/libtorch-cuda-12.8-win-x64-part2/libtorch-cuda-12.8-win-x64-part2.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part9-fragment1/libtorch-cuda-12.1-win-x64-part9-fragment1.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part3-fragment1/libtorch-cuda-12.8-win-x64-part3-fragment1.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part9-fragment1/libtorch-cuda-12.1-win-x64-part9-fragment1.nupkgproj
rename to pkg/libtorch-cuda-12.8-win-x64-part3-fragment1/libtorch-cuda-12.8-win-x64-part3-fragment1.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part3-primary/libtorch-cuda-12.1-win-x64-part3-primary.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part3-primary/libtorch-cuda-12.8-win-x64-part3-primary.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part3-primary/libtorch-cuda-12.1-win-x64-part3-primary.nupkgproj
rename to pkg/libtorch-cuda-12.8-win-x64-part3-primary/libtorch-cuda-12.8-win-x64-part3-primary.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part9-fragment2/libtorch-cuda-12.1-win-x64-part9-fragment2.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part4/libtorch-cuda-12.8-win-x64-part4.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part9-fragment2/libtorch-cuda-12.1-win-x64-part9-fragment2.nupkgproj
rename to pkg/libtorch-cuda-12.8-win-x64-part4/libtorch-cuda-12.8-win-x64-part4.nupkgproj
diff --git a/pkg/libtorch-cuda-12.8-win-x64-part5-fragment1/libtorch-cuda-12.8-win-x64-part5-fragment1.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part5-fragment1/libtorch-cuda-12.8-win-x64-part5-fragment1.nupkgproj
new file mode 100644
index 000000000..bd6696258
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-win-x64-part5-fragment1/libtorch-cuda-12.8-win-x64-part5-fragment1.nupkgproj
@@ -0,0 +1,15 @@
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/libtorch-cuda-12.8-win-x64-part5-fragment2/libtorch-cuda-12.8-win-x64-part5-fragment2.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part5-fragment2/libtorch-cuda-12.8-win-x64-part5-fragment2.nupkgproj
new file mode 100644
index 000000000..bd6696258
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-win-x64-part5-fragment2/libtorch-cuda-12.8-win-x64-part5-fragment2.nupkgproj
@@ -0,0 +1,15 @@
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part5-primary/libtorch-cuda-12.1-win-x64-part5-primary.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part5-primary/libtorch-cuda-12.8-win-x64-part5-primary.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part5-primary/libtorch-cuda-12.1-win-x64-part5-primary.nupkgproj
rename to pkg/libtorch-cuda-12.8-win-x64-part5-primary/libtorch-cuda-12.8-win-x64-part5-primary.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part6/libtorch-cuda-12.1-win-x64-part6.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part6/libtorch-cuda-12.8-win-x64-part6.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part6/libtorch-cuda-12.1-win-x64-part6.nupkgproj
rename to pkg/libtorch-cuda-12.8-win-x64-part6/libtorch-cuda-12.8-win-x64-part6.nupkgproj
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part7/libtorch-cuda-12.1-win-x64-part7.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part7-fragment1/libtorch-cuda-12.8-win-x64-part7-fragment1.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part7/libtorch-cuda-12.1-win-x64-part7.nupkgproj
rename to pkg/libtorch-cuda-12.8-win-x64-part7-fragment1/libtorch-cuda-12.8-win-x64-part7-fragment1.nupkgproj
diff --git a/pkg/libtorch-cuda-12.8-win-x64-part7-primary/libtorch-cuda-12.8-win-x64-part7-primary.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part7-primary/libtorch-cuda-12.8-win-x64-part7-primary.nupkgproj
new file mode 100644
index 000000000..fef34f08b
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-win-x64-part7-primary/libtorch-cuda-12.8-win-x64-part7-primary.nupkgproj
@@ -0,0 +1,16 @@
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/libtorch-cuda-12.8-win-x64-part8/libtorch-cuda-12.8-win-x64-part8.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part8/libtorch-cuda-12.8-win-x64-part8.nupkgproj
new file mode 100644
index 000000000..bd6696258
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-win-x64-part8/libtorch-cuda-12.8-win-x64-part8.nupkgproj
@@ -0,0 +1,15 @@
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/libtorch-cuda-12.8-win-x64-part9-fragment1/libtorch-cuda-12.8-win-x64-part9-fragment1.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part9-fragment1/libtorch-cuda-12.8-win-x64-part9-fragment1.nupkgproj
new file mode 100644
index 000000000..bd6696258
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-win-x64-part9-fragment1/libtorch-cuda-12.8-win-x64-part9-fragment1.nupkgproj
@@ -0,0 +1,15 @@
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/libtorch-cuda-12.8-win-x64-part9-fragment2/libtorch-cuda-12.8-win-x64-part9-fragment2.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part9-fragment2/libtorch-cuda-12.8-win-x64-part9-fragment2.nupkgproj
new file mode 100644
index 000000000..bd6696258
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-win-x64-part9-fragment2/libtorch-cuda-12.8-win-x64-part9-fragment2.nupkgproj
@@ -0,0 +1,15 @@
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/libtorch-cuda-12.8-win-x64-part9-fragment3/libtorch-cuda-12.8-win-x64-part9-fragment3.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part9-fragment3/libtorch-cuda-12.8-win-x64-part9-fragment3.nupkgproj
new file mode 100644
index 000000000..bd6696258
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-win-x64-part9-fragment3/libtorch-cuda-12.8-win-x64-part9-fragment3.nupkgproj
@@ -0,0 +1,15 @@
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/libtorch-cuda-12.1-win-x64-part9-primary/libtorch-cuda-12.1-win-x64-part9-primary.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64-part9-primary/libtorch-cuda-12.8-win-x64-part9-primary.nupkgproj
similarity index 100%
rename from pkg/libtorch-cuda-12.1-win-x64-part9-primary/libtorch-cuda-12.1-win-x64-part9-primary.nupkgproj
rename to pkg/libtorch-cuda-12.8-win-x64-part9-primary/libtorch-cuda-12.8-win-x64-part9-primary.nupkgproj
diff --git a/pkg/libtorch-cuda-12.8-win-x64/libtorch-cuda-12.8-win-x64.nupkgproj b/pkg/libtorch-cuda-12.8-win-x64/libtorch-cuda-12.8-win-x64.nupkgproj
new file mode 100644
index 000000000..3f484017a
--- /dev/null
+++ b/pkg/libtorch-cuda-12.8-win-x64/libtorch-cuda-12.8-win-x64.nupkgproj
@@ -0,0 +1,45 @@
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Native/LibTorchSharp/THSLinearAlgebra.cpp b/src/Native/LibTorchSharp/THSLinearAlgebra.cpp
index 4ed6419db..202d3de47 100644
--- a/src/Native/LibTorchSharp/THSLinearAlgebra.cpp
+++ b/src/Native/LibTorchSharp/THSLinearAlgebra.cpp
@@ -6,7 +6,7 @@
Tensor THSLinalg_cholesky(const Tensor tensor)
{
- CATCH_TENSOR(torch::linalg::cholesky(*tensor))
+ CATCH_TENSOR(torch::linalg_cholesky(*tensor))
}
Tensor THSLinalg_cholesky_ex(const Tensor tensor, bool check_errors, Tensor* info)
@@ -44,7 +44,7 @@ Tensor THSLinalg_cross(const Tensor input, const Tensor other, const int64_t dim
Tensor THSLinalg_det(const Tensor tensor)
{
- CATCH_TENSOR(torch::linalg::det(*tensor))
+ CATCH_TENSOR(torch::linalg_det(*tensor))
}
Tensor THSTensor_logdet(const Tensor tensor)
@@ -55,7 +55,7 @@ Tensor THSTensor_logdet(const Tensor tensor)
Tensor THSLinalg_slogdet(const Tensor tensor, Tensor* logabsdet)
{
std::tuple res;
- CATCH(res = torch::linalg::slogdet(*tensor);)
+ CATCH(res = torch::linalg_slogdet(*tensor);)
*logabsdet = ResultTensor(std::get<1>(res));
return ResultTensor(std::get<0>(res));
}
@@ -63,7 +63,7 @@ Tensor THSLinalg_slogdet(const Tensor tensor, Tensor* logabsdet)
Tensor THSLinalg_eig(const Tensor tensor, Tensor* eigenvectors)
{
std::tuple res;
- CATCH(res = torch::linalg::eig(*tensor););
+ CATCH(res = torch::linalg_eig(*tensor););
*eigenvectors = ResultTensor(std::get<1>(res));
return ResultTensor(std::get<0>(res));
}
@@ -93,31 +93,31 @@ Tensor THSLinalg_eigh(const Tensor tensor, const char UPLO, Tensor* eigenvectors
std::string _uplo;
_uplo.push_back(UPLO);
std::tuple res;
- CATCH(res = torch::linalg::eigh(*tensor, _uplo););
+ CATCH(res = torch::linalg_eigh(*tensor, _uplo););
*eigenvectors = ResultTensor(std::get<1>(res));
return ResultTensor(std::get<0>(res));
}
Tensor THSLinalg_eigvals(const Tensor tensor)
{
- CATCH_TENSOR(torch::linalg::eigvals(*tensor))
+ CATCH_TENSOR(torch::linalg_eigvals(*tensor))
}
Tensor THSLinalg_eigvalsh(const Tensor tensor, const char UPLO)
{
std::string _uplo;
_uplo.push_back(UPLO);
- CATCH_TENSOR(torch::linalg::eigvalsh(*tensor, _uplo))
+ CATCH_TENSOR(torch::linalg_eigvalsh(*tensor, _uplo))
}
Tensor THSLinalg_householder_product(const Tensor tensor, const Tensor tau)
{
- CATCH_TENSOR(torch::linalg::householder_product(*tensor, *tau))
+ CATCH_TENSOR(torch::linalg_householder_product(*tensor, *tau))
}
Tensor THSLinalg_inv(const Tensor tensor)
{
- CATCH_TENSOR(torch::linalg::inv(*tensor))
+ CATCH_TENSOR(torch::linalg_inv(*tensor))
}
Tensor THSLinalg_inv_ex(const Tensor tensor, bool check_errors, Tensor* info)
@@ -131,7 +131,7 @@ Tensor THSLinalg_inv_ex(const Tensor tensor, bool check_errors, Tensor* info)
Tensor THSLinalg_lstsq_none(const Tensor A, const Tensor B, Tensor* residuals, Tensor* rank, Tensor* singular_values)
{
std::tuple res;
- CATCH(res = torch::linalg::lstsq(*A, *B, c10::nullopt, c10::nullopt);)
+ CATCH(res = torch::linalg_lstsq(*A, *B, c10::nullopt, c10::nullopt);)
*residuals = ResultTensor(std::get<1>(res));
*rank = ResultTensor(std::get<2>(res));
*singular_values = ResultTensor(std::get<3>(res));
@@ -141,7 +141,7 @@ Tensor THSLinalg_lstsq_none(const Tensor A, const Tensor B, Tensor* residuals, T
Tensor THSLinalg_lstsq_rcond(const Tensor A, const Tensor B, const double rcond, Tensor* residuals, Tensor* rank, Tensor* singular_values)
{
std::tuple res;
- CATCH(res = torch::linalg::lstsq(*A, *B, rcond, c10::nullopt);)
+ CATCH(res = torch::linalg_lstsq(*A, *B, rcond, c10::nullopt);)
*residuals = ResultTensor(std::get<1>(res));
*rank = ResultTensor(std::get<2>(res));
*singular_values = ResultTensor(std::get<3>(res));
@@ -151,7 +151,7 @@ Tensor THSLinalg_lstsq_rcond(const Tensor A, const Tensor B, const double rcond,
Tensor THSLinalg_lu(const Tensor A, const bool pivot, Tensor* L, Tensor* U)
{
std::tuple res;
- CATCH(res = torch::linalg::lu(*A, pivot);)
+ CATCH(res = torch::linalg_lu(*A, pivot);)
*L = ResultTensor(std::get<1>(res));
*U = ResultTensor(std::get<2>(res));
return ResultTensor(std::get<0>(res));
@@ -160,7 +160,7 @@ Tensor THSLinalg_lu(const Tensor A, const bool pivot, Tensor* L, Tensor* U)
Tensor THSLinalg_lu_factor(const Tensor A, const bool pivot, Tensor* pivots)
{
std::tuple res;
- CATCH(res = torch::linalg::lu_factor(*A, pivot);)
+ CATCH(res = torch::linalg_lu_factor(*A, pivot);)
*pivots = ResultTensor(std::get<1>(res));
return ResultTensor(std::get<0>(res));
}
@@ -190,19 +190,19 @@ Tensor THSLinalg_ldl_solve(const Tensor LD, const Tensor pivots, const Tensor B,
Tensor THSLinalg_matrix_norm(const Tensor tensor, const Scalar ord, const int64_t* dim, const int dim_length, const bool keepdim)
{
auto dims = c10::ArrayRef(dim, dim_length);
- CATCH_TENSOR(torch::linalg::matrix_norm(*tensor, *ord, dims, keepdim, c10::nullopt))
+ CATCH_TENSOR(torch::linalg_matrix_norm(*tensor, *ord, dims, keepdim, c10::nullopt))
}
Tensor THSLinalg_matrix_norm_fronuc(const Tensor tensor, const int8_t fronuc, const int64_t* dim, const int dim_length, const bool keepdim)
{
auto dims = c10::ArrayRef(dim, dim_length);
- CATCH_TENSOR(torch::linalg::matrix_norm(*tensor, (fronuc == 0) ? "fro" : "nuc", dims, keepdim, c10::nullopt))
+ CATCH_TENSOR(torch::linalg_matrix_norm(*tensor, (fronuc == 0) ? "fro" : "nuc", dims, keepdim, c10::nullopt))
}
Tensor THSLinalg_vector_norm(const Tensor tensor, const Scalar ord, const int64_t* dim, const int dim_length, const bool keepdim)
{
auto dims = c10::ArrayRef(dim, dim_length);
- CATCH_TENSOR(torch::linalg::vector_norm(*tensor, *ord, dims, keepdim, c10::nullopt))
+ CATCH_TENSOR(torch::linalg_vector_norm(*tensor, *ord, dims, keepdim, c10::nullopt))
}
Tensor THSLinalg_matrix_rank(const Tensor tensor, const double atol, const bool has_atol, const double rtol, const bool has_rtol, const bool hermitian)
@@ -210,7 +210,7 @@ Tensor THSLinalg_matrix_rank(const Tensor tensor, const double atol, const bool
auto atol_ = has_atol ? atol : c10::optional();
auto rtol_ = has_rtol ? rtol : c10::optional();
- CATCH_TENSOR(torch::linalg::matrix_rank(*tensor, atol_, rtol_, hermitian))
+ CATCH_TENSOR(torch::linalg_matrix_rank(*tensor, atol_, rtol_, hermitian))
}
Tensor THSLinalg_matrix_rank_tensor(const Tensor tensor, const Tensor atol, const Tensor rtol, const bool hermitian)
@@ -218,41 +218,41 @@ Tensor THSLinalg_matrix_rank_tensor(const Tensor tensor, const Tensor atol, cons
const c10::optional atol_ = atol != nullptr ? *atol : c10::optional();
const c10::optional rtol_ = rtol != nullptr ? *rtol : c10::optional();
- CATCH_TENSOR(torch::linalg::matrix_rank(*tensor, atol_, rtol_, hermitian))
+ CATCH_TENSOR(torch::linalg_matrix_rank(*tensor, atol_, rtol_, hermitian))
}
Tensor THSLinalg_matrix_power(const Tensor tensor, const int64_t n)
{
- CATCH_TENSOR(torch::linalg::matrix_power(*tensor, n))
+ CATCH_TENSOR(torch::linalg_matrix_power(*tensor, n))
}
Tensor THSLinalg_multi_dot(const Tensor* tensors, const int length)
{
- CATCH_TENSOR(torch::linalg::multi_dot(toTensors((torch::Tensor**)tensors, length)))
+ CATCH_TENSOR(torch::linalg_multi_dot(toTensors((torch::Tensor**)tensors, length)))
}
Tensor THSLinalg_norm_str(const Tensor tensor, const char* p, const int64_t* dim, const int dim_length, const bool keepdim)
{
c10::optional dims = (dim == nullptr) ? c10::nullopt : c10::optional(at::ArrayRef(dim, dim_length));
- CATCH_TENSOR(torch::linalg::norm(*tensor, p, dims, keepdim, c10::nullopt))
+ CATCH_TENSOR(torch::linalg_norm(*tensor, p, dims, keepdim, c10::nullopt))
}
Tensor THSLinalg_norm_float(const Tensor tensor, const double p, const int64_t* dim, const int dim_length, const bool keepdim)
{
c10::optional dims = (dim == nullptr) ? c10::nullopt : c10::optional(at::ArrayRef(dim, dim_length));
- CATCH_TENSOR(torch::linalg::norm(*tensor, p, dims, keepdim, c10::nullopt))
+ CATCH_TENSOR(torch::linalg_norm(*tensor, p, dims, keepdim, c10::nullopt))
}
Tensor THSLinalg_norm_int(const Tensor tensor, const int p, const int64_t* dim, const int dim_length, const bool keepdim)
{
c10::optional dims = (dim == nullptr) ? c10::nullopt : c10::optional(at::ArrayRef(dim, dim_length));
- CATCH_TENSOR(torch::linalg::norm(*tensor, p, dims, keepdim, c10::nullopt))
+ CATCH_TENSOR(torch::linalg_norm(*tensor, p, dims, keepdim, c10::nullopt))
}
Tensor THSLinalg_norm_opt(const Tensor tensor, const int64_t* dim, const int dim_length, const bool keepdim)
{
c10::optional dims = (dim == nullptr) ? c10::nullopt : c10::optional(at::ArrayRef(dim, dim_length));
- CATCH_TENSOR(torch::linalg::norm(*tensor, c10::nullopt, dims, keepdim, c10::nullopt))
+ CATCH_TENSOR(torch::linalg_norm(*tensor, c10::nullopt, dims, keepdim, c10::nullopt))
}
Tensor THSLinalg_pinv(const Tensor tensor, const double atol, const bool has_atol, const double rtol, const bool has_rtol, const bool hermitian)
@@ -273,7 +273,7 @@ Tensor THSLinalg_pinv_tensor(const Tensor tensor, const Tensor atol, const Tenso
Tensor THSLinalg_pinverse(const Tensor tensor, const double rcond, const bool hermitian)
{
- CATCH_TENSOR(torch::linalg::pinv(*tensor, rcond, hermitian))
+ CATCH_TENSOR(torch::linalg_pinv(*tensor, rcond, hermitian))
}
Tensor THSLinalg_qr(const Tensor tensor, const char mode, Tensor* R)
@@ -295,31 +295,31 @@ Tensor THSLinalg_qr(const Tensor tensor, const char mode, Tensor* R)
Tensor THSLinalg_solve(const Tensor tensor, Tensor other, bool left)
{
- CATCH_TENSOR(torch::linalg::solve(*tensor, *other, left))
+ CATCH_TENSOR(torch::linalg_solve(*tensor, *other, left))
}
Tensor THSLinalg_solve_ex(const Tensor tensor, Tensor other, bool left, bool check_errors, Tensor* S)
{
std::tuple res;
- CATCH(res = torch::linalg::solve_ex(*tensor, *other, left, check_errors););
+ CATCH(res = torch::linalg_solve_ex(*tensor, *other, left, check_errors););
*S = ResultTensor(std::get<1>(res));
return ResultTensor(std::get<0>(res));
}
Tensor THSLinalg_solve_triangular(const Tensor tensor, Tensor other, bool upper, bool left, bool unitriangular)
{
- CATCH_TENSOR(torch::linalg::solve_triangular(*tensor, *other, upper, left, unitriangular))
+ CATCH_TENSOR(torch::linalg_solve_triangular(*tensor, *other, upper, left, unitriangular))
}
Tensor THSLinalg_solve_triangular_out(const Tensor tensor, Tensor other, bool upper, bool left, bool unitriangular, Tensor result)
{
- CATCH_TENSOR(torch::linalg::solve_triangular_out(*result, *tensor, *other, upper, left, unitriangular))
+ CATCH_TENSOR(torch::linalg_solve_triangular_out(*result, *tensor, *other, upper, left, unitriangular))
}
Tensor THSLinalg_svd(const Tensor tensor, const bool full_matrices, Tensor* S, Tensor* Vh)
{
std::tuple res;
- CATCH(res = torch::linalg::svd(*tensor, full_matrices, c10::nullopt););
+ CATCH(res = torch::linalg_svd(*tensor, full_matrices, c10::nullopt););
*S = ResultTensor(std::get<1>(res));
*Vh = ResultTensor(std::get<2>(res));
return ResultTensor(std::get<0>(res));
@@ -327,18 +327,18 @@ Tensor THSLinalg_svd(const Tensor tensor, const bool full_matrices, Tensor* S, T
Tensor THSLinalg_svdvals(const Tensor tensor)
{
- CATCH_TENSOR(res = torch::linalg::svdvals(*tensor, c10::nullopt))
+ CATCH_TENSOR(res = torch::linalg_svdvals(*tensor, c10::nullopt))
}
Tensor THSLinalg_tensorinv(const Tensor tensor, const int64_t ind)
{
- CATCH_TENSOR(torch::linalg::tensorinv(*tensor, ind))
+ CATCH_TENSOR(torch::linalg_tensorinv(*tensor, ind))
}
Tensor THSLinalg_tensorsolve(const Tensor tensor, Tensor other, const int64_t* dim, const int dim_length)
{
c10::optional dims = (dim == nullptr) ? c10::nullopt : c10::optional(at::ArrayRef(dim, dim_length));
- CATCH_TENSOR(torch::linalg::tensorsolve(*tensor, *other, dims))
+ CATCH_TENSOR(torch::linalg_tensorsolve(*tensor, *other, dims))
}
Tensor THSLinalg_vander(const Tensor tensor, const int64_t N)
diff --git a/src/Redist/libtorch-cpu/libtorch-cxx11-abi-shared-with-deps-2.7.1%2Bcpu.zip.sha b/src/Redist/libtorch-cpu/libtorch-cxx11-abi-shared-with-deps-2.7.1%2Bcpu.zip.sha
new file mode 100644
index 000000000..2c5e3f23f
--- /dev/null
+++ b/src/Redist/libtorch-cpu/libtorch-cxx11-abi-shared-with-deps-2.7.1%2Bcpu.zip.sha
@@ -0,0 +1 @@
+63D572598C8D532128A335018913E795C1BBB32602CE378896DC8CFBB5590976
diff --git a/src/Redist/libtorch-cpu/libtorch-macos-arm64-2.7.1.zip.sha b/src/Redist/libtorch-cpu/libtorch-macos-arm64-2.7.1.zip.sha
new file mode 100644
index 000000000..ebf2f99da
--- /dev/null
+++ b/src/Redist/libtorch-cpu/libtorch-macos-arm64-2.7.1.zip.sha
@@ -0,0 +1 @@
+AA89AC85B91C83D0F976F8D135330D51E38AB777B26EC24F312FD58D079314CB
diff --git a/src/Redist/libtorch-cpu/libtorch-win-shared-with-deps-2.7.1%2Bcpu.zip.sha b/src/Redist/libtorch-cpu/libtorch-win-shared-with-deps-2.7.1%2Bcpu.zip.sha
new file mode 100644
index 000000000..c598d75f9
--- /dev/null
+++ b/src/Redist/libtorch-cpu/libtorch-win-shared-with-deps-2.7.1%2Bcpu.zip.sha
@@ -0,0 +1 @@
+A294845080D67FF579073B7B6E17E7DA1CC856DDE6E63FCA2D71498B482580F8
diff --git a/src/Redist/libtorch-cpu/libtorch-win-shared-with-deps-debug-2.7.1%2Bcpu.zip.sha b/src/Redist/libtorch-cpu/libtorch-win-shared-with-deps-debug-2.7.1%2Bcpu.zip.sha
new file mode 100644
index 000000000..58992e879
--- /dev/null
+++ b/src/Redist/libtorch-cpu/libtorch-win-shared-with-deps-debug-2.7.1%2Bcpu.zip.sha
@@ -0,0 +1 @@
+E8D024BBD35FC007A033ABAA616D3104AE0D6262F66A6245A115E32F4A9FC44A
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-cuda-12.1.proj b/src/Redist/libtorch-cuda-12.8/libtorch-cuda-12.8.proj
similarity index 86%
rename from src/Redist/libtorch-cuda-12.1/libtorch-cuda-12.1.proj
rename to src/Redist/libtorch-cuda-12.8/libtorch-cuda-12.8.proj
index 800bb14cd..3c77c36fe 100644
--- a/src/Redist/libtorch-cuda-12.1/libtorch-cuda-12.1.proj
+++ b/src/Redist/libtorch-cuda-12.8/libtorch-cuda-12.8.proj
@@ -33,30 +33,26 @@
-
-
+
-
-
-
+
-
-
+
-
-
+
+
+
-
@@ -64,18 +60,27 @@
-
-
+
+
-
+
+
+
+
+
+
+
-
+
+
+
+
@@ -86,9 +91,9 @@
-
+
-
+
@@ -96,8 +101,10 @@
-
+
+
+
@@ -110,27 +117,33 @@
-
+
+
+
-
-
+
+
+
-
+
-
+
+
+
-
-
+
+
+
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-cxx11-abi-shared-with-deps-2.2.0%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-cxx11-abi-shared-with-deps-2.2.0%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-cxx11-abi-shared-with-deps-2.2.0%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-cxx11-abi-shared-with-deps-2.2.0%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-cxx11-abi-shared-with-deps-2.2.1%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-cxx11-abi-shared-with-deps-2.2.1%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-cxx11-abi-shared-with-deps-2.2.1%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-cxx11-abi-shared-with-deps-2.2.1%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-cxx11-abi-shared-with-deps-2.4.0%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-cxx11-abi-shared-with-deps-2.4.0%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-cxx11-abi-shared-with-deps-2.4.0%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-cxx11-abi-shared-with-deps-2.4.0%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-cxx11-abi-shared-with-deps-2.5.1%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-cxx11-abi-shared-with-deps-2.5.1%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-cxx11-abi-shared-with-deps-2.5.1%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-cxx11-abi-shared-with-deps-2.5.1%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.8/libtorch-cxx11-abi-shared-with-deps-2.7.1%2Bcu128.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-cxx11-abi-shared-with-deps-2.7.1%2Bcu128.zip.sha
new file mode 100644
index 000000000..f10bf4d6b
--- /dev/null
+++ b/src/Redist/libtorch-cuda-12.8/libtorch-cxx11-abi-shared-with-deps-2.7.1%2Bcu128.zip.sha
@@ -0,0 +1 @@
+AE513B437AE99150744EF1D06B02A4ECBBB9275C9FFE540C88909623E3293041
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-1.11.0%2Bcu113.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-1.11.0%2Bcu113.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-1.11.0%2Bcu113.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-1.11.0%2Bcu113.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-1.12.0%2Bcu113.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-1.12.0%2Bcu113.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-1.12.0%2Bcu113.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-1.12.0%2Bcu113.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-1.13.0%2Bcu117.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-1.13.0%2Bcu117.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-1.13.0%2Bcu117.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-1.13.0%2Bcu117.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-2.0.1%2Bcu117.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-2.0.1%2Bcu117.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-2.0.1%2Bcu117.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-2.0.1%2Bcu117.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-2.1.0%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-2.1.0%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-2.1.0%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-2.1.0%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-2.2.0%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-2.2.0%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-shared-with-deps-2.2.0%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-shared-with-deps-2.2.0%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-1.11.0%2Bcu113.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-1.11.0%2Bcu113.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-1.11.0%2Bcu113.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-1.11.0%2Bcu113.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-1.12.0%2Bcu113.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-1.12.0%2Bcu113.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-1.12.0%2Bcu113.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-1.12.0%2Bcu113.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-1.13.0%2Bcu117.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-1.13.0%2Bcu117.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-1.13.0%2Bcu117.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-1.13.0%2Bcu117.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.0.1%2Bcu117.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.0.1%2Bcu117.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.0.1%2Bcu117.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.0.1%2Bcu117.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.1.0%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.1.0%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.1.0%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.1.0%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.2.0%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.2.0%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.2.0%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.2.0%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.2.1%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.2.1%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.2.1%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.2.1%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.4.0%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.4.0%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.4.0%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.4.0%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.5.1%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.5.1%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-2.5.1%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.5.1%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.7.1%2Bcu128.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.7.1%2Bcu128.zip.sha
new file mode 100644
index 000000000..bd127ed82
--- /dev/null
+++ b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-2.7.1%2Bcu128.zip.sha
@@ -0,0 +1 @@
+BDBF643D648E2BF9E8603472D6C6FF4BAE5F79A49FE4776F215B4C45C90A7F19
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-1.11.0%2Bcu113.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-1.11.0%2Bcu113.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-1.11.0%2Bcu113.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-1.11.0%2Bcu113.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-1.12.0%2Bcu113.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-1.12.0%2Bcu113.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-1.12.0%2Bcu113.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-1.12.0%2Bcu113.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-1.13.0%2Bcu117.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-1.13.0%2Bcu117.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-1.13.0%2Bcu117.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-1.13.0%2Bcu117.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.0.1%2Bcu117.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.0.1%2Bcu117.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.0.1%2Bcu117.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.0.1%2Bcu117.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.1.0%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.1.0%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.1.0%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.1.0%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.2.0%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.2.0%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.2.0%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.2.0%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.2.1%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.2.1%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.2.1%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.2.1%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.4.0%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.4.0%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.4.0%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.4.0%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.5.1%2Bcu121.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.5.1%2Bcu121.zip.sha
similarity index 100%
rename from src/Redist/libtorch-cuda-12.1/libtorch-win-shared-with-deps-debug-2.5.1%2Bcu121.zip.sha
rename to src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.5.1%2Bcu121.zip.sha
diff --git a/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.7.1%2Bcu128.zip.sha b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.7.1%2Bcu128.zip.sha
new file mode 100644
index 000000000..7d5160d8a
--- /dev/null
+++ b/src/Redist/libtorch-cuda-12.8/libtorch-win-shared-with-deps-debug-2.7.1%2Bcu128.zip.sha
@@ -0,0 +1 @@
+B1D8287A7414073E9C6F58327EE7214E3BB96A214A128F80F0FD6EAC81AAFEB4
diff --git a/src/TorchSharp/Torch.cs b/src/TorchSharp/Torch.cs
index aa930ec3b..c59196bfe 100644
--- a/src/TorchSharp/Torch.cs
+++ b/src/TorchSharp/Torch.cs
@@ -20,13 +20,13 @@ 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";
+#elif LIBTORCH_2_7_1_0
+ const string libtorchPackageVersion = "2.7.1.0";
#else
#error "Please update libtorchPackageVersion to match LibTorchPackageVersion"
#endif
-#if CUDA_12_1
- const string cudaVersion = "12.1";
+#if CUDA_12_8
+ const string cudaVersion = "12.8";
#else
#error "Please update cudaVersion to match CudaVersionDot"
#endif
@@ -139,9 +139,14 @@ private static void LoadNativeBackend(bool useCudaBackend, out StringBuilder? tr
ok = TryLoadNativeLibraryByName("cudnn_heuristic64_9.dll", typeof(torch).Assembly, trace);
ok = TryLoadNativeLibraryByName("cudnn_engines_precompiled64_9.dll", typeof(torch).Assembly, trace);
ok = TryLoadNativeLibraryByName("cudnn_engines_runtime_compiled64_9.dll", typeof(torch).Assembly, trace);
- ok = TryLoadNativeLibraryByName("nvrtc-builtins64_121", typeof(torch).Assembly, trace);
+ ok = TryLoadNativeLibraryByName("nvrtc-builtins64_128", typeof(torch).Assembly, trace);
ok = TryLoadNativeLibraryByName("caffe2_nvrtc", typeof(torch).Assembly, trace);
ok = TryLoadNativeLibraryByName("nvrtc64_120_0", typeof(torch).Assembly, trace);
+ ok = TryLoadNativeLibraryByName("cublasLt64_12", typeof(torch).Assembly, trace);
+ ok = TryLoadNativeLibraryByName("cufft64_11", typeof(torch).Assembly, trace);
+ ok = TryLoadNativeLibraryByName("fbgemm", typeof(torch).Assembly, trace);
+ ok = TryLoadNativeLibraryByName("cusparse64_12", typeof(torch).Assembly, trace);
+ ok = TryLoadNativeLibraryByName("cusolver64_11", typeof(torch).Assembly, trace);
}
ok = TryLoadNativeLibraryByName("torch_cuda", typeof(torch).Assembly, trace);
diff --git a/windows_cuda.txt b/windows_cuda.txt
index 5bd62158a..b6a440f90 100644
--- a/windows_cuda.txt
+++ b/windows_cuda.txt
@@ -1,36 +1,36 @@
- 358,912 asmjit.dll
- 877,568 c10.dll
- 379,392 c10_cuda.dll
- 16,384 caffe2_nvrtc.dll
- 98,058,240 cublas64_12.dll
-538,818,048 cublasLt64_12.dll
- 527,872 cudart64_12.dll
- 438,840 cudnn64_9.dll
-241,576,488 cudnn_adv64_9.dll
- 4,019,752 cudnn_cnn64_9.dll
-588,910,632 cudnn_engines_precompiled64_9.dll
- 8,235,560 cudnn_engines_runtime_compiled64_9.dll
- 2,160,680 cudnn_graph64_9.dll
- 85,741,608 cudnn_heuristic64_9.dll
-107,721,256 cudnn_ops64_9.dll
-190,346,752 cufft64_11.dll
- 295,936 cufftw64_11.dll
- 4,327,424 cupti64_2023.1.1.dll
- 63,505,408 curand64_10.dll
-110,190,080 cusolver64_11.dll
- 77,008,384 cusolverMg64_11.dll
-262,348,288 cusparse64_12.dll
- 4,961,280 fbgemm.dll
- 1,250,312 libiomp5md.dll
- 41,992 libiompstubs5md.dll
- 34,385,920 nvJitLink_120_0.dll
- 7,001,600 nvrtc-builtins64_121.dll
- 42,161,152 nvrtc64_120_0.dll
- 48,128 nvToolsExt64_1.dll
- 9,728 torch.dll
-249,325,056 torch_cpu.dll
-927,949,824 torch_cuda.dll
- 9,728 torch_global_deps.dll
- 195,072 uv.dll
- 89,088 zlibwapi.dll
-
+ 358,912 asmjit.dll
+ 1,010,176 c10.dll
+ 389,120 c10_cuda.dll
+ 16,384 caffe2_nvrtc.dll
+ 113,712,640 cublas64_12.dll
+ 692,441,600 cublasLt64_12.dll
+ 573,952 cudart64_12.dll
+ 265,760 cudnn64_9.dll
+ 326,072,352 cudnn_adv64_9.dll
+ 4,254,776 cudnn_cnn64_9.dll
+ 528,766,000 cudnn_engines_precompiled64_9.dll
+ 24,718,368 cudnn_engines_runtime_compiled64_9.dll
+ 2,199,608 cudnn_graph64_9.dll
+ 60,222,000 cudnn_heuristic64_9.dll
+ 116,958,752 cudnn_ops64_9.dll
+ 276,121,088 cufft64_11.dll
+ 163,328 cufftw64_11.dll
+ 4,482,632 cupti64_2025.1.0.dll
+ 71,955,456 curand64_10.dll
+ 220,286,976 cusolver64_11.dll
+ 151,604,736 cusolverMg64_11.dll
+ 385,082,880 cusparse64_12.dll
+ 4,961,280 fbgemm.dll
+ 1,602,416 libiomp5md.dll
+ 43,888 libiompstubs5md.dll
+ 77,834,752 nvJitLink_120_0.dll
+ 6,356,480 nvrtc-builtins64_128.dll
+ 86,768,640 nvrtc64_120_0.alt.dll
+ 86,702,592 nvrtc64_120_0.dll
+ 48,128 nvToolsExt64_1.dll
+ 9,728 torch.dll
+ 252,337,664 torch_cpu.dll
+1,311,576,064 torch_cuda.dll
+ 9,728 torch_global_deps.dll
+ 195,072 uv.dll
+ 89,088 zlibwapi.dll
\ No newline at end of file