TorchSharp 0.2.0-preview-27930-2

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

// Install TorchSharp as a Cake Tool
#tool nuget:?package=TorchSharp&version=0.2.0-preview-27930-2&prerelease                

.NET Bindings for Torch.

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (23)

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.5.1 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.5.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.5.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.105.0 4,961 12/12/2024
0.104.0 1,985 12/5/2024
0.103.1 6,556 10/24/2024
0.103.0 8,173 8/6/2024
0.102.8 1,326 8/1/2024
0.102.7 12,865 7/17/2024
0.102.6 5,372 6/20/2024
0.102.5 3,225 6/7/2024
0.102.4 6,010 4/17/2024
0.102.3 5,148 3/26/2024
0.102.2 12,319 3/5/2024
0.102.1 2,852 3/5/2024
0.102.0 4,200 2/27/2024
0.101.6 4,782 2/9/2024
0.101.5 61,701 12/20/2023
0.101.4 3,803 12/15/2023
0.101.3 3,474 12/13/2023
0.101.2 6,214 11/14/2023
0.101.1 3,949 11/2/2023
0.101.0 3,612 11/2/2023
0.100.7 4,006 10/25/2023
0.100.6 3,852 10/19/2023
0.100.5 7,035 9/21/2023
0.100.4 9,834 8/14/2023
0.100.3 11,923 6/25/2023
0.100.2 5,895 6/14/2023
0.100.1 5,115 6/5/2023
0.100.0 6,723 5/15/2023
0.99.6 15,752 4/28/2023
0.99.5 32,031 4/26/2023
0.99.4 7,170 4/4/2023
0.99.3 10,127 2/22/2023
0.99.2 10,407 1/17/2023
0.99.1 10,018 11/30/2022
0.99.0 13,955 11/8/2022
0.98.3 13,641 11/2/2022
0.98.2 7,501 11/1/2022
0.98.1 91,546 10/13/2022
0.98.0 6,931 10/4/2022
0.97.6 7,689 9/16/2022
0.97.5 7,334 9/13/2022
0.97.4 6,621 9/12/2022
0.97.3 10,048 8/17/2022
0.97.2 7,554 8/9/2022
0.97.1 7,478 8/2/2022
0.97.0 7,644 7/20/2022
0.96.8 8,269 6/21/2022
0.96.7 9,682 6/2/2022
0.96.6 9,237 5/14/2022
0.96.5 8,702 4/19/2022
0.96.4 8,376 4/19/2022
0.96.3 8,124 2/23/2022
0.96.1 7,237 2/22/2022
0.96.0 31,359 2/3/2022
0.95.4 7,564 12/3/2021
0.95.3 7,826 11/15/2021
0.95.2 7,210 11/10/2021
0.95.1 6,446 11/6/2021
0.93.9 7,366 10/29/2021
0.93.8 7,863 10/25/2021
0.93.6 7,208 10/20/2021
0.93.5 17,676 10/8/2021
0.93.4 7,744 10/7/2021
0.93.3 7,960 10/6/2021
0.93.1 1,067 9/30/2021
0.93.0 1,122 9/29/2021
0.92.52220 1,117 9/14/2021
0.91.52719 4,328 7/24/2021
0.91.52681 7,427 6/23/2021
0.91.52680 1,195 6/22/2021
0.91.52672 1,227 6/22/2021
0.91.52666 1,267 6/21/2021
0.91.52661 1,045 6/20/2021
0.91.52660 1,053 6/20/2021
0.91.52621 1,040 6/16/2021
0.91.52604 1,426 5/27/2021
0.91.52577 1,121 5/10/2021
0.91.52573 1,027 5/10/2021
0.91.52518 6,960 3/25/2021
0.91.52511 1,053 3/25/2021
0.91.52508 1,025 3/25/2021
0.91.52506 1,024 3/25/2021
0.91.52502 1,063 3/25/2021
0.91.52475 1,082 3/24/2021
0.91.52458 2,007 3/23/2021
0.91.52214-preview-local-Re... 819 9/2/2021
0.9.52445 1,121 3/19/2021
0.3.52431 1,085 3/19/2021
0.3.52428 1,069 3/19/2021
0.3.52423 1,103 3/18/2021
0.3.52363 1,963 12/3/2020
0.3.52357 4,030 11/30/2020
0.3.52353 1,994 11/26/2020
0.3.52348 2,241 11/20/2020
0.3.52345 1,138 11/20/2020
0.3.52338 2,711 11/13/2020
0.3.52320 2,532 11/11/2020
0.3.52318 1,195 11/11/2020
0.3.52312 1,146 11/11/2020
0.3.52293 1,765 11/6/2020
0.3.52276 10,739 9/15/2020
0.3.52267 5,182 6/29/2020
0.3.52264 1,243 6/27/2020
0.3.52259 1,562 6/25/2020
0.3.52253 1,202 6/12/2020
0.3.52249 1,423 6/8/2020
0.3.52235 1,314 6/3/2020
0.3.52229 1,203 6/3/2020
0.3.52216 1,315 5/24/2020
0.3.52209 1,395 5/22/2020
0.2.0-preview-27930-2 1,238 7/31/2019
0.2.0-preview-27915-4 1,145 7/16/2019
0.2.0-preview-27912-2 1,067 7/12/2019
0.2.0-preview-27829-1 1,020 7/5/2019
0.1.0 3,526 11/13/2018