This commit is contained in:
Mikan
2026-10-16 12:36:58 +04:00
parent 486a718eab
commit fbff0edf77
6 changed files with 112 additions and 180 deletions

View File

@@ -21,7 +21,6 @@ start_llama() {
fi
HOST_PROJECT_PATH="$HOST_PROJECT_PATH" \
PROJECT_HOST_DIR="$HOST_PROJECT_PATH" \
LLAMA_MODELS_HOST="$HOST_PROJECT_PATH/gpu/llama_models" \
LLAMA_MODEL="$MODEL" \
LLAMA_EXTRA_ARGS="$EXTRA_ARGS" \
@@ -35,11 +34,11 @@ start_llama() {
echo
docker ps \
--filter "name=gpu-node-llama" \
--filter "label=node.role=llama" \
--filter "label=node.instance=${NODE_INSTANCE}" \
--format 'table {{.Names}}\t{{.Status}}\t{{.Ports}}'
}
llama_command() {
case "${1:-}" in
*)
@@ -47,4 +46,4 @@ llama_command() {
echo " gpuctl llama"
;;
esac
}
}