Observed since 20 Oct, 19:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AdamWClip is an optimizer that extends AdamW with adaptive gradient clipping.
AdamWClip is an optimizer that extends AdamW with adaptive gradient clipping. It automatically adapts the gradient clipping thresholds to the gradient statistics of each parameter resulting in equivariant thresholds with respect to scaling the gradients. This makes finding suitable clipping thresholds much easier (usually, the default threshold of AdamWClip is good to go). Furthermore, by directly utilizing the internal state variables of Adam, AdamWClip doesn't require additional memory (and only a marginal computational overhead).
To use AdamWClip in your pytorch project, simply run the following:
%pip install AdamWClip
from AdamWClip import AdamWClip
...
optimizer = AdamWClip(model.parameters(),*args)
On top of the standard parameters from AdamW, AdamWClip offers the following additional parameters:
In most instances, the default values should be fine.
If this optimizer becomes useful to you, please consider citing this repository :)
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.4 | 2 Mar 2026 | 1 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:7febb1763aea7f6eb831df86e9fd9bf9251b15ba46c03c7349d6612592dd62dc