1. Support csanmt exporting to savedmodel format
2. Create a new base class for text-ranking preprocessors, and move some parameters of mgeo_ranking_preprocessor to init method
3. Avoid Model & Preprocessor classes coupled with pytorch
4. Regression test supports comparing only model output
5. Support zero-shot exporting to onnx and torchscript
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/11522461
tensorboard has been removed from the requirements of framework.txt, so we remove tensorboard hook from default config
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/11519980
* remove tensorboard hook as default
* Merge branch 'master' into fix/remove_default_tensorboard_hook
1. add support for configuration for gpu_collect and cache_dir which is used for cpu result gathering, configuration example
```json
"evaluation": {
"gpu_collect": false,
"cache_dir": "path/to/your/local/cache"
}
```
2. fix logger file missing when log_file is passed to get_logger and add log_file for trainer
3. automatically create work_dir in rank0 worker
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/11342068
* add support for configuration for tmpdir and gpu_collect
1. Support `ReduceLROnPlateau` lr scheduler, and add `PlateauLrSchedulerHook` for it
2. Support custom `optimizer_hook` and `lr_scheduler_hook`
3. Remove function of save best ckpt from `EvaluationHook`, replace with `BestCkptSaverHook`
4. `evaluation_loop` return metric values directly,move metric computation to `single_gpu_test` and `multi_gpu_test`
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9584322
* [to #43627720] support ReduceLROnPlateau and fix lr scheduler
co-contributed with 夕陌&雨泓
* add torch epoch based trainer and dis utils
* add hooks including optimizer, lrscheduler, logging, checkpoint, evaluation, time profiling
* add torch mdoel base and test
* add optimizer and lrscheduler module
* add sbert for text classification example
* add task_dataset for dataset-level processor
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9338412