TorchSharp 0.105.2

dotnet add package TorchSharp --version 0.105.2
                    
NuGet\Install-Package TorchSharp -Version 0.105.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.105.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TorchSharp" Version="0.105.2" />
                    
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.105.2
                    
#r "nuget: TorchSharp, 0.105.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.
#:package TorchSharp@0.105.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TorchSharp&version=0.105.2
                    
Install as a Cake Addin
#tool nuget:?package=TorchSharp&version=0.105.2
                    
Install as a Cake Tool

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 (34)

Showing the top 5 NuGet packages that depend on TorchSharp:

Package Downloads
Microsoft.ML.AutoML

ML.NET AutoML: Optimizes an ML pipeline for your dataset, by automatically locating the best feature engineering, model, and hyperparameters

Microsoft.ML.CodeGenerator

ML.NET Code Generator

mzLib

Library for mass spectrometry projects.

Microsoft.ML.TorchSharp

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

TorchSharp-cuda-windows

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

GitHub repositories (4)

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

Repository Stars
babalae/better-genshin-impact
📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集/挖矿/锄地 | 一条龙 | 全连音游 - UI Automation Testing Tools For Genshin Impact
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.2 3,463 12/11/2025
0.105.1 35,065 7/2/2025
0.105.0 39,498 12/12/2024
0.104.0 5,749 12/5/2024
0.103.1 10,653 10/24/2024
0.103.0 10,994 8/6/2024
0.102.8 1,880 8/1/2024
0.102.7 89,711 7/17/2024
0.102.6 6,822 6/20/2024
0.102.5 3,908 6/7/2024
0.102.4 8,674 4/17/2024
0.102.3 6,675 3/26/2024
0.102.2 16,181 3/5/2024
0.102.1 3,306 3/5/2024
0.102.0 6,207 2/27/2024
0.101.6 5,321 2/9/2024
0.101.5 121,077 12/20/2023
0.101.4 4,455 12/15/2023
0.101.3 3,756 12/13/2023
0.101.2 6,777 11/14/2023
0.101.1 4,531 11/2/2023
0.101.0 3,967 11/2/2023
0.100.7 4,682 10/25/2023
0.100.6 4,143 10/19/2023
0.100.5 7,518 9/21/2023
0.100.4 10,326 8/14/2023
0.100.3 18,339 6/25/2023
0.100.2 6,551 6/14/2023
0.100.1 5,782 6/5/2023
0.100.0 7,701 5/15/2023
0.99.6 22,749 4/28/2023
0.99.5 37,511 4/26/2023
0.99.4 7,556 4/4/2023
0.99.3 10,887 2/22/2023
0.99.2 11,138 1/17/2023
0.99.1 11,002 11/30/2022
0.99.0 16,877 11/8/2022
0.98.3 14,921 11/2/2022
0.98.2 7,889 11/1/2022
0.98.1 107,479 10/13/2022
0.98.0 7,252 10/4/2022
0.97.6 8,065 9/16/2022
0.97.5 7,771 9/13/2022
0.97.4 7,002 9/12/2022
0.97.3 10,457 8/17/2022
0.97.2 7,968 8/9/2022
0.97.1 7,899 8/2/2022
0.97.0 8,012 7/20/2022
0.96.8 8,566 6/21/2022
0.96.7 10,139 6/2/2022
0.96.6 9,756 5/14/2022
0.96.5 9,099 4/19/2022
0.96.4 8,784 4/19/2022
0.96.3 8,473 2/23/2022
0.96.1 7,552 2/22/2022
0.96.0 34,209 2/3/2022
0.95.4 8,040 12/3/2021
0.95.3 8,199 11/15/2021
0.95.2 7,609 11/10/2021
0.95.1 6,710 11/6/2021
0.93.9 7,758 10/29/2021
0.93.8 8,270 10/25/2021
0.93.6 7,565 10/20/2021
0.93.5 18,704 10/8/2021
0.93.4 8,154 10/7/2021
0.93.3 8,573 10/6/2021
0.93.1 1,251 9/30/2021
0.93.0 1,338 9/29/2021
0.92.52220 1,328 9/14/2021
0.91.52719 5,279 7/24/2021
0.91.52681 9,193 6/23/2021
0.91.52680 1,419 6/22/2021
0.91.52672 1,437 6/22/2021
0.91.52666 1,504 6/21/2021
0.91.52661 1,231 6/20/2021
0.91.52660 1,236 6/20/2021
0.91.52621 1,244 6/16/2021
0.91.52604 2,061 5/27/2021
0.91.52577 1,306 5/10/2021
0.91.52573 1,212 5/10/2021
0.91.52518 8,725 3/25/2021
0.91.52511 1,236 3/25/2021
0.91.52508 1,211 3/25/2021
0.91.52506 1,218 3/25/2021
0.91.52502 1,250 3/25/2021
0.91.52475 1,258 3/24/2021
0.91.52458 2,516 3/23/2021
0.91.52214-preview-local-Re... 1,014 9/2/2021
0.9.52445 1,325 3/19/2021
0.3.52431 1,281 3/19/2021
0.3.52428 1,254 3/19/2021
0.3.52423 1,319 3/18/2021
0.3.52363 2,429 12/3/2020
0.3.52357 5,018 11/30/2020
0.3.52353 2,404 11/26/2020
0.3.52348 2,795 11/20/2020
0.3.52345 1,351 11/20/2020
0.3.52338 3,367 11/13/2020
0.3.52320 3,185 11/11/2020
0.3.52318 1,482 11/11/2020
0.3.52312 1,367 11/11/2020
0.3.52293 2,103 11/6/2020
0.3.52276 13,008 9/15/2020
0.3.52267 6,317 6/29/2020
0.3.52264 1,468 6/27/2020
0.3.52259 1,775 6/25/2020
0.3.52253 1,395 6/12/2020
0.3.52249 1,625 6/8/2020
0.3.52235 1,537 6/3/2020
0.3.52229 1,415 6/3/2020
0.3.52216 1,503 5/24/2020
0.3.52209 1,614 5/22/2020
0.2.0-preview-27930-2 1,484 7/31/2019
0.2.0-preview-27915-4 1,356 7/16/2019
0.2.0-preview-27912-2 1,288 7/12/2019
0.2.0-preview-27829-1 1,232 7/5/2019
0.1.0 4,109 11/13/2018