Skip to main content
TorchSharp package icon

TorchSharp

.NET Bindings for Torch. Requires reference to one of libtorch-cpu, libtorch-cuda-12.1, libtorch-cuda-12.1-win-x64 or libtorch-cuda-12.1-linux-x64 version 2.5.1.0 to execute.

Total Downloads
1.3M
1,322,804
Published
Dec 12, 2024
Latest stable version

Install

.NET CLI
dotnet add package TorchSharp --version 0.105.0
Package Manager Console
Install-Package TorchSharp -Version 0.105.0
PackageReference
<PackageReference Include="TorchSharp" Version="0.105.0" />

Frameworks

net6.0 .NETStandard2.0

Dependencies

[3.21.9, )
[1.4.0, )
[2.88.6, )
[4.5.5, )
Google.Protobuf
.NETStandard2.0
[3.21.9, )
SharpZipLib
.NETStandard2.0
[1.4.0, )
SkiaSharp
.NETStandard2.0
[2.88.6, )
System.Memory
.NETStandard2.0
[4.5.5, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.