PaddleDetection icon indicating copy to clipboard operation
PaddleDetection copied to clipboard

Some warnings when choosing --amp in training

Open AI-Passionner opened this issue 4 years ago • 6 comments

问题确认 Search before asking

  • [X] 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

I0525 15:25:52.560097 7904 layout_autotune.cc:28] Layout AutoTuning is not available. I0525 15:25:52.560097 7904 layout_autotune.cc:28] Layout AutoTuning is not available. I0525 15:25:52.560097 7904 layout_autotune.cc:28] Layout AutoTuning is not available. I0525 15:25:52.560097 7904 layout_autotune.cc:28] Layout AutoTuning is not available. I0525 15:25:52.561080 7904 layout_autotune.cc:28] Layout AutoTuning is not available. I0525 15:25:52.561080 7904 layout_autotune.cc:28] Layout AutoTuning is not available. I0525 15:25:52.561080 7904 layout_autotune.cc:28] Layout AutoTuning is not available. ....

AI-Passionner avatar May 25 '22 22:05 AI-Passionner

请问一下paddle用的什么版本,这个训练那个模型出现的 有完整的log嘛

lyuwenyu avatar May 26 '22 06:05 lyuwenyu

这个是amp的autotuning功能,应该是因为你的GPU不支持TensorCore,所以不能自动调优,打印出来了这个日志,不影响训练功能。

只是这条日志的级别需要调整下,我们后续会修复。

zhangting2020 avatar May 26 '22 06:05 zhangting2020

@zhangting2020 日志等级怎么调整,我也遇到一样的问题,刷很多看不到其他日志

Tim4AI avatar May 29 '22 09:05 Tim4AI

我也遇到同样的问题,请问大佬们都怎么解决的?

wenzonghui avatar May 29 '22 10:05 wenzonghui

我们在该功能的日志等级上设置存在问题,下个版本会修复。目前可以通过环境变量,避免日志的输出

export GLOG_minloglevel=2

zhangting2020 avatar Jun 22 '22 10:06 zhangting2020

paddle2.3.0或develop版本暂时不推荐amp训练,如需amp训练请使用paddle2.2.2版本。

nemonameless avatar Jun 22 '22 10:06 nemonameless