Browse Source

debug

pull/720/head
Rinne 2 years ago
parent
commit
c07c4ccf28
No known key found for this signature in database GPG Key ID: E86D01E1809BD23E
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      .github/workflows/benchmark.yml
  2. +1
    -1
      LLama.Benchmark/LLama.Benchmark.csproj

+ 3
- 1
.github/workflows/benchmark.yml View File

@@ -62,7 +62,9 @@ jobs:
- name: Restore packages
run: dotnet restore LLamaSharp.sln
- name: Build
run: dotnet build LLamaSharp.sln -c release --no-restore
run: |
dotnet build LLama/LLamaSharp.csproj -c release --no-restore
dotnet build LLama.Benchmark/LLama.Benchmark.csproj -c release --no-restore
- name: Run benchmark test
run: dotnet run LLama.Benchmark -c release
- name: Upload artifacts


+ 1
- 1
LLama.Benchmark/LLama.Benchmark.csproj View File

@@ -14,7 +14,7 @@
</ItemGroup>

<Target Name="DownloadContentFiles" BeforeTargets="Build">
<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>
<DownloadFile SourceUrl="https://hf-mirror.com/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>
</Target>

<ItemGroup>


Loading…
Cancel
Save