You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

LLama.Unittest.csproj 2.8 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <Import Project="..\LLama\LLamaSharp.Runtime.targets" />
  3. <PropertyGroup>
  4. <TargetFramework>net8.0</TargetFramework>
  5. <RootNamespace>LLama.Unittest</RootNamespace>
  6. <ImplicitUsings>enable</ImplicitUsings>
  7. <Platforms>AnyCPU;x64</Platforms>
  8. <Nullable>enable</Nullable>
  9. <IsPackable>false</IsPackable>
  10. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  11. </PropertyGroup>
  12. <ItemGroup>
  13. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
  14. <PackageReference Include="System.Linq.Async" Version="6.0.1" />
  15. <PackageReference Include="xunit" Version="2.7.0" />
  16. <PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
  17. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  18. <PrivateAssets>all</PrivateAssets>
  19. </PackageReference>
  20. <PackageReference Include="coverlet.collector" Version="6.0.1">
  21. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  22. <PrivateAssets>all</PrivateAssets>
  23. </PackageReference>
  24. </ItemGroup>
  25. <Target Name="DownloadContentFiles" BeforeTargets="Build">
  26. <DownloadFile SourceUrl="https://huggingface.co/TheBloke/Llama-2-7b-Chat-GGUF/resolve/main/llama-2-7b-chat.Q3_K_S.gguf" DestinationFolder="Models" DestinationFileName="llama-2-7b-chat.Q3_K_S.gguf" SkipUnchangedFiles="true"></DownloadFile>
  27. <DownloadFile SourceUrl="https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/resolve/main/llava-v1.6-mistral-7b.Q3_K_XS.gguf" DestinationFolder="Models" DestinationFileName="llava-v1.6-mistral-7b.Q3_K_XS.gguf" SkipUnchangedFiles="true"></DownloadFile>
  28. <DownloadFile SourceUrl="https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/resolve/main/mmproj-model-f16.gguf" DestinationFolder="Models" DestinationFileName="mmproj-model-f16.gguf" SkipUnchangedFiles="true"></DownloadFile>
  29. </Target>
  30. <ItemGroup>
  31. <ProjectReference Include="..\LLama.SemanticKernel\LLamaSharp.SemanticKernel.csproj" />
  32. <ProjectReference Include="..\LLama\LLamaSharp.csproj" />
  33. </ItemGroup>
  34. <ItemGroup>
  35. <Folder Include="Models\" />
  36. </ItemGroup>
  37. <ItemGroup>
  38. <None Update="Models\llama-2-7b-chat.Q3_K_S.gguf">
  39. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  40. </None>
  41. <None Update="Models\llava-v1.6-mistral-7b.Q3_K_XS.gguf">
  42. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  43. </None>
  44. <None Update="Models\mmproj-model-f16.gguf">
  45. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  46. </None>
  47. <None Update="Models\extreme-ironing-taxi-610x427.jpg">
  48. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  49. </None>
  50. </ItemGroup>
  51. </Project>