| @@ -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 | ||||