Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Invalid NuGet version: TorchSharp.0.105.1. #1501

Open
Labels
bugSomething isn't working
@Gabri94x

Description

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) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch.LoadNativeBackend (System.Boolean useCudaBackend, System.Text.StringBuilder& trace) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch.InitializeDeviceType (TorchSharp.DeviceType deviceType) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch.InitializeDevice (TorchSharp.torch+Device device) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch..cctor () (at <1364d80b19784a0cac9452716712fa22>:0)
Rethrow as TypeInitializationException: The type initializer for 'TorchSharp.torch' threw an exception.
TorchSharp.torch+cuda.is_available () (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharpOnGuiDemo.Start () (at Assets/_project/01 Demo/Scripts/TorchSharpOnGuiDemo.cs:20)

As you import the TorchSharp-cpu or cuda you it fails to load something related to SkiaSharp
However by disabling the dll load of SkiaSharp it starts and throw the error above

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /