File tree Expand file tree Collapse file tree 5 files changed +15
-7
lines changed
Expand file tree Collapse file tree 5 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 5656 always_run : true
5757 files : ^distribution/.*$
5858 additional_dependencies :
59- - llama-stack==0.2.18
59+ - llama-stack==0.2.21
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN pip install \
99 aiosqlite \
1010 autoevals \
1111 chardet \
12- datasets \
12+ datasets>=4.0.0 \
1313 fastapi \
1414 fire \
1515 httpx \
@@ -38,9 +38,9 @@ RUN pip install \
3838 tqdm \
3939 transformers \
4040 uvicorn
41- RUN pip install --index-url https://download.pytorch.org/whl/cpu torch torchvision
41+ RUN pip install --extra- index-url https://download.pytorch.org/whl/cpu torch torchao>=0.12.0 torchvision
4242RUN pip install --no-deps sentence-transformers
43- RUN pip install --no-cache llama-stack==0.2.18
43+ RUN pip install --no-cache llama-stack==0.2.21
4444RUN mkdir -p ${HOME}/.llama/providers.d ${HOME}/.cache
4545COPY distribution/run.yaml ${APP_ROOT}/run.yaml
4646COPY distribution/providers.d/ ${HOME}/.llama/providers.d/
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ WORKDIR /opt/app-root
33
44RUN pip install sqlalchemy # somehow sqlalchemy[asyncio] is not sufficient
55{dependencies}
6- RUN pip install --no-cache llama-stack==0.2.18
6+ RUN pip install --no-cache llama-stack==0.2.21
77RUN mkdir -p ${{HOME}}/.llama/providers.d ${{HOME}}/.cache
88COPY distribution/run.yaml ${{APP_ROOT}}/run.yaml
99COPY distribution/providers.d/ ${{HOME}}/.llama/providers.d/
Original file line number Diff line number Diff line change 1313from pathlib import Path
1414
1515BASE_REQUIREMENTS = [
16- "llama-stack==0.2.18 " ,
16+ "llama-stack==0.2.21 " ,
1717]
1818
1919
@@ -81,7 +81,7 @@ def get_dependencies():
8181 ) # Sort the package names and remove duplicates
8282
8383 # Determine command type and format accordingly
84- if "--index-url" in line :
84+ if ( "--index-url" in line ) or ( "--extra-index-url" in line ) :
8585 full_cmd = " " .join (cmd_parts + [" " .join (packages )])
8686 torch_deps .append (full_cmd )
8787 elif "--no-deps" in line :
Original file line number Diff line number Diff line change @@ -106,6 +106,14 @@ providers:
106106 - provider_id : model-context-protocol
107107 provider_type : remote::model-context-protocol
108108 config : {}
109+ files :
110+ - provider_id : meta-reference-files
111+ provider_type : inline::localfs
112+ config :
113+ storage_dir : /opt/app-root/src/.llama/distributions/rh/files
114+ metadata_store :
115+ type : sqlite
116+ db_path : /opt/app-root/src/.llama/distributions/rh/files_metadata.db
109117metadata_store :
110118 type : sqlite
111119 db_path : /opt/app-root/src/.llama/distributions/rh/registry.db
You can’t perform that action at this time.
0 commit comments