TorchSharp icon indicating copy to clipboard operation
TorchSharp copied to clipboard

A .NET library that provides access to the library that powers PyTorch.

Results 134 TorchSharp issues
Sort by recently updated
recently updated
newest added

Here, many people use torchsharp. The main reason is that they don't want to leave the C# environment, but they don't understand C, C++, either (even simple compilation is beyond...

Missing Feature

`long` is not necessarily 64 bits.

**Describe the bug** torchvision.transforms.functional.affine() throws "Can only index with tensors that are scalars (zero-dim) native IndexError" **To Reproduce** ```C# using F = TorchSharp.torchvision.transforms.functional; var img = F.affine( rand(new long[] {...

bug

**Describe the bug** In unity importing the latest version by using nuget unity it throws a nuget error **Error** ArgumentException: Invalid NuGet version: TorchSharp.0.105.1. Please check: https://learn.microsoft.com/en-us/nuget/concepts/package-versioning TorchSharp.torch.NormalizeNuGetVersion (System.String versionString)...

bug

The changelog says that NuGet version 0.105.2 of the package should be available since June, but the latest version on NuGet is 0.105.1. The new version adds support for CUDA...

question

# Add support for torch.export exported models (#1498) Implements functionality to load and execute PyTorch models exported via torch.export (.pt2 files), enabling .NET applications to run ExportedProgram models as the...

Hi TorchSharp Team, First, thank you for all the incredible work on this library. TorchSharp has allowed our team to develop ML tasks with ease thanks to all of your...

question

TorchSharp currently lacks support for loading and executing PyTorch models exported via `torch.export` (ExportedProgram format, `.pt2` files). While TorchSharp supports TorchScript (JIT) models via `torch.jit.load()`, it cannot load the newer...