Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sixianyi0721 committed Jan 23, 2025
1 parent 35b1b20 commit ec1412d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,30 @@ jobs:
TAVILY_SEARCH_API_KEY: ${{ secrets.TAVILY_SEARCH_API_KEY }}
strategy:
matrix:
provider: [fireworks, ollama]
provider: [fireworks, together]
steps:
- uses: actions/checkout@v4

- name: Echo branch name
run: echo "Running on branch ${{ github.ref }}"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt pytest
pip install -e .
- name: Build providers
run: |
llama stack build --template ${{ matrix.provider }} --image-type venv
- name: Install local llama-stack-client and llama-models
run: |
pip install git+https://github.com/meta-llama/llama-stack-client-python.git
pip install git+https://github.com/meta-llama/llama-models.git
- name: Run client-sdk test
working-directory: "${{ github.workspace }}"
run:
run: |
export INFERENCE_MODEL=meta-llama/Llama-3.1-8B-Instruct
LLAMA_STACK_CONFIG=./llama_stack/templates/${{ matrix.provider }}/run.yaml pytest ./tests/client-sdk/inference/test_inference.py

0 comments on commit ec1412d

Please sign in to comment.