Browse Source

debug

pull/720/head
Rinne 1 year ago
parent
commit
4d52e8af08
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      .github/workflows/benchmark.yml

+ 2
- 2
.github/workflows/benchmark.yml View File

@@ -27,7 +27,7 @@ jobs:
container: container:
image: ${{ matrix.image }} image: ${{ matrix.image }}
env: env:
LLAMA_BENCHMARK_MODEL_DIR: ${{ matrix.modeldir }}
LLAMA_BENCHMARK_MODEL_DIR: /llamasharp_ci/models_benchmark
ports: ports:
- 80 - 80
volumes: volumes:
@@ -74,7 +74,7 @@ jobs:
dotnet build LLama/LLamaSharp.csproj -c release --no-restore dotnet build LLama/LLamaSharp.csproj -c release --no-restore
dotnet build LLama.Benchmark/LLama.Benchmark.csproj -c release --no-restore dotnet build LLama.Benchmark/LLama.Benchmark.csproj -c release --no-restore
- name: Run benchmark test - name: Run benchmark test
run: dotnet run --project LLama.Benchmark/LLama.Benchmark.csproj -c release
run: dotnet run --project LLama.Benchmark/LLama.Benchmark.csproj -c release ${{ matrix.modeldir }}
- name: Upload artifacts - name: Upload artifacts
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3


Loading…
Cancel
Save