Skip to content

Commit

Permalink
run pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Titus-von-Koeller committed Feb 2, 2024
1 parent 58566e2 commit 47cc3e9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.15
rev: v0.2.0
hooks:
- id: ruff
args:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/faqs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Please submit your questions in [this Github Discussion thread](https://github.c

We'll pick the most generally applicable ones and post the QAs here or integrate them into the general documentation (also feel free to submit doc PRs, please).

# ... under construction ...
# ... under construction ...
2 changes: 1 addition & 1 deletion docs/source/moduletree.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

- **bitsandbytes.functional**: Contains quantization functions (4-bit & 8-bit) and stateless 8-bit optimizer update functions.
- **bitsandbytes.nn.modules**: Contains stable embedding layer with automatic 32-bit optimizer overrides (important for NLP stability)
- **bitsandbytes.optim**: Contains 8-bit optimizers.
- **bitsandbytes.optim**: Contains 8-bit optimizers.
2 changes: 1 addition & 1 deletion docs/source/optimizers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ bnb.nn.StableEmbedding(...)

The arguments passed are the same as standard Adam. For NLP models we recommend also to use the StableEmbedding layers which improves results and helps with stable 8-bit optimization.

## Overview of supported 8-bit optimizers
## Overview of supported 8-bit optimizers

TOOD: List here all optimizers in `bitsandbytes/optim/__init__.py`
TODO (future) have an automated API docs through doc-builder
Expand Down

0 comments on commit 47cc3e9

Please sign in to comment.