| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…bit Adam classes Replace misleading "Note:" docstring entries with proper `.. deprecated::` Sphinx directives in Adam8bit, PagedAdam8bit, AdamW8bit, and PagedAdamW8bit. These parameters exist only for signature compatibility with the base Adam/AdamW classes and will be removed in a future version. Add test coverage for the Adam8bit/AdamW8bit parameter validation guards which previously only existed for LAMB8bit and Adagrad8bit. Fixes bitsandbytes-foundation#1261
| Back | FazBrowse Home | New Git URL |
Summary
What's the problem?
The amsgrad and optim_bits parameters in the 8-bit Adam optimizer classes have docstrings that describe them as functional parameters with a small "Note:" afterthought. This is misleading — these params exist only for signature compatibility with the base Adam/AdamW classes and are completely non-functional (hardcoded to 8-bit, amsgrad raises ValueError).
Changes
No breaking changes — params remain in the signature for backwards compatibility.
Fixes #1261