Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NMBottleneck bn momentum & epsilon #166

Merged
merged 1 commit into from
Feb 7, 2023
Merged

Update NMBottleneck bn momentum & epsilon #166

merged 1 commit into from
Feb 7, 2023

Conversation

KSGulin
Copy link

@KSGulin KSGulin commented Feb 7, 2023

When replacing the Bottleneck layers with our own custom, quantizable layers, the momentum and epsilon for batch norm weren't getting copied over properly, resulting in small differences in the output. With this fix, the outputs are identical

Test plan
Manual self-distillation runs without training, verifying the distillation loss is 0

@KSGulin KSGulin requested a review from a team February 7, 2023 12:26
@KSGulin KSGulin self-assigned this Feb 7, 2023
@KSGulin KSGulin requested review from natuan, markurtz and horheynm and removed request for a team February 7, 2023 12:26
@KSGulin KSGulin merged commit 778d4f5 into master Feb 7, 2023
KSGulin added a commit that referenced this pull request Feb 7, 2023
KSGulin added a commit that referenced this pull request Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants