Cannot load model with transformers ==5.3.0

#46
by xinhe - opened

Hi, do we have the plan to support transformers >= 5.0? I met below errors when loading this model with transformers==5.3.0

  1. AttributeError: 'ChatGLMConfig' object has no attribute 'max_length'. Did you mean: 'seq_length' (could be fixed by changing the name in modeling, then I got the second error.)
  2. AttributeError: 'ChatGLMForConditionalGeneration' object has no attribute 'all_tied_weights_keys'

Sign up or log in to comment