| feat: add PyNative mode trainer with callback system and comprehensive tests
- Add Trainer class supporting PyNative mode with train(), eval(), and get_batch() methods
- Implement callback system with CallbackHandler and TrainerCallback base class
- Add LossCallback for loss monitoring and logging
- Add CheckpointCallback for model checkpoint management
- Add TrainerState for tracking training state
- Implement comprehensive unit tests for all components
- Support pretrain and finetune training modes
- Add distributed training support with data parallelism
- Fix all pylint code style issues
| 4 个月前 |
| [Refactor]Refactor pynative structure: Move trainer and callback modules to mindformers/pynative and update test imports.
| 4 个月前 |
| [Refactor]Refactor pynative structure: Move trainer and callback modules to mindformers/pynative and update test imports.
| 4 个月前 |
| add testcase for trainer
| 6 个月前 |
| [master][refactor] Adapt ms context setting & getting.
| 2 个月前 |
| [Refactor]Refactor pynative structure: Move trainer and callback modules to mindformers/pynative and update test imports.
| 4 个月前 |