fancy multi-stage Dockerfile, remove llama.cpp from repo, add zefie's local nvfp4_quant docker launcher helper
This commit is contained in:
1 parent
db851967e1
commit
e342fb2b81
4 files changed
+117
-48
No files matched your search
@@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
CURDIR="$(realpath "$(dirname "${0}")")"
|
||||
|
||||
get_latest() {
|
||||
# Find all tags for zefie/nvfp4_quant, sort by creation timestamp (descending), return the newest
|
||||
latest_image=$(docker images --format '{{.CreatedAt}}\t{{.Repository}}:{{.Tag}}' zefie/nvfp4_quant \
|
||||
@@ -33,7 +35,7 @@ elif [ "${1}" == "run" ]; then
|
||||
exit 1;
|
||||
fi
|
||||
export EMBEDDED=1
|
||||
source ${HOME}/bin/nvfp4_quant
|
||||
source ${CURDIR}/nvfp4_quant
|
||||
CMD=("${COMMON[@]}" "${@}")
|
||||
echo "Executing ${CMD[@]}"
|
||||
"${CMD[@]}"
|
||||
|
||||
Reference in new issue
Block a user