Instructions to use zai-org/chatglm-6b-int4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/chatglm-6b-int4 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm-6b-int4", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add support for parallel quantization on Mac
duzx16f6b88da
-
Remove assert in load_cpu_kernel
duzx1663d66b0
-
Sync with chatglm-6b
duzx16f55a108
-
Add assertion when loading cpu and cuda kernel fails
songxxzp630d0ef -
Add assertion when loading cpu and cuda kernel fails
songxxzpbcc35f0 -
Update CPU kernel loading method
songxxzpc7d8998
-
Fix bugs when compiling cpu kernels
68873da
-
Synchronize with chatglm 6b repo
7aaf3fe
-
Fix parallel cpu kernel
7458231
-
Fix bugs in quantization when loading kernels
dac03c3
-
init commmit
a93efa9