TorchSharp 0.93.9

There is a newer version of this package available.
See the version list below for details.
dotnet add package TorchSharp --version 0.93.9
NuGet\Install-Package TorchSharp -Version 0.93.9
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.93.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TorchSharp --version 0.93.9
#r "nuget: TorchSharp, 0.93.9"
#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.93.9

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

.NET Bindings for Torch. Requires reference to one of libtorch-cpu, libtorch-cuda-11.1, libtorch-cuda-11.1-win-x64 or libtorch-cuda-11.1-linux-x64 version 1.9.0.11 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.2.1 CUDA 12.1 support for Windows.

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/

Microsoft.ML.TorchSharp The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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

TorchSharp-cuda-linux

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

TorchSharp-cpu

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

GitHub repositories (2)

Showing the top 2 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#
Version Downloads Last updated
0.102.3 206 3/26/2024
0.102.2 2,175 3/5/2024
0.102.1 659 3/5/2024
0.102.0 1,019 2/27/2024
0.101.6 1,951 2/9/2024
0.101.5 11,718 12/20/2023
0.101.4 1,669 12/15/2023
0.101.3 1,440 12/13/2023
0.101.2 3,522 11/14/2023
0.101.1 1,919 11/2/2023
0.101.0 1,530 11/2/2023
0.100.7 1,839 10/25/2023
0.100.6 1,640 10/19/2023
0.100.5 4,504 9/21/2023
0.100.4 6,487 8/14/2023
0.100.3 7,191 6/25/2023
0.100.2 3,482 6/14/2023
0.100.1 3,127 6/5/2023
0.100.0 4,807 5/15/2023
0.99.6 8,942 4/28/2023
0.99.5 21,242 4/26/2023
0.99.4 5,610 4/4/2023
0.99.3 8,396 2/22/2023
0.99.2 8,219 1/17/2023
0.99.1 7,620 11/30/2022
0.99.0 11,987 11/8/2022
0.98.3 9,993 11/2/2022
0.98.2 5,896 11/1/2022
0.98.1 74,715 10/13/2022
0.98.0 5,585 10/4/2022
0.97.6 6,068 9/16/2022
0.97.5 5,803 9/13/2022
0.97.4 5,058 9/12/2022
0.97.3 8,313 8/17/2022
0.97.2 6,057 8/9/2022
0.97.1 5,863 8/2/2022
0.97.0 6,125 7/20/2022
0.96.8 6,593 6/21/2022
0.96.7 7,813 6/2/2022
0.96.6 7,484 5/14/2022
0.96.5 7,482 4/19/2022
0.96.4 6,644 4/19/2022
0.96.3 6,783 2/23/2022
0.96.1 5,901 2/22/2022
0.96.0 22,958 2/3/2022
0.95.4 6,003 12/3/2021
0.95.3 6,543 11/15/2021
0.95.2 5,656 11/10/2021
0.95.1 5,149 11/6/2021
0.93.9 6,081 10/29/2021
0.93.8 6,392 10/25/2021
0.93.6 5,892 10/20/2021
0.93.5 13,988 10/8/2021
0.93.4 6,345 10/7/2021
0.93.3 6,351 10/6/2021
0.93.1 980 9/30/2021
0.93.0 1,020 9/29/2021
0.92.52220 1,022 9/14/2021
0.91.52719 3,801 7/24/2021
0.91.52681 6,345 6/23/2021
0.91.52680 1,076 6/22/2021
0.91.52672 1,104 6/22/2021
0.91.52666 1,107 6/21/2021
0.91.52661 961 6/20/2021
0.91.52660 965 6/20/2021
0.91.52621 956 6/16/2021
0.91.52604 1,136 5/27/2021
0.91.52577 1,031 5/10/2021
0.91.52573 932 5/10/2021
0.91.52518 5,875 3/25/2021
0.91.52511 965 3/25/2021
0.91.52508 929 3/25/2021
0.91.52506 942 3/25/2021
0.91.52502 977 3/25/2021
0.91.52475 964 3/24/2021
0.91.52458 1,780 3/23/2021
0.91.52214-preview-local-Re... 736 9/2/2021
0.9.52445 1,019 3/19/2021
0.3.52431 994 3/19/2021
0.3.52428 949 3/19/2021
0.3.52423 1,020 3/18/2021
0.3.52363 1,732 12/3/2020
0.3.52357 3,470 11/30/2020
0.3.52353 1,751 11/26/2020
0.3.52348 1,959 11/20/2020
0.3.52345 1,048 11/20/2020
0.3.52338 2,294 11/13/2020
0.3.52320 2,230 11/11/2020
0.3.52318 1,097 11/11/2020
0.3.52312 1,058 11/11/2020
0.3.52293 1,580 11/6/2020
0.3.52276 9,510 9/15/2020
0.3.52267 4,618 6/29/2020
0.3.52264 1,144 6/27/2020
0.3.52259 1,463 6/25/2020
0.3.52253 1,112 6/12/2020
0.3.52249 1,339 6/8/2020
0.3.52235 1,221 6/3/2020
0.3.52229 1,108 6/3/2020
0.3.52216 1,219 5/24/2020
0.3.52209 1,279 5/22/2020
0.2.0-preview-27930-2 1,146 7/31/2019
0.2.0-preview-27915-4 1,047 7/16/2019
0.2.0-preview-27912-2 980 7/12/2019
0.2.0-preview-27829-1 933 7/5/2019
0.1.0 2,863 11/13/2018