mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-22 21:00:01 +00:00
Merge branch 'main' into fix/issue-2584-llama4-tool-calling-v2
This commit is contained in:
commit
a9cfc7df95
1 changed files with 6 additions and 2 deletions
|
|
@ -136,16 +136,20 @@ EOF
|
||||||
# Add pip dependencies first since llama-stack is what will change most often
|
# Add pip dependencies first since llama-stack is what will change most often
|
||||||
# so we can reuse layers.
|
# so we can reuse layers.
|
||||||
if [ -n "$pip_dependencies" ]; then
|
if [ -n "$pip_dependencies" ]; then
|
||||||
|
read -ra pip_args <<< "$pip_dependencies"
|
||||||
|
quoted_deps=$(printf " %q" "${pip_args[@]}")
|
||||||
add_to_container << EOF
|
add_to_container << EOF
|
||||||
RUN $MOUNT_CACHE uv pip install $pip_dependencies
|
RUN $MOUNT_CACHE uv pip install $quoted_deps
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$special_pip_deps" ]; then
|
if [ -n "$special_pip_deps" ]; then
|
||||||
IFS='#' read -ra parts <<<"$special_pip_deps"
|
IFS='#' read -ra parts <<<"$special_pip_deps"
|
||||||
for part in "${parts[@]}"; do
|
for part in "${parts[@]}"; do
|
||||||
|
read -ra pip_args <<< "$part"
|
||||||
|
quoted_deps=$(printf " %q" "${pip_args[@]}")
|
||||||
add_to_container <<EOF
|
add_to_container <<EOF
|
||||||
RUN $MOUNT_CACHE uv pip install $part
|
RUN $MOUNT_CACHE uv pip install $quoted_deps
|
||||||
EOF
|
EOF
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue