Skip to content

Commit aa4cd28

Browse files
chore: sync downstream changes to midstream main
Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
1 parent 5061e56 commit aa4cd28

File tree

4 files changed

+21
-22
lines changed

4 files changed

+21
-22
lines changed

redhat-distribution/Containerfile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ WORKDIR /opt/app-root
33

44
RUN pip install sqlalchemy # somehow sqlalchemy[asyncio] is not sufficient
55
{dependencies}
6-
RUN pip install --no-cache llama-stack==0.2.14
6+
RUN pip install --no-cache llama-stack==0.2.18
77
RUN mkdir -p ${{HOME}}/.llama/providers.d ${{HOME}}/.cache
88
COPY redhat-distribution/run.yaml ${{APP_ROOT}}/run.yaml
99
COPY redhat-distribution/providers.d/ ${{HOME}}/.llama/providers.d/
1010

11-
ENTRYPOINT ["python", "-m", "llama_stack.distribution.server.server", "--config", "/opt/app-root/run.yaml"]
11+
ENTRYPOINT ["python", "-m", "llama_stack.distribution.server.server", "/opt/app-root/run.yaml"]

redhat-distribution/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from pathlib import Path
1414

1515
BASE_REQUIREMENTS = [
16-
"llama-stack==0.2.14",
16+
"llama-stack==0.2.18",
1717
]
1818

1919

@@ -59,7 +59,7 @@ def check_llama_stack_version():
5959

6060
def get_dependencies():
6161
"""Execute the llama stack build command and capture dependencies."""
62-
cmd = "llama stack build --config redhat-distribution/build.yaml --print-deps-only"
62+
cmd = "llama stack build redhat-distribution/build.yaml --print-deps-only"
6363
try:
6464
result = subprocess.run(cmd, shell=True, capture_output=True, text=True, check=True)
6565
# Categorize and sort different types of pip install commands

redhat-distribution/build.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
version: '2'
1+
version: 2
22
distribution_spec:
33
description: Red Hat distribution of Llama Stack
44
providers:
55
inference:
6-
- remote::vllm
7-
- inline::sentence-transformers
6+
- provider_type: remote::vllm
7+
- provider_type: inline::sentence-transformers
88
vector_io:
9-
- inline::milvus
9+
- provider_type: inline::milvus
1010
safety:
11-
- remote::trustyai_fms
11+
- provider_type: remote::trustyai_fms
1212
agents:
13-
- inline::meta-reference
13+
- provider_type: inline::meta-reference
1414
eval:
15-
- remote::trustyai_lmeval
15+
- provider_type: remote::trustyai_lmeval
1616
datasetio:
17-
- remote::huggingface
18-
- inline::localfs
17+
- provider_type: remote::huggingface
18+
- provider_type: inline::localfs
1919
scoring:
20-
- inline::basic
21-
- inline::llm-as-judge
22-
- inline::braintrust
20+
- provider_type: inline::basic
21+
- provider_type: inline::llm-as-judge
22+
- provider_type: inline::braintrust
2323
telemetry:
24-
- inline::meta-reference
24+
- provider_type: inline::meta-reference
2525
tool_runtime:
26-
- remote::brave-search
27-
- remote::tavily-search
28-
- inline::rag-runtime
29-
- remote::model-context-protocol
26+
- provider_type: remote::brave-search
27+
- provider_type: remote::tavily-search
28+
- provider_type: inline::rag-runtime
29+
- provider_type: remote::model-context-protocol
3030
container_image: registry.redhat.io/ubi9/python-311:9.6-1749631027
3131
additional_pip_packages:
3232
- aiosqlite

redhat-distribution/run.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,3 @@ tool_groups:
135135
provider_id: rag-runtime
136136
server:
137137
port: 8321
138-
external_providers_dir: /opt/app-root/src/.llama/providers.d

0 commit comments

Comments
 (0)