Skip to content

Conversation

Bourn3z
Copy link
Collaborator

@Bourn3z Bourn3z commented Apr 17, 2024

Thank you for your contribution to the MindOCR repo.
Before submitting this PR, please make sure:

Motivation

之前由于amp功能bug,LayoutLM系列模型全部通过手动插入cast算子的方式,实现混合精度训练加速。现经过验证问题已解决,因此整改LayoutLM系列模型代码,调整yaml中控制混合精度参数的方式。

use_float16: True

Test Plan

(How should this PR be tested? Do you require special setup to run the test or repro the fixed bug?)

Related Issues and PRs

(Is this PR part of a group of changes? Link the other relevant PRs and Issues here. Use https://help.github.com/en/articles/closing-issues-using-keywords for help on GitHub syntax)

@Bourn3z Bourn3z force-pushed the dev-layoutlm branch 3 times, most recently from 7a8567d to 3d716b6 Compare April 17, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant