Skip to content
Other

GLM-Steam 320B v2 IQ2 - Fixed Version for Maya

2 min read

This model is a corrected GGUF quantization (weight compression) of GLM-Steam-320B-A18B-v2, tailored for the Maya inference engine (runner glm5-next). The base model is massive, boasting 320 billion total parameters with 18 billion active (MoE architecture with routed experts). Changes affect just 8 tensors on the MoE layers, successfully packaging the model to run on consumer hardware without losing overall compression quality from the upstream release.

Key features

  • Powerful MoE architecture: 320 billion total parameters and 18 billion active per token.
  • Maya interface: Full compatibility with the Maya v1.1.84 engine and the tools/iq_pack.py packer.
  • IQ2_XXS compression: The optimal balance between minimal memory footprint and preserved text generation quality.
  • Targeted fix: Exactly 8 tensors (ffn_up_exps) with mismatched gate types were repaired using the original importance matrix (imatrix).

What you can do

  • Run locally: Deploy the language model on a PC with an RTX 5070 Ti class GPU (16 GB VRAM) using the Maya engine.
  • Integrate into services: Connect the model to local text processing pipelines supporting up to 262k context tokens.
  • Test quantization: Use the build and packaging scripts to work with other GGUF quantization versions of this model.

Example

Example command for packing the model into the Maya engine format before launching:

MAYA_GGUF_PY=/third_party/llama.cpp/gguf-py /.venv/bin/python \
  /tools/iq_pack.py --gguf /<...>-00001-of-00003.gguf \
  --out /pack --compat-bf16
Read moreDetails
Total file size: 94.21 GB (instead of 96.63 GB upstream).
VRAM/RAM requirements: 14.7 GB engine VRAM, total RAM around 85.3 GB.
Generation speed: about 17 tokens per second in parallel mode (2 threads).
Limitations: vision modules (mmproj) were not tested and are considered unsupported in this build.
Discuss Telegram 0

Will it run?

Won't run

Not enough memory even for 4-bit. Below are GPUs you can rent.

  • GGUF IQ2_XXSweights 88 GB · ready files97 GB

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: Won't fit any home GPU — renting is cheaper.

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # jancirnodziewiaty/GLM-Steam-320B-A18B-v2-IQ2_XXS-MAYA
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download jancirnodziewiaty/GLM-Steam-320B-A18B-v2-IQ2_XXS-MAYA --local-dir ~/models/GLM-Steam-320B-A18B-v2-IQ2_XXS-MAYA
    # The model is in ~/models. How to run it is in the model card (link above).
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b41from November 25, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of GLM-Steam-320B-A18B-v2-IQ2_XXS-MAYA (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

jancirnodziewiaty/GLM-Steam-320B-A18B-v2-IQ2_XXS-MAYA
Author
jancirnodziewiaty
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

00

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments