Instructions to use zai-org/glm-4-9b-chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/glm-4-9b-chat with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/glm-4-9b-chat", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
qunatizer部分的为什么去掉了?
#10
by fukai - opened
什么时候发布8bit版本,希望能够提供,先感谢了
包括 4bits 的
使用load in 4bit / 8bit可以使用,目前没有提供量化后的模型
We got autogptq 4bit models:
https://huggingface.co/LnL-AI/glm-4-9b-gptq-4bit-qubitium-r1
https://huggingface.co/LnL-AI/glm-4-9b-chat-gptq-4bit-qubitium-r1
@zRzRzRzRzRzRzR Please test our PRs that patches glm-4 with our. autogptq PR for quants.
4bit测试可以运行,8bit测试推理卡死了。gpu=v100
zaiorg changed discussion status to closed