mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-27 14:58:05 +00:00
feat(ci): add support for running vision inference tests
This commit is contained in:
parent
d6ae2b0f47
commit
0b02af792d
4 changed files with 227 additions and 0 deletions
11
.github/actions/setup-vision-ollama/action.yml
vendored
Normal file
11
.github/actions/setup-vision-ollama/action.yml
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: Setup Ollama for Vision Tests
|
||||
description: Start Ollama with vision model
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Start Ollama
|
||||
shell: bash
|
||||
run: |
|
||||
docker run -d --name ollama -p 11434:11434 docker.io/llamastack/ollama-with-vision-model
|
||||
echo "Verifying Ollama status..."
|
||||
timeout 30 bash -c 'while ! curl -s -L http://127.0.0.1:11434; do sleep 1 && echo "."; done'
|
||||
Loading…
Add table
Add a link
Reference in a new issue