TorchSharp 0.95.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package TorchSharp --version 0.95.1                
NuGet\Install-Package TorchSharp -Version 0.95.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TorchSharp" Version="0.95.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TorchSharp --version 0.95.1                
#r "nuget: TorchSharp, 0.95.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TorchSharp as a Cake Addin
#addin nuget:?package=TorchSharp&version=0.95.1

// Install TorchSharp as a Cake Tool
#tool nuget:?package=TorchSharp&version=0.95.1                

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

NuGet packages (15)

Showing the top 5 NuGet packages that depend on TorchSharp:

Package Downloads
TorchSharp-cuda-windows

TorchSharp makes PyTorch available for .NET users. This package combines the TorchSharp package with LibTorch 2.4.0 CUDA 12.1 support for Windows.

Microsoft.ML.TorchSharp

Microsoft.ML.TorchSharp contains ML.NET integration of TorchSharp.

DiffSharp.Backends.Torch

DiffSharp is a tensor library with support for differentiable programming. It is designed for use in machine learning, probabilistic programming, optimization and other domains. For documentation and installation instructions visit: https://diffsharp.github.io/

TorchSharp-cuda-linux

TorchSharp makes PyTorch available for .NET users. This package combines the TorchSharp package with LibTorch 2.4.0 CUDA 12.1 support for Linux.

TorchSharp-cpu

TorchSharp makes PyTorch available for .NET users. This package combines the TorchSharp package with LibTorch 2.4.0 CPU support.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on TorchSharp:

Repository Stars
dotnet/machinelearning
ML.NET is an open source and cross-platform machine learning framework for .NET.
uxmal/pytocs
Converts Python source to C#
dotnet/ai-samples
Version Downloads Last updated
0.103.0 1,400 8/6/2024
0.102.8 468 8/1/2024
0.102.7 1,860 7/17/2024
0.102.6 3,063 6/20/2024
0.102.5 2,262 6/7/2024
0.102.4 4,627 4/17/2024
0.102.3 3,679 3/26/2024
0.102.2 5,709 3/5/2024
0.102.1 2,024 3/5/2024
0.102.0 2,962 2/27/2024
0.101.6 3,784 2/9/2024
0.101.5 35,343 12/20/2023
0.101.4 3,033 12/15/2023
0.101.3 2,701 12/13/2023
0.101.2 5,169 11/14/2023
0.101.1 3,195 11/2/2023
0.101.0 2,909 11/2/2023
0.100.7 3,165 10/25/2023
0.100.6 3,042 10/19/2023
0.100.5 6,123 9/21/2023
0.100.4 9,036 8/14/2023
0.100.3 9,643 6/25/2023
0.100.2 5,100 6/14/2023
0.100.1 4,308 6/5/2023
0.100.0 5,753 5/15/2023
0.99.6 12,010 4/28/2023
0.99.5 26,684 4/26/2023
0.99.4 6,549 4/4/2023
0.99.3 9,378 2/22/2023
0.99.2 9,369 1/17/2023
0.99.1 9,047 11/30/2022
0.99.0 13,115 11/8/2022
0.98.3 12,365 11/2/2022
0.98.2 6,881 11/1/2022
0.98.1 81,532 10/13/2022
0.98.0 6,541 10/4/2022
0.97.6 7,043 9/16/2022
0.97.5 6,767 9/13/2022
0.97.4 5,973 9/12/2022
0.97.3 9,451 8/17/2022
0.97.2 6,969 8/9/2022
0.97.1 6,826 8/2/2022
0.97.0 6,984 7/20/2022
0.96.8 7,570 6/21/2022
0.96.7 9,061 6/2/2022
0.96.6 8,524 5/14/2022
0.96.5 8,293 4/19/2022
0.96.4 7,665 4/19/2022
0.96.3 7,570 2/23/2022
0.96.1 6,724 2/22/2022
0.96.0 26,423 2/3/2022
0.95.4 6,869 12/3/2021
0.95.3 7,287 11/15/2021
0.95.2 6,516 11/10/2021
0.95.1 5,880 11/6/2021
0.93.9 6,794 10/29/2021
0.93.8 7,188 10/25/2021
0.93.6 6,666 10/20/2021
0.93.5 15,852 10/8/2021
0.93.4 7,123 10/7/2021
0.93.3 7,196 10/6/2021
0.93.1 1,023 9/30/2021
0.93.0 1,078 9/29/2021
0.92.52220 1,076 9/14/2021
0.91.52719 3,868 7/24/2021
0.91.52681 6,450 6/23/2021
0.91.52680 1,128 6/22/2021
0.91.52672 1,146 6/22/2021
0.91.52666 1,159 6/21/2021
0.91.52661 1,006 6/20/2021
0.91.52660 1,012 6/20/2021
0.91.52621 1,000 6/16/2021
0.91.52604 1,313 5/27/2021
0.91.52577 1,090 5/10/2021
0.91.52573 992 5/10/2021
0.91.52518 5,930 3/25/2021
0.91.52511 1,015 3/25/2021
0.91.52508 982 3/25/2021
0.91.52506 996 3/25/2021
0.91.52502 1,027 3/25/2021
0.91.52475 1,013 3/24/2021
0.91.52458 1,835 3/23/2021
0.91.52214-preview-local-Re... 790 9/2/2021
0.9.52445 1,073 3/19/2021
0.3.52431 1,050 3/19/2021
0.3.52428 999 3/19/2021
0.3.52423 1,072 3/18/2021
0.3.52363 1,786 12/3/2020
0.3.52357 3,530 11/30/2020
0.3.52353 1,809 11/26/2020
0.3.52348 2,008 11/20/2020
0.3.52345 1,109 11/20/2020
0.3.52338 2,365 11/13/2020
0.3.52320 2,290 11/11/2020
0.3.52318 1,166 11/11/2020
0.3.52312 1,119 11/11/2020
0.3.52293 1,634 11/6/2020
0.3.52276 9,588 9/15/2020
0.3.52267 4,675 6/29/2020
0.3.52264 1,199 6/27/2020
0.3.52259 1,524 6/25/2020
0.3.52253 1,169 6/12/2020
0.3.52249 1,393 6/8/2020
0.3.52235 1,279 6/3/2020
0.3.52229 1,169 6/3/2020
0.3.52216 1,273 5/24/2020
0.3.52209 1,336 5/22/2020
0.2.0-preview-27930-2 1,211 7/31/2019
0.2.0-preview-27915-4 1,105 7/16/2019
0.2.0-preview-27912-2 1,039 7/12/2019
0.2.0-preview-27829-1 989 7/5/2019
0.1.0 3,249 11/13/2018