TorchSharp-cpu
TorchSharp makes PyTorch available for .NET users. This package combines the TorchSharp package with LibTorch 2.10.0 CPU support.
Total Downloads
232.3K
232,332
Published
May 7, 2026
Latest stable version
Install
.NET CLI
dotnet add package TorchSharp-cpu --version 0.107.0
Package Manager Console
Install-Package TorchSharp-cpu -Version 0.107.0
PackageReference
<PackageReference Include="TorchSharp-cpu" Version="0.107.0" />
Frameworks
Dependencies
libtorch-cpu
[2.10.0, )
net8.0
TorchSharp
[0.107.0, )
net8.0
libtorch-cpu
[2.10.0, )
.NETStandard2.0
TorchSharp
[0.107.0, )
.NETStandard2.0
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.