Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions distribution/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ RUN pip install \
RUN pip install --extra-index-url https://download.pytorch.org/whl/cpu torch torchao>=0.12.0 torchvision
RUN pip install --no-deps sentence-transformers
RUN pip install --no-cache llama-stack==0.2.21
RUN mkdir -p ${HOME}/.llama/providers.d ${HOME}/.cache
RUN mkdir -p ${HOME}/.llama ${HOME}/.cache
COPY distribution/run.yaml ${APP_ROOT}/run.yaml
COPY distribution/providers.d/ ${HOME}/.llama/providers.d/

ENTRYPOINT ["python", "-m", "llama_stack.core.server.server", "/opt/app-root/run.yaml"]
3 changes: 1 addition & 2 deletions distribution/Containerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ WORKDIR /opt/app-root
RUN pip install sqlalchemy # somehow sqlalchemy[asyncio] is not sufficient
{dependencies}
RUN pip install --no-cache llama-stack==0.2.21
RUN mkdir -p ${{HOME}}/.llama/providers.d ${{HOME}}/.cache
RUN mkdir -p ${{HOME}}/.llama ${{HOME}}/.cache
Comment thread
nathan-weinberg marked this conversation as resolved.
COPY distribution/run.yaml ${{APP_ROOT}}/run.yaml
COPY distribution/providers.d/ ${{HOME}}/.llama/providers.d/

ENTRYPOINT ["python", "-m", "llama_stack.core.server.server", "/opt/app-root/run.yaml"]
1 change: 0 additions & 1 deletion distribution/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ additional_pip_packages:
- psycopg2-binary
image_type: container
image_name: llama-stack-rh
external_providers_dir: distribution/providers.d
7 changes: 0 additions & 7 deletions distribution/providers.d/remote/eval/trustyai_lmeval.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions distribution/providers.d/remote/safety/trustyai_fms.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion distribution/run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ providers:
safety:
- provider_id: trustyai_fms
provider_type: remote::trustyai_fms
module: llama_stack_provider_trustyai_fms==0.2.2
config:
orchestrator_url: ${env.FMS_ORCHESTRATOR_URL:=}
ssl_cert_path: ${env.FMS_SSL_CERT_PATH:=}
Expand All @@ -86,6 +87,7 @@ providers:
eval:
- provider_id: trustyai_lmeval
provider_type: remote::trustyai_lmeval
module: llama_stack_provider_lmeval==0.2.4
config:
use_k8s: ${env.TRUSTYAI_LMEVAL_USE_K8S:=true}
base_url: ${env.VLLM_URL:=http://localhost:8000/v1}
Expand Down Expand Up @@ -177,4 +179,3 @@ tool_groups:
provider_id: rag-runtime
server:
port: 8321
external_providers_dir: /opt/app-root/src/.llama/providers.d
Loading