Error when running the model

#9
by zpeter97 - opened

Hi, when I was running the sample code, an error below occurred from mode.generate().

TypeError: _ignore_causal_mask_sdpa() got an unexpected keyword argument 'is_training'

Commenting out the line 1285 of modeling_exaone.py (is_training=self.training) solved the problem.
Is this only happens to me, or a common problem?

Thank you.

LG AI Research org
edited Aug 13

Have you checked the version of transformers? EXAONE-3.0-7.8B-Instruct requires transformers v4.41 or later.

Sign up or log in to comment