Skip to content

docs: add on-disk sizes for GLM 5.2 model variants - #728

Open
vincenzopalazzo wants to merge 1 commit into
antirez:mainfrom
vincenzopalazzo:docs/glm-model-sizes
Open

docs: add on-disk sizes for GLM 5.2 model variants#728
vincenzopalazzo wants to merge 1 commit into
antirez:mainfrom
vincenzopalazzo:docs/glm-model-sizes

Conversation

@vincenzopalazzo

Copy link
Copy Markdown

Summary

  • Add measured on-disk sizes for the GLM 5.2 download targets in download_model.sh (iq2xxs was the only one missing a size; q2/q4 already had them)
  • Note that iq2xxs (~211 GB) does not fully fit in 128 GB RAM — single-node 96/128 GB machines need --ssd-streaming
  • Mirror the sizes in the README download list for a quick glance

Context

Verified by downloading both glm-antirez-iq2xxs and glm-antirez-q2 onto a DGX Spark (GB10, 128 GB unified memory) while setting up a local bake-off. The missing size on iq2xxs made it easy to confuse with the DeepSeek Flash ds4f-q2 entry ("about 81 GB… recommended for 96 and 128 GB RAM machines"), which sits right above the GLM block in the help text.

Also confirmed --ssd-streaming --ssd-streaming-cache-experts 40GB loads iq2xxs successfully on a single Spark (~46 GiB resident: 0.94 model + 35 expert cache + 5.8 compressed KV + buffers).

Test plan

  • bash -n download_model.sh (syntax)
  • Sizes measured with ls -la after full HF download of both files
  • Maintainer eyeball of the wording

The DeepSeek Flash variants already document their sizes and RAM class
in download_model.sh, but the GLM 5.2 entries only described the quant
layout. Measured on disk after download:

  glm-antirez-iq2xxs  ~211 GB  (does not fully fit 128 GB RAM;
                                use --ssd-streaming on single-node)
  glm-antirez-q2      ~262 GB  (already documented)
  glm-antirez-q4      ~434 GB  (already documented)
  glm-unsloth-q4      ~467 GB  (11 shards)

Also annotate the README download list with the same sizes so a
quick glance is enough to pick a machine class.
vincenzopalazzo added a commit to vincenzopalazzo/local-ai that referenced this pull request Aug 6, 2026
For science: iq2xxs is 211 GB (not 81 — that was ds4f-q2). SSD streaming
loads an ~800B MoE in ~47 GiB resident, but CUDA GLM prefill fails silently
on GB10 (host registration unsupported; Metal/ROCm-first streaming paths).
PR antirez/ds4#728 adds the missing GLM sizes upstream.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant