ds4 icon indicating copy to clipboard operation
ds4 copied to clipboard

GLM 5.2 error: `ds4: required tensor is missing: token_embd.weight`

Open links486 opened this issue 5 months ago • 1 comments

Currently seeing the following error on my 512 Mac Studio:

user@MacStudio ds4 % git status
On branch glm5.2
Your branch is up to date with 'origin/glm5.2'.

nothing to commit, working tree clean
user@MacStudio ds4 % git log | head -n 1
commit bd89932c4a0029a911b9f0f0a82688a4bbf69208
user@MacStudio ds4 % make clean
rm -f ds4 ds4-server ds4-bench ds4-eval ds4-agent ds4_cpu ds4_native ds4_server_test ds4_test ds4_agent_test gguf-tools/quality-testing/score_official tests/test_q4k_dot *.o tests/cuda_long_context_smoke tests/cuda_long_context_smoke.o
user@MacStudio ds4 % make
cc -O3 -ffast-math -g -mcpu=native -Wall -Wextra -std=c99 -c -o ds4_cli.o ds4_cli.c
...etc.
user@MacStudio ds4 % ./ds4 -m /Volumes/drive/GLM-5.2-UD-Q4_K_XL-00001-of-00011.gguf
ds4: required tensor is missing: token_embd.weight

I haven't been able to try your GLM-5.2-UD-Q4_K_RoutedQ4K.gguf version yet. HF is returning a 400 error over HTTPS, and the XET download attempt via the hf command has failed three times around the 361 GB mark.

Thanks for all of the work that you've done on this! Stoked to try it out.

links486 avatar Jul 04 '26 08:07 links486

same issue, download was ok but got that error when I tried to run ./ds4. Same thing for streaming flash 4

xeonai44 avatar Aug 06 '26 08:08 xeonai44