InternEvo icon indicating copy to clipboard operation
InternEvo copied to clipboard

[Typo] `schedulder` -> `scheduler`

Open Spico197 opened this issue 1 year ago • 1 comments
trafficstars

Describe the question.

A typo is found when loading and saving scheduler states:

https://github.com/InternLM/InternEvo/blob/be3291090bf080984d98bb811143288057d492ee/internlm/utils/model_checkpoint.py#L857

Maybe it's a better option to aggregate all constant variables into a single module and modify the file directly for global change?

https://github.com/huggingface/transformers/blob/efdd436663436e78d8ad3213d11325d86578db95/src/transformers/trainer.py#L246-L253

Spico197 avatar Feb 20 '24 11:02 Spico197