You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trace.AppendLine($" Failed to load native component {name} relative to {assembly.Location}: {exn.Message}");
The current implementation makes it really hard to debug what is happening when undocumented OS-specific exceptions thrown by the TryLoad method bubble up to surface.
The text was updated successfully, but these errors were encountered:
This is happening here:
TorchSharp/src/TorchSharp/Torch.cs
Line 63 in 3d01e74
Instead, it should follow the pattern from
TryLoadNativeLibraryByName
just below:TorchSharp/src/TorchSharp/Torch.cs
Line 78 in 3d01e74
The current implementation makes it really hard to debug what is happening when undocumented OS-specific exceptions thrown by the
TryLoad
method bubble up to surface.The text was updated successfully, but these errors were encountered: