diff --git a/.gitignore b/.gitignore index 206b0dac..e692a8b9 100644 --- a/.gitignore +++ b/.gitignore @@ -351,4 +351,5 @@ site/ **/appsettings.Local.json /LLama/runtimes/deps /LLama/runtimes/deps.zip -/LLama/runtimes/release_id.txt \ No newline at end of file +/LLama/runtimes/release_id.txt +/Llama.Mobile/Resources/Raw diff --git a/LLama/runtimes/build/LLamaSharp.Backend.Cpu.Android.nuspec b/LLama/runtimes/build/LLamaSharp.Backend.Cpu.Android.nuspec index 2c538b3e..1bea6a4d 100644 --- a/LLama/runtimes/build/LLamaSharp.Backend.Cpu.Android.nuspec +++ b/LLama/runtimes/build/LLamaSharp.Backend.Cpu.Android.nuspec @@ -18,17 +18,17 @@ - - - - - + + + + + - - - - - + + + + + diff --git a/LLama/runtimes/build/LLamaSharp.Backend.Cpu.nuspec b/LLama/runtimes/build/LLamaSharp.Backend.Cpu.nuspec index 8a9b19ed..73fbdff8 100644 --- a/LLama/runtimes/build/LLamaSharp.Backend.Cpu.nuspec +++ b/LLama/runtimes/build/LLamaSharp.Backend.Cpu.nuspec @@ -18,106 +18,106 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LLama/runtimes/build/LLamaSharp.Backend.Cuda12.Linux.nuspec b/LLama/runtimes/build/LLamaSharp.Backend.Cuda12.Linux.nuspec index 409327d9..34111357 100644 --- a/LLama/runtimes/build/LLamaSharp.Backend.Cuda12.Linux.nuspec +++ b/LLama/runtimes/build/LLamaSharp.Backend.Cuda12.Linux.nuspec @@ -22,12 +22,12 @@ - - - + + + - - + + diff --git a/LLama/runtimes/build/LLamaSharp.Backend.Cuda12.Windows.nuspec b/LLama/runtimes/build/LLamaSharp.Backend.Cuda12.Windows.nuspec index 84c7773c..db15e711 100644 --- a/LLama/runtimes/build/LLamaSharp.Backend.Cuda12.Windows.nuspec +++ b/LLama/runtimes/build/LLamaSharp.Backend.Cuda12.Windows.nuspec @@ -22,12 +22,12 @@ - - - + + + - - + + diff --git a/LLama/runtimes/build/LLamaSharp.Backend.Vulkan.Linux.nuspec b/LLama/runtimes/build/LLamaSharp.Backend.Vulkan.Linux.nuspec index 5204fe7c..0e506570 100644 --- a/LLama/runtimes/build/LLamaSharp.Backend.Vulkan.Linux.nuspec +++ b/LLama/runtimes/build/LLamaSharp.Backend.Vulkan.Linux.nuspec @@ -22,12 +22,12 @@ - - - + + + - - + + diff --git a/LLama/runtimes/build/LLamaSharp.Backend.Vulkan.Windows.nuspec b/LLama/runtimes/build/LLamaSharp.Backend.Vulkan.Windows.nuspec index 7d86e2a0..59b75380 100644 --- a/LLama/runtimes/build/LLamaSharp.Backend.Vulkan.Windows.nuspec +++ b/LLama/runtimes/build/LLamaSharp.Backend.Vulkan.Windows.nuspec @@ -22,12 +22,12 @@ - - - + + + - - + + diff --git a/LLama/runtimes/build/LLamaSharpBackend.props b/LLama/runtimes/build/LLamaSharpBackend.props index 49c95682..cd5dc802 100644 --- a/LLama/runtimes/build/LLamaSharpBackend.props +++ b/LLama/runtimes/build/LLamaSharpBackend.props @@ -1,73 +1,42 @@ - - - - PreserveNewest - false - %(RecursiveDir)%(Filename)%(Extension) - - - - - - - runtimes\android-x86\native\libllama.so - x86 - - - runtimes\android-x86\native\libggml.so - x86 - - - runtimes\android-x86\native\libggml-base.so - x86 - - - runtimes\android-x86\native\libggml-cpu.so - x86 - - - runtimes\android-x86\native\libmtmd.so - x86 - + + + PreserveNewest + false + runtimes\%(RecursiveDir)%(Filename)%(Extension) + + + Include="$(MSBuildThisFileDirectory)..\..\LLamaSharpRuntimes\android-x86_64\native\libllama.so"> lib\x86_64\libllama.so x86_64 + Include="$(MSBuildThisFileDirectory)..\..\LLamaSharpRuntimes\android-x86_64\native\libggml.so"> lib\x86_64\libggml.so x86_64 + Include="$(MSBuildThisFileDirectory)..\..\LLamaSharpRuntimes\android-x86_64\native\libggml-base.so"> lib\x86_64\libggml-base.so x86_64 + Include="$(MSBuildThisFileDirectory)..\..\LLamaSharpRuntimes\android-x86_64\native\libggml-cpu.so"> lib\x86_64\libggml-cpu.so x86_64 + Include="$(MSBuildThisFileDirectory)..\..\LLamaSharpRuntimes\android-x86_64\native\libmtmd.so"> lib\x86_64\libmtmd.so x86_64 @@ -76,27 +45,27 @@ + Include="$(MSBuildThisFileDirectory)..\..\LLamaSharpRuntimes\android-arm64-v8a\native\libllama.so"> lib\arm64-v8a\libllama.so arm64-v8a + Include="$(MSBuildThisFileDirectory)..\..\LLamaSharpRuntimes\android-arm64-v8a\native\libggml.so"> lib\arm64-v8a\libggml.so arm64-v8a + Include="$(MSBuildThisFileDirectory)..\..\LLamaSharpRuntimes\android-arm64-v8a\native\libggml-base.so"> lib\arm64-v8a\libggml-base.so arm64-v8a + Include="$(MSBuildThisFileDirectory)..\..\LLamaSharpRuntimes\android-arm64-v8a\native\libggml-cpu.so"> lib\arm64-v8a\libggml-cpu.so arm64-v8a + Include="$(MSBuildThisFileDirectory)..\..\LLamaSharpRuntimes\android-arm64-v8a\native\libmtmd.so"> lib\arm64-v8a\libmtmd.so arm64-v8a