Commit Graph

1952 Commits

Author SHA1 Message Date
YWMditto
3bbf27283d little change 2022-04-15 00:17:50 +08:00
x54-729
f6f489dc90 多卡 set_dist_repro_dataloader 的测试例 2022-04-14 16:17:20 +00:00
YWMditto
a61f3975d7 little change 2022-04-15 00:17:01 +08:00
x54-729
98644d2d0b fix conflict 2022-04-14 16:05:53 +00:00
x54-729
b97962b8dd 简化paddle trainer的单卡测试例 2022-04-14 16:04:56 +00:00
x54-729
5c29cd384a 调整num_consumed_batches在driver save中的逻辑 2022-04-14 16:04:12 +00:00
yh_cc
a4b2e0fac5 修复若干bug 2022-04-15 00:01:29 +08:00
YWMditto
2924e2117f 删除了 driver 中的 **_step,使用 model_call 和 get_model_call_fn 来代替;删除了 driver 中的所有 dataloaders 2022-04-14 23:34:35 +08:00
MorningForest
4cad7f548d Merge remote-tracking branch 'refs/remotes/origin/dev0.8.0' into dev0.8.0 2022-04-14 19:37:02 +08:00
MorningForest
4be26c5620 修改torch fdl 2022-04-14 19:36:50 +08:00
yh_cc
8a0ffd6278 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-14 16:02:55 +08:00
yh_cc
16a467393c 1.montior允许传入callable的对象进行选择; 2.解决Sampler中存在的循环引用问题 2022-04-14 16:02:41 +08:00
x54-729
17abdb12f6 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-14 08:01:41 +00:00
x54-729
7c6e8b20a8 small 2022-04-14 08:01:14 +00:00
x54-729
64fa182aeb 修改断点重训部分逻辑 2022-04-14 08:01:04 +00:00
YWMditto
1452aa8f6c 修复了 dist 为 None 时的 set_dist_repro_dataloader 的逻辑 2022-04-14 13:50:53 +08:00
x54-729
ca93fccf62 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-13 16:57:20 +00:00
YWMditto
2f23d80ccc 修改了 trainer 中的 validate 的调用的逻辑 2022-04-14 00:45:17 +08:00
YWMditto
8c0b0b8cd0 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-13 19:09:34 +08:00
YWMditto
b9b0b53430 将 Events 修改为小写 2022-04-13 19:09:27 +08:00
x54-729
2b763138d0 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-13 09:06:13 +00:00
x54-729
d2439fe443 修复_MetricsWrapper update传参的bug 2022-04-13 09:05:21 +00:00
yh_cc
31c6d5d02a merge 2022-04-13 17:05:16 +08:00
yh_cc
9d71170bef 解决Trainer在断点重训的时候无法实现准确load和保存的问题 2022-04-13 17:04:33 +08:00
x54-729
f87723e2eb small 2022-04-13 08:40:26 +00:00
YWMditto
1ac9e75c50 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-13 15:37:15 +08:00
YWMditto
3ee6fc66f5 添加了 on_after_optimizers_step 和 on_after_zero_grad 的callback接口 2022-04-13 15:37:08 +08:00
x54-729
c2575ab357 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-13 07:33:40 +00:00
x54-729
3ab93b2fae paddle driver单卡和utils的pytest测试,添加了断点重训的测试 2022-04-13 07:33:27 +00:00
YWMditto
eb8d761a05 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-13 14:27:08 +08:00
YWMditto
76a1e69022 little change 2022-04-13 14:27:01 +08:00
x54-729
5acaeabae4 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-13 05:27:09 +00:00
yh_cc
e8d11cd5a9 1. 修复torch 分布式在不同版本中group参数default值不一样的问题; 2. torch修复多卡时只有batchsampler evaluate会遇到bug的问题; 3。logger增加warning_once接口;4.增加callback相关文档 2022-04-13 12:55:28 +08:00
x54-729
c61f28ce8e Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-12 20:48:47 +00:00
YWMditto
8c22d0b1f6 修改了 Trainer.on 的错误提示 2022-04-12 22:47:39 +08:00
x54-729
a5b2ccf759 update 2022-04-12 09:36:51 +00:00
x54-729
a589cb5ddc Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-12 09:24:16 +00:00
YWMditto
1443065cbd Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-12 17:00:18 +08:00
YWMditto
5419b6a042 填了了关闭参数匹配的逻辑;添加了 trainer 中获取 driver 参数的接口 2022-04-12 17:00:07 +08:00
x54-729
e08ae33bfd Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-12 08:48:16 +00:00
MorningForest
7a68f90b56 增加ClassifyF1PreRecMetric的多卡测试用例 2022-04-12 16:06:25 +08:00
x54-729
fcd5125009 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-12 07:34:44 +00:00
MorningForest
ab3b66715e Merge remote-tracking branch 'refs/remotes/origin/dev0.8.0' into dev0.8.0 2022-04-12 13:52:13 +08:00
MorningForest
c7616f8ba8 修改ClassifyF1PreRecMetric及对应的测试用例 2022-04-12 13:51:54 +08:00
yh_cc
a6ff3f8cc3 1. 将带有Monitor的callback都抽象为HasMonitorCallback,并由这个父类进行monitor的设置和检验的; 2.支持从Trainer中设置monitor给所有的Callback使用;3.新增EarlyStopCallback. 2022-04-12 13:49:03 +08:00
YWMditto
6c333b0f6e Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-04-12 11:43:33 +08:00
YWMditto
57caf1d028 checkpoint callback 加入了 on_after_trainer_initialized 的逻辑 2022-04-12 11:43:26 +08:00
yh_cc
92b00d825f 修改fastnlp的dist功能 2022-04-12 02:19:28 +08:00
x54-729
00b5baf67a 整理PaddleSingleDriver的部分测试例 2022-04-11 17:39:19 +00:00
yh_cc
d10c6395f2 f_rich_progress不吃掉python prompt; evalutor在结束之后正常消失progres bar 2022-04-11 23:11:52 +08:00