Skip to content

Commit a1238bf

Browse files
committed
v0.2.4
1 parent 49b4d01 commit a1238bf

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ pip install git+https://github.com/Tongjilibo/torch4keras.git
6868
## 4. 版本历史
6969
|更新日期| 版本 | 版本说明 |
7070
|------| ----------------- |----------- |
71+
|20240619|v0.2.4|trainer中可调用nn.Module方法,增加AutoTrainer|
7172
|20240603|v0.2.3|去除对torch依赖,snippets部分可用;移动bert4torch中snippets|
7273
|20240418|v0.2.2|增加YamlConfig和IniConfig, 优化deepspeed的使用,修复`_prepare_inputs`的bug,修复断点续训`SmoothMetricsCallback`起点错误的bug, Trainer断点续训记录batch数|
7374
|20240317|v0.2.1.post2 |训练异常时保存权重,避免空数据集error,默认指标使用滑窗平滑,BaseModelDDP修改的更易用,mapping允许是函数更易用,Checkpoint增加save_on_train_end,增加SystemCallback,修改run_callback=False的bug, 适配build_MiniLLM_from_scratch, 修复ddp中mix_precision和torch重名的bug|

docs/History.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 更新历史
22

3+
- **20240619**: trainer中可调用nn.Module方法,增加AutoTrainer
34
- **20240603**: 去除对torch依赖,snippets部分可用;移动bert4torch中snippets
45
- **20240418**: 增加YamlConfig和IniConfig, 优化deepspeed的使用,修复`_prepare_inputs`的bug,修复断点续训`SmoothMetricsCallback`起点错误的bug, Trainer断点续训记录batch数
56
- **20240317**: 训练异常时保存权重,避免空数据集error,默认指标使用滑窗平滑,BaseModelDDP修改的更易用,mapping允许是函数更易用,Checkpoint增加save_on_train_end,增加SystemCallback,修改run_callback=False的bug, 适配build_MiniLLM_from_scratch, 修复ddp中mix_precision和torch重名的bug

docs/Update.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
|更新日期| 版本 | 版本说明 |
44
|------| ----------------- |----------- |
5+
|20240619|v0.2.4|trainer中可调用nn.Module方法,增加AutoTrainer|
56
|20240603|v0.2.3|去除对torch依赖,snippets部分可用;移动bert4torch中snippets|
67
|20240418|v0.2.2|增加YamlConfig和IniConfig, 优化deepspeed的使用,修复`_prepare_inputs`的bug,修复断点续训`SmoothMetricsCallback`起点错误的bug, Trainer断点续训记录batch数|
78
|20240317|v0.2.1.post2 |训练异常时保存权重,避免空数据集error,默认指标使用滑窗平滑,BaseModelDDP修改的更易用,mapping允许是函数更易用,Checkpoint增加save_on_train_end,增加SystemCallback,修改run_callback=False的bug, 适配build_MiniLLM_from_scratch, 修复ddp中mix_precision和torch重名的bug|

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name='torch4keras',
10-
version='v0.2.3',
10+
version='v0.2.4',
1111
description='Use torch like keras',
1212
long_description=long_description,
1313
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)