Spaces:
Runtime error
Runtime error
Download llama-cpp-python/.github/workflows/test-pypi.yaml from aelitta/BioMistral_gradio: direct link, hf CLI and curl.
- Browser
- Download file 1.76 kB
-
https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/.github/workflows/test-pypi.yaml
- Command line
-
hf download hf://spaces/aelitta/BioMistral_gradio/llama-cpp-python/.github/workflows/test-pypi.yaml
-
curl -L -o test-pypi.yaml https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/.github/workflows/test-pypi.yaml
1.76 kB
| name: Tests for PyPI package | |
| on: workflow_dispatch | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install --verbose llama-cpp-python[all] | |
| - name: Test with pytest | |
| run: | | |
| python3 -c "import llama_cpp" | |
| build-windows: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install --verbose llama-cpp-python[all] | |
| - name: Test with pytest | |
| run: | | |
| python3 -c "import llama_cpp" | |
| build-macos: | |
| runs-on: macos-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install --verbose llama-cpp-python[all] | |
| - name: Test with pytest | |
| run: | | |
| python3 -c "import llama_cpp" | |