fix github issue for quantize (#49) 103caa4 verified
Yuxuan Zhang commited on
How to use zai-org/chatglm3-6b with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("zai-org/chatglm3-6b", trust_remote_code=True, device_map="auto")