TorchSharp 0.91.52214-preview-local-Release-20210902

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.91.52214-preview-local-Release-20210902
                    
NuGet\Install-Package TorchSharp -Version 0.91.52214-preview-local-Release-20210902
                    
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.91.52214-preview-local-Release-20210902" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TorchSharp" Version="0.91.52214-preview-local-Release-20210902" />
                    
Directory.Packages.props
<PackageReference Include="TorchSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TorchSharp --version 0.91.52214-preview-local-Release-20210902
                    
#r "nuget: TorchSharp, 0.91.52214-preview-local-Release-20210902"
                    
#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.
#addin nuget:?package=TorchSharp&version=0.91.52214-preview-local-Release-20210902&prerelease
                    
Install TorchSharp as a Cake Addin
#tool nuget:?package=TorchSharp&version=0.91.52214-preview-local-Release-20210902&prerelease
                    
Install TorchSharp as a Cake Tool

.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  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.  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 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 (26)

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 (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#
IntptrMax/YoloSharp
Train Yolo with C#
Version Downloads Last updated
0.105.0 14,943 4 months ago
0.104.0 2,861 4 months ago
0.103.1 8,677 6 months ago
0.103.0 9,630 8 months ago
0.102.8 1,419 9 months ago
0.102.7 28,363 9 months ago
0.102.6 5,766 10 months ago
0.102.5 3,358 6/7/2024
0.102.4 6,586 4/17/2024
0.102.3 5,257 3/26/2024
0.102.2 14,243 3/5/2024
0.102.1 2,940 3/5/2024
0.102.0 4,629 2/27/2024
0.101.6 4,913 2/9/2024
0.101.5 70,768 12/20/2023
0.101.4 3,877 12/15/2023
0.101.3 3,536 12/13/2023
0.101.2 6,307 11/14/2023
0.101.1 4,050 11/2/2023
0.101.0 3,683 11/2/2023
0.100.7 4,180 10/25/2023
0.100.6 3,898 10/19/2023
0.100.5 7,180 9/21/2023
0.100.4 9,888 8/14/2023
0.100.3 14,091 6/25/2023
0.100.2 6,031 6/14/2023
0.100.1 5,295 6/5/2023
0.100.0 7,031 5/15/2023
0.99.6 19,425 4/28/2023
0.99.5 33,236 4/26/2023
0.99.4 7,316 4/4/2023
0.99.3 10,318 2/22/2023
0.99.2 10,683 1/17/2023
0.99.1 10,262 11/30/2022
0.99.0 14,179 11/8/2022
0.98.3 14,186 11/2/2022
0.98.2 7,547 11/1/2022
0.98.1 94,166 10/13/2022
0.98.0 6,999 10/4/2022
0.97.6 7,834 9/16/2022
0.97.5 7,485 9/13/2022
0.97.4 6,769 9/12/2022
0.97.3 10,151 8/17/2022
0.97.2 7,713 8/9/2022
0.97.1 7,663 8/2/2022
0.97.0 7,776 7/20/2022
0.96.8 8,339 6/21/2022
0.96.7 9,843 6/2/2022
0.96.6 9,404 5/14/2022
0.96.5 8,811 4/19/2022
0.96.4 8,541 4/19/2022
0.96.3 8,233 2/23/2022
0.96.1 7,318 2/22/2022
0.96.0 31,931 2/3/2022
0.95.4 7,782 12/3/2021
0.95.3 7,945 11/15/2021
0.95.2 7,389 11/10/2021
0.95.1 6,494 11/6/2021
0.93.9 7,507 10/29/2021
0.93.8 8,040 10/25/2021
0.93.6 7,329 10/20/2021
0.93.5 18,012 10/8/2021
0.93.4 7,868 10/7/2021
0.93.3 8,189 10/6/2021
0.93.1 1,084 9/30/2021
0.93.0 1,139 9/29/2021
0.92.52220 1,158 9/14/2021
0.91.52719 4,350 7/24/2021
0.91.52681 7,462 6/23/2021
0.91.52680 1,211 6/22/2021
0.91.52672 1,245 6/22/2021
0.91.52666 1,282 6/21/2021
0.91.52661 1,062 6/20/2021
0.91.52660 1,068 6/20/2021
0.91.52621 1,056 6/16/2021
0.91.52604 1,631 5/27/2021
0.91.52577 1,138 5/10/2021
0.91.52573 1,042 5/10/2021
0.91.52518 6,981 3/25/2021
0.91.52511 1,073 3/25/2021
0.91.52508 1,044 3/25/2021
0.91.52506 1,044 3/25/2021
0.91.52502 1,083 3/25/2021
0.91.52475 1,101 3/24/2021
0.91.52458 2,032 3/23/2021
0.91.52214-preview-local-Re... 836 9/2/2021
0.9.52445 1,141 3/19/2021
0.3.52431 1,105 3/19/2021
0.3.52428 1,088 3/19/2021
0.3.52423 1,123 3/18/2021
0.3.52363 1,987 12/3/2020
0.3.52357 4,053 11/30/2020
0.3.52353 2,018 11/26/2020
0.3.52348 2,275 11/20/2020
0.3.52345 1,161 11/20/2020
0.3.52338 2,736 11/13/2020
0.3.52320 2,603 11/11/2020
0.3.52318 1,265 11/11/2020
0.3.52312 1,171 11/11/2020
0.3.52293 1,788 11/6/2020
0.3.52276 10,777 9/15/2020
0.3.52267 5,206 6/29/2020
0.3.52264 1,267 6/27/2020
0.3.52259 1,587 6/25/2020
0.3.52253 1,225 6/12/2020
0.3.52249 1,447 6/8/2020
0.3.52235 1,341 6/3/2020
0.3.52229 1,228 6/3/2020
0.3.52216 1,339 5/24/2020
0.3.52209 1,422 5/22/2020
0.2.0-preview-27930-2 1,264 7/31/2019
0.2.0-preview-27915-4 1,171 7/16/2019
0.2.0-preview-27912-2 1,094 7/12/2019
0.2.0-preview-27829-1 1,046 7/5/2019
0.1.0 3,691 11/13/2018