Archived
- every model serves without a GPU: libavx covers every op, so `--kernels libavx` alone serves every shipped container - Qwen3-ASR (zivius): speech to text on /v1/audio/transcriptions and live over /v1/realtime - /v1/messages works with Claude Code as it ships (gearwave00001) - a long agent conversation keeps its cached history when the client rewrites its last turn (manueloverride) - a stream's first event goes out with the first token, so llama-benchy measures prefill right - opt-in --prefill-interleave (Smellyyyy, baKon) and --prefill-span (keptn42) - four-rank TP releases the link early; four-rank selftests and docs/TP4.md (goodman-b) - NVFP4 and FP8 compressed-tensors imports (devmilan); tools/rad-export for finetunes and LoRA adapters (baKon) - many fixes, among them lost tokens on stop strings under concurrency, keep-alive, MiniCPM5 tool arguments and the CPU's vision and audio encoders - plugin ABI 17 and changed op schemas: out-of-tree plugins must be rebuilt
23 lines
996 B
Bash
Executable File
23 lines
996 B
Bash
Executable File
#!/bin/sh
|
|
# Rebuild the DSpark container for MiniCPM5-2B that scripts/mcserve.sh serves
|
|
# (minicpm5-2b-dspark.v2.rad): the bf16 checkpoint with the drafter merged in, every linear made
|
|
# block fp8 by data/recipes/minicpm5-2b-dspark.recipe, served by arch/llama_dense_fp8. The output
|
|
# is removed before conversion starts, so it is a .new.rad beside the served container.
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
BUILD="${BUILD:-$ROOT/build}"
|
|
cd "$BUILD" || exit 1
|
|
RECIPE=${RECIPE:-$ROOT/data/recipes/minicpm5-2b-dspark.recipe}
|
|
SRC=$HOME/models/openbmb/MiniCPM5-2B
|
|
DRAFT=$HOME/models/openbmb/MiniCPM5-2B-DSpark
|
|
OUT=$HOME/models/rad/minicpm5-2b-dspark.new.rad
|
|
[ -d "$DRAFT" ] || { echo "no drafter checkpoint at $DRAFT"; exit 1; }
|
|
rm -f "$OUT"
|
|
./bin/rad-convert "$SRC" -o "$OUT" \
|
|
--home radiance_home \
|
|
--tokenizer "$SRC/tokenizer.json" \
|
|
--draft-model "$DRAFT" \
|
|
--recipe "$RECIPE" \
|
|
-v 2>&1 | tail -25
|
|
[ -s "$OUT" ] || { echo CONVERT_FAILED; exit 1; }
|
|
echo CONVERT_OK "$OUT"
|