This is a quantized version of
zai-org/GLM-4.7-Flash, the strongest model in the 30B class that balances performance and efficiency.
GLM-4.7-Flash-Trellis-MM/
├── model-00001-of-00007.safetensors # ~2 GB each
├── model-00002-of-00007.safetensors
├── model-00003-of-00007.safetensors
├── model-00004-of-00007.safetensors
├── model-00005-of-00007.safetensors
├── model-00006-of-00007.safetensors
├── model-00007-of-00007.safetensors
├── model.safetensors.index.json # Weight map
├── base_weights.safetensors # Embeddings, norms (FP16)
├── config.json # Model config
├── tokenizer.json # Tokenizer
├── tokenizer_config.json
└── quantization_index.json # Quantization metadata
1from metal_marlin.trellis import TrellisForCausalLM
2from transformers import AutoTokenizer
3
4model = TrellisForCausalLM.from_pretrained(
5 "RESMP-DEV/GLM-4.7-Flash-Trellis-3.8bpw",
6 device="mps"
7)
8tokenizer = AutoTokenizer.from_pretrained("zai-org/GLM-4.7-Flash")
9
10prompt = "<|user|>\nExplain quantum computing in simple terms.\n<|assistant|>\n"
11input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to("mps")
12output = model.generate(input_ids, max_new_tokens=256, temperature=0.7)
13print(tokenizer.decode(output[0], skip_special_tokens=True))
1@misc{glm2025glm45,
2 title={GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Models},
3 author={GLM Team and Aohan Zeng and Xin Lv and others},
4 year={2025},
5 eprint={2508.06471},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL},
8 url={https://arxiv.org/abs/2508.06471},
9}