Skip to main content
libtorch-cpu package icon

libtorch-cpu

TorchSharp makes PyTorch available for .NET users. libtorch-cpu contains components of the PyTorch LibTorch library version 2.0.1 redistributed as a NuGet package with added support for TorchSharp.

Total Downloads
259.0K
258,967
Published
May 15, 2023
Latest stable version

Install

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

Frameworks

.NETStandard2.0

Dependencies

libtorch-cpu-linux-x64
.NETStandard2.0
[2.0.1.1, )
libtorch-cpu-osx-x64
.NETStandard2.0
[2.0.1.1, )
libtorch-cpu-win-x64
.NETStandard2.0
[2.0.1.1, )

Adoption guide

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

Compatibility metadata lists 1 target framework; 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.