Merge branch 'chore/fleet-image-refresh' into main
This commit is contained in:
commit
49a83ef1d5
3 files changed
+23
-11
No files matched your search
@@ -126,11 +126,22 @@ run_stage() {
|
||||
@test "the shipped env points at the fork runtime, the MTP pair and the refusal adapter" {
|
||||
# The payload path IS the endpoint's identity, and the runtime is part of
|
||||
# it here: the file's custom tensor type 142 + prism.hadamard.* metadata
|
||||
# make the PrismML build the only loader, and this build must be >= b10776
|
||||
# make the PrismML build the only loader, and that build must be >= b10776
|
||||
# because MTP beside q8_0 V is illegal below it. A retarget that moves the
|
||||
# model but leaves the old build behind ships an endpoint that cannot load
|
||||
# (type 142) or cannot run the documented MTP arm (the build gate).
|
||||
grep -qE '^LLAMA_BIN=/home/dank/GitPackages/llama-prism-b10777/llama-server$' "$ENV_FILE"
|
||||
# model but leaves a stock llama.cpp behind ships an endpoint that cannot
|
||||
# load (type 142) or cannot run the documented MTP arm (the build gate).
|
||||
#
|
||||
# Assert the fork FAMILY, not the directory one rebuild happens to install:
|
||||
# a literal path turns every runtime move into a test edit, and the suite
|
||||
# runs on a box that has no /home/dank at all, so existence cannot be
|
||||
# checked here either.
|
||||
local bin
|
||||
bin="$(sed -n 's/^LLAMA_BIN=//p' "$ENV_FILE")"
|
||||
if [[ ! "$bin" =~ ^/home/dank/GitPackages/llama-prism-[^/]+/llama-server$ ]] &&
|
||||
[[ ! "$bin" =~ ^/home/dank/GitPackages/llama-prism-[^/]+/bin/llama-server$ ]]; then
|
||||
echo "LLAMA_BIN does not name a PrismML fork build: '$bin'" >&2
|
||||
return 1
|
||||
fi
|
||||
grep -qE '^MODEL_FILE=/home/dank/models/Bonsai2-9B-MTP/Ternary-Bonsai-2-9B-PQ2_0-MTP-Q8_0\.gguf$' "$ENV_FILE"
|
||||
grep -qE '^MMPROJ_FILE=/home/dank/models/Bonsai2-9B-MTP/Ternary-Bonsai-2-9B-mmproj-Q8_0\.gguf$' "$ENV_FILE"
|
||||
grep -qE '^LORA_FILE=/home/dank/models/Bonsai2-9B-MTP/Ternary-Bonsai-2-9B-Uncensored-LoRA\.gguf$' "$ENV_FILE"
|
||||
|
||||
Reference in new issue
Block a user