Instructions to use zai-org/chatglm-6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/chatglm-6b with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm-6b", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
support multi gpu and remove some bug
#16
by yuanzhoulvpi - opened
- 支持多GPU训练,之前是不支持的(主要做的是修改了部分变量的device id)
- 在多卡并行的时候,会遇到(TypeError: 'NoneType' object is not subscriptable)。主要是因为
RotaryEmbedding的forward部分。已经把这个bug修改了。
yuanzhoulvpi changed pull request status to closed