From f9f74fda55ecc1742da5b643246e117b27b26dd2 Mon Sep 17 00:00:00 2001 From: duzx16 Date: Thu, 16 Mar 2023 00:30:43 +0800 Subject: [PATCH] Set is_parallelizable to False --- modeling_chatglm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modeling_chatglm.py b/modeling_chatglm.py index bdd2d93..a0f3b9a 100644 --- a/modeling_chatglm.py +++ b/modeling_chatglm.py @@ -610,7 +610,7 @@ class ChatGLMPreTrainedModel(PreTrainedModel): a simple interface for downloading and loading pretrained models. """ - is_parallelizable = True + is_parallelizable = False supports_gradient_checkpointing = False config_class = ChatGLMConfig base_model_prefix = "transformer"