Skip to content

Conversation

FlyingQianMM
Copy link
Collaborator

The origin implementation converts bn to sync_bn in the model for evaluation during the multi-gpu training phase, which is not necessarily and changes the training model graph, causes the gradient of multi-gpu cannot be gathered during later training backward:

image

so we remove the convertion.

…uring the training phase will change the training model graph
@nepeplwu nepeplwu self-assigned this Feb 1, 2024
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

3 participants