mindspore-lab / mindnlp

Easy-to-use and high-performance NLP and LLM framework based on MindSpore, compatible with models and datasets of 🤗Huggingface.
https://mindnlp.cqu.ai/
Apache License 2.0
580 stars 151 forks source link

fix pylint error #1350

Closed SaladDay closed 3 weeks ago

SaladDay commented 3 weeks ago

mindspore在2.3.0之后在_parse_ckpt_proto方法中新增了一个入参crc_check; 因此通过判断版本号确定是否需要此参数。