[GH-ISSUE #1] model support #3

Closed
opened 2026-10-29 21:18:56 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @shellbii on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/1

can u support this model https://huggingface.co/dealignai/GLM-5.3-Flash-CYBERSECURITY-W4A16

Originally created by @shellbii on GitHub (Oct 7, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/1 can u support this model https://huggingface.co/dealignai/GLM-5.3-Flash-CYBERSECURITY-W4A16
Author
Owner

@mw00 commented on GitHub (Oct 8, 2026):

Thanks for asking, and sorry for the slow answer.

Maya runs GLM-5.3-Flash from GGUF files. That checkpoint is a W4A16 safetensors release (a fine-tune of the same architecture), so Maya can't load it as it is. Two ways:

  1. Use a GGUF of it. If someone publishes one, or you make one with llama.cpp's convert_hf_to_gguf.py (the W4A16 weights first dequantized to BF16) and then llama-quantize, point Maya at it:
    ./maya.sh --setup --gguf-dir /path/to/the/gguf/folder
    
    Maya builds its pack from any GLM-5.3-Flash GGUF. Quants other than Maya's own are experimental: they run, but we haven't measured them.
  2. Maya's quantizer (tools/maya_quant) reads Z.ai's FP8 release, not W4A16 checkpoints, so it won't take this one directly.

If the GGUF has no MTP (draft) block, Maya still runs it. On two GPUs, STRATA_GLM_MTP_GGUF=<another GLM-5.3-Flash GGUF> borrows that file's draft block. Drafts are always checked, so the answers don't change; a fine-tune may just accept fewer of the base model's drafts.

I'll close this for now. Reopen it if a GGUF of that model doesn't load, and add the server log.

<!-- gh-comment-id:6065480642 --> @mw00 commented on GitHub (Oct 8, 2026): Thanks for asking, and sorry for the slow answer. Maya runs GLM-5.3-Flash from **GGUF** files. That checkpoint is a W4A16 safetensors release (a fine-tune of the same architecture), so Maya can't load it as it is. Two ways: 1. **Use a GGUF of it.** If someone publishes one, or you make one with llama.cpp's `convert_hf_to_gguf.py` (the W4A16 weights first dequantized to BF16) and then `llama-quantize`, point Maya at it: ```sh ./maya.sh --setup --gguf-dir /path/to/the/gguf/folder ``` Maya builds its pack from any GLM-5.3-Flash GGUF. Quants other than Maya's own are experimental: they run, but we haven't measured them. 2. **Maya's quantizer** (`tools/maya_quant`) reads Z.ai's FP8 release, not W4A16 checkpoints, so it won't take this one directly. If the GGUF has no MTP (draft) block, Maya still runs it. On two GPUs, `STRATA_GLM_MTP_GGUF=<another GLM-5.3-Flash GGUF>` borrows that file's draft block. Drafts are always checked, so the answers don't change; a fine-tune may just accept fewer of the base model's drafts. I'll close this for now. Reopen it if a GGUF of that model doesn't load, and add the server log.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mw00/project-maya#3
No description provided.