Oneflow-Inc / swin-transformer

0 stars 0 forks source link

Swin-Transformer graph 完整训练实验 #12

Open Ldpe2G opened 2 years ago

Ldpe2G commented 2 years ago

graph 1d sbp 完整训练

swin 实验分支 https://github.com/Oneflow-Inc/swin-transformer/pull/11

该实验分支主要是,基于 swin_clean_ldp_graph 分支,替换模型中的模块为 libai 库中对应的模块,然后验证精度。

有几个地方没有完全对齐的 ddp :

实验1

Framework Init Method Version Epoch Avg Time for Each Epoch Acc@1 Log
DDP(历史数据) 随机初始化 master nightly 0.7.0.dev20210119+cu112 300 ~58s 78.92% log
graph 1d sbp 随机初始化 master 编译,commit id e57148c579e5596dc3303a092f336fb5384d5353 300 ~36s 78.56% log

实验结论