You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When percentile clipping is set to a value below 100 it triggers a future warning as the underlying method used to calculate the clipping values has been marked as deprecated:
Yes, percentile clipping itself is deprecated. We could make this more clear with a warning in the optimizers. Setting block_wise=False is a similar situation where we have marked a function it uses as deprecated in bitsandbytes.functional but it may be more clear if we warned when initializing an optimizer with it.
Closing this as resolved. As matthewdouglas confirmed, percentile clipping is deprecated, which is why the underlying function triggers a FutureWarning. This is by design. A clearer deprecation warning at optimizer initialization time would improve the UX, but the behavior is intentional.
Activity
matthewdouglas commentedon Jul 21, 2025
Thanks for the feedback!
Yes, percentile clipping itself is deprecated. We could make this more clear with a warning in the optimizers. Setting
block_wise=Falseis a similar situation where we have marked a function it uses as deprecated inbitsandbytes.functionalbut it may be more clear if we warned when initializing an optimizer with it.TimDettmers commentedon Feb 21, 2026
Closing this as resolved. As matthewdouglas confirmed, percentile clipping is deprecated, which is why the underlying function triggers a FutureWarning. This is by design. A clearer deprecation warning at optimizer initialization time would improve the UX, but the behavior is intentional.