labels
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user