mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-27 06:28:50 +00:00
chore: revert "feat(ci): add a ci-tests distro (#2826)"
This reverts commit dd303327f3
.
We don't need a new distro just to disable one provider.
Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
abade761e0
commit
8125743212
7 changed files with 9 additions and 1233 deletions
6
.github/workflows/integration-tests.yml
vendored
6
.github/workflows/integration-tests.yml
vendored
|
@ -91,7 +91,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build Llama Stack
|
- name: Build Llama Stack
|
||||||
run: |
|
run: |
|
||||||
uv run llama stack build --template ci-tests --image-type venv
|
uv run llama stack build --template starter --image-type venv
|
||||||
|
|
||||||
- name: Check Storage and Memory Available Before Tests
|
- name: Check Storage and Memory Available Before Tests
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
@ -108,9 +108,9 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ matrix.client-type }}" == "library" ]; then
|
if [ "${{ matrix.client-type }}" == "library" ]; then
|
||||||
stack_config="ci-tests"
|
stack_config="starter"
|
||||||
else
|
else
|
||||||
stack_config="server:ci-tests"
|
stack_config="server:starter"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
EXCLUDE_TESTS="builtin_tool or safety_with_image or code_interpreter or test_rag"
|
EXCLUDE_TESTS="builtin_tool or safety_with_image or code_interpreter or test_rag"
|
||||||
|
|
|
@ -93,7 +93,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build Llama Stack
|
- name: Build Llama Stack
|
||||||
run: |
|
run: |
|
||||||
uv run llama stack build --template ci-tests --image-type venv
|
uv run llama stack build --template starter --image-type venv
|
||||||
|
|
||||||
- name: Check Storage and Memory Available Before Tests
|
- name: Check Storage and Memory Available Before Tests
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|
10
.github/workflows/providers-build.yml
vendored
10
.github/workflows/providers-build.yml
vendored
|
@ -97,9 +97,9 @@ jobs:
|
||||||
|
|
||||||
- name: Build a single provider
|
- name: Build a single provider
|
||||||
run: |
|
run: |
|
||||||
yq -i '.image_type = "container"' llama_stack/templates/ci-tests/build.yaml
|
yq -i '.image_type = "container"' llama_stack/templates/starter/build.yaml
|
||||||
yq -i '.image_name = "test"' llama_stack/templates/ci-tests/build.yaml
|
yq -i '.image_name = "test"' llama_stack/templates/starter/build.yaml
|
||||||
USE_COPY_NOT_MOUNT=true LLAMA_STACK_DIR=. uv run llama stack build --config llama_stack/templates/ci-tests/build.yaml
|
USE_COPY_NOT_MOUNT=true LLAMA_STACK_DIR=. uv run llama stack build --config llama_stack/templates/starter/build.yaml
|
||||||
|
|
||||||
- name: Inspect the container image entrypoint
|
- name: Inspect the container image entrypoint
|
||||||
run: |
|
run: |
|
||||||
|
@ -126,14 +126,14 @@ jobs:
|
||||||
.image_type = "container" |
|
.image_type = "container" |
|
||||||
.image_name = "ubi9-test" |
|
.image_name = "ubi9-test" |
|
||||||
.distribution_spec.container_image = "registry.access.redhat.com/ubi9:latest"
|
.distribution_spec.container_image = "registry.access.redhat.com/ubi9:latest"
|
||||||
' llama_stack/templates/ci-tests/build.yaml
|
' llama_stack/templates/starter/build.yaml
|
||||||
|
|
||||||
- name: Build dev container (UBI9)
|
- name: Build dev container (UBI9)
|
||||||
env:
|
env:
|
||||||
USE_COPY_NOT_MOUNT: "true"
|
USE_COPY_NOT_MOUNT: "true"
|
||||||
LLAMA_STACK_DIR: "."
|
LLAMA_STACK_DIR: "."
|
||||||
run: |
|
run: |
|
||||||
uv run llama stack build --config llama_stack/templates/ci-tests/build.yaml
|
uv run llama stack build --config llama_stack/templates/starter/build.yaml
|
||||||
|
|
||||||
- name: Inspect UBI9 image
|
- name: Inspect UBI9 image
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
# All rights reserved.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the terms described in the LICENSE file in
|
|
||||||
# the root directory of this source tree.
|
|
||||||
|
|
||||||
from .ci_tests import get_distribution_template # noqa: F401
|
|
|
@ -1,60 +0,0 @@
|
||||||
version: 2
|
|
||||||
distribution_spec:
|
|
||||||
description: CI tests for Llama Stack
|
|
||||||
providers:
|
|
||||||
inference:
|
|
||||||
- remote::cerebras
|
|
||||||
- remote::ollama
|
|
||||||
- remote::vllm
|
|
||||||
- remote::tgi
|
|
||||||
- remote::hf::serverless
|
|
||||||
- remote::hf::endpoint
|
|
||||||
- remote::fireworks
|
|
||||||
- remote::together
|
|
||||||
- remote::bedrock
|
|
||||||
- remote::databricks
|
|
||||||
- remote::nvidia
|
|
||||||
- remote::runpod
|
|
||||||
- remote::openai
|
|
||||||
- remote::anthropic
|
|
||||||
- remote::gemini
|
|
||||||
- remote::groq
|
|
||||||
- remote::llama-openai-compat
|
|
||||||
- remote::sambanova
|
|
||||||
- remote::passthrough
|
|
||||||
- inline::sentence-transformers
|
|
||||||
vector_io:
|
|
||||||
- inline::faiss
|
|
||||||
- inline::sqlite-vec
|
|
||||||
- inline::milvus
|
|
||||||
- remote::chromadb
|
|
||||||
- remote::pgvector
|
|
||||||
files:
|
|
||||||
- inline::localfs
|
|
||||||
safety:
|
|
||||||
- inline::llama-guard
|
|
||||||
agents:
|
|
||||||
- inline::meta-reference
|
|
||||||
telemetry:
|
|
||||||
- inline::meta-reference
|
|
||||||
post_training:
|
|
||||||
- inline::huggingface
|
|
||||||
eval:
|
|
||||||
- inline::meta-reference
|
|
||||||
datasetio:
|
|
||||||
- remote::huggingface
|
|
||||||
- inline::localfs
|
|
||||||
scoring:
|
|
||||||
- inline::basic
|
|
||||||
- inline::llm-as-judge
|
|
||||||
- inline::braintrust
|
|
||||||
tool_runtime:
|
|
||||||
- remote::brave-search
|
|
||||||
- remote::tavily-search
|
|
||||||
- inline::rag-runtime
|
|
||||||
- remote::model-context-protocol
|
|
||||||
image_type: conda
|
|
||||||
additional_pip_packages:
|
|
||||||
- aiosqlite
|
|
||||||
- asyncpg
|
|
||||||
- sqlalchemy[asyncio]
|
|
|
@ -1,19 +0,0 @@
|
||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
# All rights reserved.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the terms described in the LICENSE file in
|
|
||||||
# the root directory of this source tree.
|
|
||||||
|
|
||||||
|
|
||||||
from llama_stack.templates.template import DistributionTemplate
|
|
||||||
|
|
||||||
from ..starter.starter import get_distribution_template as get_starter_distribution_template
|
|
||||||
|
|
||||||
|
|
||||||
def get_distribution_template() -> DistributionTemplate:
|
|
||||||
template = get_starter_distribution_template()
|
|
||||||
name = "ci-tests"
|
|
||||||
template.name = name
|
|
||||||
template.description = "CI tests for Llama Stack"
|
|
||||||
|
|
||||||
return template
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue