Commit Graph

2136 Commits

Author SHA1 Message Date
x54-729
d79de6b008 1. 继续完善部分文档;2.删除 paddle 多卡下的 data_device 功能 3. 将 paddle_utils 下的 get_device_from_visible 函数更名为 _convert_data_device 并进行修改 2022-05-10 10:58:40 +00:00
x54-729
9a15af88d7 如果用户没有设置backend且用launch启动了多卡,添加相应的提醒 2022-05-10 08:10:48 +00:00
x54-729
4fbca22267 small 2022-05-10 07:54:17 +00:00
x54-729
4885b8237c 在 Trainer 中添加对 paddle_kwargs 的说明 2022-05-10 07:53:39 +00:00
x54-729
7f42451d6d Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-10 07:31:46 +00:00
yh_cc
7763b2e087 新增Callback on_load_checkpoint测试 2022-05-10 11:51:12 +08:00
x54-729
a34a40dfae 在分布式训练中,为USER_CUDA_VISIBLE_DEVICES为None的情况添加提醒 2022-05-09 19:56:15 +00:00
x54-729
ef892a7aed 1. 支持在不设置backend的情况下运行单卡的paddle程序 2.当通过launch启动且限制显卡时的paddle多卡逻辑 2022-05-09 19:38:01 +00:00
yh_cc
8c8cf70959 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-10 02:37:07 +08:00
yh_cc
2b9e09e07a 修复filter state bug 2022-05-10 02:37:01 +08:00
x54-729
3af4732f55 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-09 14:54:40 +00:00
x54-729
49cf176e74 完善文档;更改文档设置,现在可以展示参数的默认值了 2022-05-09 14:54:30 +00:00
yh_cc
5d8d577399 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-09 21:52:50 +08:00
yh_cc
cb5aa37015 补充部分文档 2022-05-09 21:52:43 +08:00
YWMditto
00a6c52440 添加了trainer 的文档1 2022-05-09 21:19:29 +08:00
x54-729
13fd67a041 删除混合模型相关的设置 2022-05-09 12:54:08 +00:00
x54-729
2a44af2519 为 test_trainer_jittor 添加 DummyClass 和 pytest.mark.jittor 2022-05-09 11:34:55 +00:00
x54-729
34698f0f9e 删除 mix_module 和 torch_paddle_driver 的内容 2022-05-09 11:34:15 +00:00
YWMditto
32393006ae 修复了冲突 2022-05-09 17:58:27 +08:00
YWMditto
b7a8837f9d 添加了一些文档1 2022-05-09 17:57:38 +08:00
x54-729
665680a0fe Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-09 08:59:18 +00:00
x54-729
fe449bd543 删除 initialize_paddle_driver 对参数 driver的限制,使得它能够根据 device 初始化 driver 2022-05-09 08:59:03 +00:00
yh_cc
5d48d83942 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-09 16:40:01 +08:00
yh_cc
68b010d361 修复 Trainer中的evaluate_mapping bug 2022-05-09 16:39:35 +08:00
x54-729
afe54d3fe4 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-09 08:31:11 +00:00
YWMditto
3f00642ba1 修复了冲突 2022-05-09 14:36:37 +08:00
YWMditto
02738b84bf little change 2022-05-09 14:35:21 +08:00
YWMditto
bcc66b43cf 修改了 trainer 和 evaluator 的 torch_kwargs 2022-05-09 14:35:11 +08:00
yh_cc
47a63c27f7 1.修改部分注释; 2.增加prepare_dataloader函数;3.paddle的paddler修改为先集中使用numpy pad再一把to_tensor 2022-05-09 01:29:11 +08:00
x54-729
e42be5d2a4 修改 initialize_paddle_driver 中的 warning 为 info 2022-05-08 13:08:23 +00:00
x54-729
484b932772 删除PaddleDriver.zero_grad对set_to_none的warning 2022-05-08 12:56:10 +00:00
yh_cc
f943f17e60 merge 2022-05-08 00:49:19 +08:00
yh_cc
c3ac163255 删除转换参数 2022-05-07 23:52:04 +08:00
x54-729
b13c086750 文档的初步设置 2022-05-07 15:48:58 +00:00
x54-729
b56903bd11 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-07 15:29:45 +00:00
x54-729
a66844cde4 small 2022-05-07 15:29:37 +00:00
yh_cc
80a7dbfbda 防止 dtype 为空 2022-05-07 21:58:04 +08:00
x54-729
f27ff80fce Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-07 09:50:56 +00:00
x54-729
1c36ecdab4 微调文档格式 2022-05-07 09:50:48 +00:00
yh_cc
f1fa665e7c merge 2022-05-07 14:14:46 +08:00
yh_cc
22c4a6ef3d 1.ResultsMonitor;2.修改了Evaluator中metric名称的实现方式 2022-05-07 14:13:55 +08:00
Letian Li
a294955e32
[bugfix] 支持 Jittor single driver,并添加测试用例 (#413)
* 支持 Jittor single driver

* 提交对 Jittor single driver 的测试用例
2022-05-07 13:13:42 +08:00
x54-729
6b056d60cb Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-06 11:46:41 +00:00
x54-729
734affed76 修正部分文档的格式问题 2022-05-06 11:46:30 +00:00
MorningForest
9f6b9544a0 Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-06 15:37:00 +08:00
MorningForest
1ecf423013 修改测试用例 2022-05-06 15:36:51 +08:00
yh_cc
16c986af9d 调整默认ProgressCallback在callback中的位置 2022-05-06 15:31:58 +08:00
yh_cc
79d718d23f merge 2022-05-06 14:33:49 +08:00
yh_cc
2a80a9de44 Trainer.on支持*args等形式的输入 2022-05-06 14:32:25 +08:00
x54-729
92befbecdd Merge branch 'dev0.8.0' of github.com:fastnlp/fastNLP into dev0.8.0 2022-05-05 17:06:33 +00:00