| @@ -87,19 +87,11 @@ jobs: | |||||
| steps: | steps: | ||||
| - uses: actions/checkout@v4 | - uses: actions/checkout@v4 | ||||
| - uses: actions/setup-dotnet@v4 | |||||
| with: | |||||
| dotnet-version: | | |||||
| 8.0.x | |||||
| - uses: actions/setup-python@v5 | |||||
| with: | |||||
| python-version: '3.10' | |||||
| - name: Prepare models | - name: Prepare models | ||||
| run: | | run: | | ||||
| pip install huggingface_hub | pip install huggingface_hub | ||||
| python3 .github/download_models.py --model-dir ${{ matrix.modeldir }} --model-list LLama.Benchmark/Assets/models.txt --endpoint https://hf-mirror.com | |||||
| python .github/download_models.py --model-dir ${{ matrix.modeldir }} --model-list LLama.Benchmark/Assets/models.txt --endpoint https://hf-mirror.com | |||||
| - name: Clear package cache | - name: Clear package cache | ||||
| run: dotnet clean LLamaSharp.sln && dotnet nuget locals all --clear | run: dotnet clean LLamaSharp.sln && dotnet nuget locals all --clear | ||||