We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea6b12 commit 1f523b6Copy full SHA for 1f523b6
1 file changed
Runtime/LlamaLib/LlamaLib.cs
@@ -751,10 +751,7 @@ private string GetRuntimeLibraryPath()
751
private string[] GetAvailableArchitectures(bool gpu)
752
{
753
string architecturesString = Marshal.PtrToStringAnsi(Available_Architectures(gpu));
754
- if (string.IsNullOrEmpty(architecturesString))
755
- {
756
- throw new InvalidOperationException("No architectures available for the specified GPU setting.");
757
- }
+ if (string.IsNullOrEmpty(architecturesString)) return new string[0];
758
759
string[] librariesOptions = architecturesString.Split(',');
760
List<string> libraries = new List<string>();
0 commit comments