Skip to content

Commit 0184f04

Browse files
committed
feat: bump lls to v0.3.0.
Closes https://issues.redhat.com/browse/RHAIENG-1600 Signed-off-by: Mustafa Elbehery <melbeher@redhat.com
1 parent 4b88ae6 commit 0184f04

6 files changed

Lines changed: 6 additions & 53 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ repos:
5656
always_run: true
5757
files: ^distribution/.*$
5858
additional_dependencies:
59-
- llama-stack==0.2.23
59+
- llama-stack==0.3.0
6060

6161
- id: doc-gen
6262
name: Distribution Documentation

distribution/Containerfile

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -11,52 +11,7 @@ RUN pip install --upgrade \
1111
'aiobotocore==2.16.1' \
1212
'ibm-cos-sdk-core==2.14.2' \
1313
'ibm-cos-sdk==2.14.2'
14-
RUN pip install \
15-
'datasets>=4.0.0' \
16-
'mcp>=1.8.1' \
17-
'pymilvus[milvus-lite]>=2.4.10' \
18-
aiosqlite \
19-
asyncpg \
20-
autoevals \
21-
boto3 \
22-
chardet \
23-
faiss-cpu \
24-
fastapi \
25-
fire \
26-
google-cloud-aiplatform \
27-
httpx \
28-
ibm_watsonx_ai \
29-
litellm \
30-
matplotlib \
31-
nltk \
32-
numpy \
33-
opentelemetry-exporter-otlp-proto-http \
34-
opentelemetry-sdk \
35-
pandas \
36-
pillow \
37-
psycopg2-binary \
38-
pymongo \
39-
pypdf \
40-
redis \
41-
requests \
42-
scikit-learn \
43-
scipy \
44-
sentencepiece \
45-
sqlalchemy[asyncio] \
46-
tqdm \
47-
transformers \
48-
uvicorn
49-
RUN pip install \
50-
llama_stack_provider_lmeval==0.3.1
51-
RUN pip install \
52-
llama_stack_provider_ragas==0.4.1
53-
RUN pip install \
54-
llama_stack_provider_ragas[remote]==0.4.1
55-
RUN pip install \
56-
llama_stack_provider_trustyai_fms==0.2.3
57-
RUN pip install 'torchao>=0.12.0' --extra-index-url https://download.pytorch.org/whl/cpu torch torchvision
58-
RUN pip install --no-deps sentence-transformers
59-
RUN pip install --no-cache llama-stack==0.2.23
14+
RUN pip install --no-cache llama-stack==0.3.0
6015
RUN mkdir -p ${HOME}/.llama ${HOME}/.cache
6116
COPY distribution/run.yaml ${APP_ROOT}/run.yaml
6217
ENTRYPOINT ["llama", "stack", "run", "/opt/app-root/run.yaml"]

distribution/Containerfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ 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.23
6+
RUN pip install --no-cache llama-stack==0.3.0
77
{llama_stack_install_source}
88
RUN mkdir -p ${{HOME}}/.llama ${{HOME}}/.cache
99
COPY distribution/run.yaml ${{APP_ROOT}}/run.yaml

distribution/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This image contains the official Open Data Hub Llama Stack distribution, with all the packages and configuration needed to run a Llama Stack server in a containerized environment.
66

7-
The image is currently shipping with upstream Llama Stack version [0.2.23](https://github.com/llamastack/llama-stack/releases/tag/v0.2.23)
7+
The image is currently shipping with upstream Llama Stack version [0.3.0](https://github.com/llamastack/llama-stack/releases/tag/v0.3.0)
88

99
You can see an overview of the APIs and Providers the image ships with in the table below.
1010

distribution/build.py

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

16-
CURRENT_LLAMA_STACK_VERSION = "0.2.23"
16+
CURRENT_LLAMA_STACK_VERSION = "0.3.0"
1717
LLAMA_STACK_VERSION = os.getenv("LLAMA_STACK_VERSION", CURRENT_LLAMA_STACK_VERSION)
1818
BASE_REQUIREMENTS = [
1919
f"llama-stack=={LLAMA_STACK_VERSION}",
@@ -93,7 +93,7 @@ def check_llama_stack_version():
9393

9494
def get_dependencies():
9595
"""Execute the llama stack build command and capture dependencies."""
96-
cmd = "llama stack build --config distribution/build.yaml --print-deps-only"
96+
cmd = "llama stack list-deps distribution/build.yaml"
9797
try:
9898
result = subprocess.run(
9999
cmd, shell=True, capture_output=True, text=True, check=True

distribution/build.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ distribution_spec:
3333
- provider_type: inline::basic
3434
- provider_type: inline::llm-as-judge
3535
- provider_type: inline::braintrust
36-
telemetry:
37-
- provider_type: inline::meta-reference
3836
tool_runtime:
3937
- provider_type: remote::brave-search
4038
- provider_type: remote::tavily-search

0 commit comments

Comments
 (0)