Skip to content

Guard winsorized weights against percentile overshoot#190

Closed
neuralsorcerer wants to merge 3 commits intofacebookresearch:mainfrom
neuralsorcerer:win
Closed

Guard winsorized weights against percentile overshoot#190
neuralsorcerer wants to merge 3 commits intofacebookresearch:mainfrom
neuralsorcerer:win

Conversation

@neuralsorcerer
Copy link
Collaborator

Added post-winsorization clipping that uses original percentile bounds to prevent numerical overshoots when trimming weights.

@meta-codesync
Copy link

meta-codesync bot commented Dec 2, 2025

@talgalili has imported this pull request. If you are a Meta employee, you can view this in D88137688.

@talgalili
Copy link
Contributor

Thanks!
I'll land this today.

@meta-codesync
Copy link

meta-codesync bot commented Dec 2, 2025

@talgalili merged this pull request in 421d23e.

@neuralsorcerer neuralsorcerer deleted the win branch December 2, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Fix FAILED tests/test_balancedf.py::TestBalanceWeightsDF::test_BalanceWeightsDF_trim - AssertionError: False is not true

3 participants