CoolFace
Modelpublic

TheHouseOfTheDude/GLM-Steam-106B-A12B-v1_Compressed-Tensors

sourceHugging Facecc-by-nc-4.0updated 1y agoView on Hugging Face
0likes
Model Card

GLM‑Steam‑106B‑A12B‑v1 — Quantized (compressed‑tensors for vLLM)

This repository provides quantized runtime packages of [TheDrummer/GLM‑Steam‑106B‑A12B‑v1](https://huggingface.co/TheDrummer/GLM-Steam-106B-A12B-v1) (a finetune of [zai-org/GLM‑4.5‑Air](https://huggingface.co/zai-org/GLM-4.5-Air)), packaged for vLLM using the compressed‑tensors format.

TL;DR - This repo is quantized (branches: W4A16 and INT8‑W8A16) for vLLM. - Load with vLLM using --quantization compressed-tensors. - Typical W4A16 recipe: group_size=128, keep lm_head in higher precision; uses the upstream chat template of the parent finetune.

Revisions & Branches

The `main` branch is a placeholder landing branch (model card + links). All runnable artifacts live under per‑revision branches.
  • —main — placeholder / landing page
  • —W4A16 — 4‑bit weights / 16‑bit activations builds (AWQ W4A16) and related assets
  • —W8A16 — 8‑bit weights / 16‑bit activations builds

Quick links:

  • —🔗 [`main`](https://huggingface.co/TheHouseOfTheDude/GLM-Steam-106B-A12B-v1_Compressed-Tensors/tree/main)
  • —🔗 [`W4A16`](https://huggingface.co/TheHouseOfTheDude/GLM-Steam-106B-A12B-v1_Compressed-Tensors/tree/W4A16)
  • —🔗 [`W8A16`](https://huggingface.co/TheHouseOfTheDude/GLM-Steam-106B-A12B-v1_Compressed-Tensors/tree/INT8-W8A16)

What’s in this repo (per revision)

  • —Sharded quantized weights in .safetensors with an index (model.safetensors.index.json)
  • —config.json including compressed‑tensors metadata (e.g., weight_format, quantization, quantization_config)
  • —Tokenizer artifacts (tokenizer.json, tokenizer.model, etc.)
  • —Optional: chat_template.jinja (inherits the parent finetune’s chat format)
Exact files can differ by branch; see the Files and versions tab for each revision.

Quickstart — vLLM

Install vLLM (recent version recommended):

bash
pip install vllm

Serve (adjust to your hardware):

bash
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 vllm serve TheHouseOfTheDude/GLM-Steam-106B-A12B-v1_Compressed-Tensors   --quantization compressed-tensors   --tensor-parallel-size 8   --max-model-len 32768   --gpu-memory-utilization 0.70   --dtype bfloat16

Query via Chat Completions:

bash
curl http://localhost:8000/v1/chat/completions   -H "Content-Type: application/json"   -d '{
    "model": "TheHouseOfTheDude/GLM-Steam-106B-A12B-v1_Compressed-Tensors",
    "messages": [
      {"role":"system","content":"You are GLM-Steam, helpful, precise, and safe."},
      {"role":"user","content":"Outline a retrieval pipeline for scientific PDFs."}
    ],
    "max_tokens": 512,
    "temperature": 0.7,
    "top_p": 0.95
  }'
Note: compressed-tensors is a vLLM runtime format. Loading this artifact directly in vanilla 🤗 Transformers is not supported; use vLLM for inference. If you need Transformers inference, use a different export (e.g., GPTQ/AWQ compatible with Transformers) or full‑precision weights.

Prompting / Chat Template

This package follows the parent finetune’s chat format. If a chat_template.jinja is present in the branch, apply_chat_template will use it automatically.


Lineage


Hardware & Tips (rule‑of‑thumb)

  • —100B‑class models strongly prefer multi‑GPU deployments (e.g., 8× high‑VRAM).
  • —Long contexts are KV‑cache heavy—tune --max-model-len and batch size.
  • —Prefer BF16 on GPUs with native support; otherwise FP16.
  • —Consider CUDA Graphs if stable in your stack.

License & Usage

This distribution inherits the licenses/policies of both the base and finetuned models:

  • —Base: [zai-org/GLM‑4.5‑Air](https://huggingface.co/zai-org/GLM-4.5-Air)
  • —Finetune: [TheDrummer/GLM‑Steam‑106B‑A12B‑v1](https://huggingface.co/TheDrummer/GLM-Steam-106B-A12B-v1)

Use of the model constitutes acceptance of the upstream terms.


Changelog

  • —v1 (current) — Quantized compressed‑tensors exports for GLM‑Steam‑106B‑A12B‑v1; added W4A16 and INT8‑W8A16 revision branches; model card set for Quantized classification.