Skip to content

Commit c16eebb

Browse files
committed
chore: convert build.yaml to use modules for external providers
We now use the "module" field to pull the dependencies. This also bumps trusty deps. Relates to: RHAIENG-498 Signed-off-by: Sébastien Han <seb@redhat.com>
1 parent 7674ef8 commit c16eebb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

distribution/Containerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ RUN pip install \
1515
fastapi \
1616
fire \
1717
httpx \
18-
llama_stack_provider_trustyai_fms==0.2.1 \
1918
matplotlib \
2019
mcp>=1.8.1 \
2120
nltk \
@@ -39,7 +38,9 @@ RUN pip install \
3938
transformers \
4039
uvicorn
4140
RUN pip install \
42-
llama_stack_provider_lmeval==0.2.3
41+
llama_stack_provider_lmeval==0.2.4
42+
RUN pip install \
43+
llama_stack_provider_trustyai_fms==0.2.1
4344
RUN pip install --extra-index-url https://download.pytorch.org/whl/cpu torch torchao>=0.12.0 torchvision
4445
RUN pip install --no-deps sentence-transformers
4546
RUN pip install --no-cache llama-stack==0.2.21

distribution/build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ distribution_spec:
1111
- provider_type: remote::milvus
1212
safety:
1313
- provider_type: remote::trustyai_fms
14+
module: llama_stack_provider_trustyai_fms==0.2.1
1415
agents:
1516
- provider_type: inline::meta-reference
1617
eval:
1718
- provider_type: remote::trustyai_lmeval
18-
module: llama_stack_provider_lmeval==0.2.3
19+
module: llama_stack_provider_lmeval==0.2.4
1920
datasetio:
2021
- provider_type: remote::huggingface
2122
- provider_type: inline::localfs

0 commit comments

Comments
 (0)