Skip to content

Commit ac9e6a8

Browse files
committed
v0.1.4
1 parent 75e77fd commit ac9e6a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ pip install git+https://github.com/Tongjilibo/torch4keras.git
6565
- 简单示例: [turorials_mnist](https://github.com/Tongjilibo/torch4keras/blob/master/examples/turorials_mnist.py)
6666
6767
## 4. 版本说明
68+
- **v0.1.4**: 20230909 增加from_pretrained和save_pretrained方法,增加log_warn_once方法,compile()中可设置成员变量,默认move_to_model_device设置为True, 增加JsonConfig,增加_argparse_forward()方便下游继承改写Trainer
6869
- **v0.1.3**: 20230901 compile()可不传参,interval不一致报warning, 去除部分self.vars, 调整move_to_model_device逻辑,DDP每个epoch重新设置随机数,save_weights()和load_weights()可以按照`pretrained`格式
6970
- **v0.1.2.post2**: 20230821 代码结构调整,增加trainer.py文件,方便下游集成
7071
- **v0.1.2**: 20230812 修复DeepSpeedTrainer,修复DDP
@@ -85,7 +86,7 @@ pip install git+https://github.com/Tongjilibo/torch4keras.git
8586
- **v0.0.1**:20221019 初始版本
8687
8788
## 5. 更新:
88-
- **20230907**: 增加from_pretrained和save_pretrained方法,增加log_warn_once方法,compile()中可设置成员变量,默认move_to_model_device设置为True, 增加JsonConfig,增加_argparse_forward()方便下游继承改写Trainer
89+
- **20230909**: 增加from_pretrained和save_pretrained方法,增加log_warn_once方法,compile()中可设置成员变量,默认move_to_model_device设置为True, 增加JsonConfig,增加_argparse_forward()方便下游继承改写Trainer
8990
- **20230901**: compile()可不传参,interval不一致报warning, 去除部分self.vars, 调整move_to_model_device逻辑,DDP每个epoch重新设置随机数,save_weights()和load_weights()可以按照`pretrained`格式
9091
- **20230821**: 代码结构调整,增加trainer.py文件,方便下游集成
9192
- **20230812**: 修复DeepSpeedTrainer,修复DDP

0 commit comments

Comments
 (0)