-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bitsandbytes
- Linear8bitLt
integration into transformers
models
#17901
bitsandbytes
- Linear8bitLt
integration into transformers
models
#17901
Commits on Jun 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ed1dd12 - Browse repository at this point
Copy the full SHA ed1dd12View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9d0da6 - Browse repository at this point
Copy the full SHA b9d0da6View commit details
Commits on Jun 27, 2022
-
- works like charm! - cannot implement tests yet - tested
Configuration menu - View commit details
-
Copy full SHA for dd9a464 - Browse repository at this point
Copy the full SHA dd9a464View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35e1534 - Browse repository at this point
Copy the full SHA 35e1534View commit details
Commits on Jul 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d01822b - Browse repository at this point
Copy the full SHA d01822bView commit details
Commits on Jul 12, 2022
-
- added import function - added bitsandbytes utils file
Configuration menu - View commit details
-
Copy full SHA for 839c9cd - Browse repository at this point
Copy the full SHA 839c9cdView commit details -
Merge branch 'main' of https://github.com/huggingface/transformers in…
…to integration-8bit
Configuration menu - View commit details
-
Copy full SHA for 93a5ac6 - Browse repository at this point
Copy the full SHA 93a5ac6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42a6845 - Browse repository at this point
Copy the full SHA 42a6845View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97f64f8 - Browse repository at this point
Copy the full SHA 97f64f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1fe7fc - Browse repository at this point
Copy the full SHA a1fe7fcView commit details -
Apply suggestions from code review
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 05739e3 - Browse repository at this point
Copy the full SHA 05739e3View commit details -
- move bitsandbytes utils to utils - change comments on functions
Configuration menu - View commit details
-
Copy full SHA for 7816ef9 - Browse repository at this point
Copy the full SHA 7816ef9View commit details -
Merge branch 'integration-8bit' of https://github.com/younesbelkada/t…
…ransformers into integration-8bit
Configuration menu - View commit details
-
Copy full SHA for 1155549 - Browse repository at this point
Copy the full SHA 1155549View commit details -
- reformat docstring on init_empty_weights_8bit
Configuration menu - View commit details
-
Copy full SHA for b222b9a - Browse repository at this point
Copy the full SHA b222b9aView commit details -
Update src/transformers/__init__.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 32f48cd - Browse repository at this point
Copy the full SHA 32f48cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e116e21 - Browse repository at this point
Copy the full SHA e116e21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39c46a0 - Browse repository at this point
Copy the full SHA 39c46a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b92c25c - Browse repository at this point
Copy the full SHA b92c25cView commit details
Commits on Jul 13, 2022
-
- fixed init empty weights issue - added threshold param
Configuration menu - View commit details
-
Copy full SHA for 3779f5d - Browse repository at this point
Copy the full SHA 3779f5dView commit details
Commits on Jul 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b41c250 - Browse repository at this point
Copy the full SHA b41c250View commit details
Commits on Jul 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 311dcbf - Browse repository at this point
Copy the full SHA 311dcbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c91a58e - Browse repository at this point
Copy the full SHA c91a58eView commit details -
Configuration menu - View commit details
-
Copy full SHA for db16cf8 - Browse repository at this point
Copy the full SHA db16cf8View commit details
Commits on Jul 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for be6ce29 - Browse repository at this point
Copy the full SHA be6ce29View commit details -
Merge branch 'integration-8bit' of https://github.com/younesbelkada/t…
…ransformers into integration-8bit
Configuration menu - View commit details
-
Copy full SHA for 848d64d - Browse repository at this point
Copy the full SHA 848d64dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15a81e0 - Browse repository at this point
Copy the full SHA 15a81e0View commit details
Commits on Jul 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 514758d - Browse repository at this point
Copy the full SHA 514758dView commit details
Commits on Jul 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a09e055 - Browse repository at this point
Copy the full SHA a09e055View commit details -
Configuration menu - View commit details
-
Copy full SHA for 387aa1e - Browse repository at this point
Copy the full SHA 387aa1eView commit details
Commits on Jul 27, 2022
-
Apply suggestions from code review
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7199292 - Browse repository at this point
Copy the full SHA 7199292View commit details -
- remove with torch.grad - do not rely on Python bool magic!
Configuration menu - View commit details
-
Copy full SHA for a4c19c1 - Browse repository at this point
Copy the full SHA a4c19c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5cd157 - Browse repository at this point
Copy the full SHA a5cd157View commit details -
- comment `replace_8bit_linear` function - fix weird formatting
Configuration menu - View commit details
-
Copy full SHA for 9bd326b - Browse repository at this point
Copy the full SHA 9bd326bView commit details
Commits on Jul 28, 2022
-
- added new utility function for memory footprint tracking - colab demo to add
Configuration menu - View commit details
-
Copy full SHA for 6e4fee6 - Browse repository at this point
Copy the full SHA 6e4fee6View commit details -
- typo doc - force cast into float16 when load_in_8bit is enabled
Configuration menu - View commit details
-
Copy full SHA for 9e121b7 - Browse repository at this point
Copy the full SHA 9e121b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2ac688 - Browse repository at this point
Copy the full SHA a2ac688View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac370b9 - Browse repository at this point
Copy the full SHA ac370b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27e9486 - Browse repository at this point
Copy the full SHA 27e9486View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0db982 - Browse repository at this point
Copy the full SHA a0db982View commit details
Commits on Jul 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 21bd590 - Browse repository at this point
Copy the full SHA 21bd590View commit details -
Merge branch 'integration-8bit' of https://github.com/younesbelkada/t…
…ransformers into integration-8bit
Configuration menu - View commit details
-
Copy full SHA for f1fcf77 - Browse repository at this point
Copy the full SHA f1fcf77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b81c67 - Browse repository at this point
Copy the full SHA 9b81c67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 659f427 - Browse repository at this point
Copy the full SHA 659f427View commit details -
Configuration menu - View commit details
-
Copy full SHA for 147683e - Browse repository at this point
Copy the full SHA 147683eView commit details
Commits on Aug 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c2e1918 - Browse repository at this point
Copy the full SHA c2e1918View commit details -
- could not fix it from GitHub GUI Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f6eb945 - Browse repository at this point
Copy the full SHA f6eb945View commit details -
Configuration menu - View commit details
-
Copy full SHA for ceff43e - Browse repository at this point
Copy the full SHA ceff43eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55cec55 - Browse repository at this point
Copy the full SHA 55cec55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67bf4fb - Browse repository at this point
Copy the full SHA 67bf4fbView commit details -
Update src/transformers/modeling_utils.py
Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 56e9147 - Browse repository at this point
Copy the full SHA 56e9147View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a03a86 - Browse repository at this point
Copy the full SHA 5a03a86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7abb914 - Browse repository at this point
Copy the full SHA 7abb914View commit details -
Configuration menu - View commit details
-
Copy full SHA for 961e57e - Browse repository at this point
Copy the full SHA 961e57eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1326a42 - Browse repository at this point
Copy the full SHA 1326a42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a0051b - Browse repository at this point
Copy the full SHA 9a0051bView commit details
Commits on Aug 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 59f9a5a - Browse repository at this point
Copy the full SHA 59f9a5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 418690b - Browse repository at this point
Copy the full SHA 418690bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d93424 - Browse repository at this point
Copy the full SHA 6d93424View commit details -
Configuration menu - View commit details
-
Copy full SHA for d428d8d - Browse repository at this point
Copy the full SHA d428d8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0324f4b - Browse repository at this point
Copy the full SHA 0324f4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for af229c4 - Browse repository at this point
Copy the full SHA af229c4View commit details
Commits on Aug 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 70ad8cb - Browse repository at this point
Copy the full SHA 70ad8cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eedb90 - Browse repository at this point
Copy the full SHA 1eedb90View commit details -
Merge branch 'integration-8bit' of https://github.com/younesbelkada/t…
…ransformers into integration-8bit
Configuration menu - View commit details
-
Copy full SHA for 163ef77 - Browse repository at this point
Copy the full SHA 163ef77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8100d03 - Browse repository at this point
Copy the full SHA 8100d03View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9589f6 - Browse repository at this point
Copy the full SHA c9589f6View commit details
Commits on Aug 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for eb9a26d - Browse repository at this point
Copy the full SHA eb9a26dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 838e2a9 - Browse repository at this point
Copy the full SHA 838e2a9View commit details -
- remove dummy batches - no more CUDA illegal memory errors
Configuration menu - View commit details
-
Copy full SHA for c4a1e9b - Browse repository at this point
Copy the full SHA c4a1e9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31fce94 - Browse repository at this point
Copy the full SHA 31fce94View commit details
Commits on Aug 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3e4a2a4 - Browse repository at this point
Copy the full SHA 3e4a2a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdf37b3 - Browse repository at this point
Copy the full SHA fdf37b3View commit details
Commits on Aug 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 53e0b2e - Browse repository at this point
Copy the full SHA 53e0b2eView commit details
Commits on Aug 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 91364c4 - Browse repository at this point
Copy the full SHA 91364c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ea8976 - Browse repository at this point
Copy the full SHA 5ea8976View commit details -
- lm head can stay on disk/cpu - change model name so that test pass
Configuration menu - View commit details
-
Copy full SHA for 8b72d08 - Browse repository at this point
Copy the full SHA 8b72d08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32a4863 - Browse repository at this point
Copy the full SHA 32a4863View commit details -
- change test value to the correct output - torch bmm changed to baddmm in bloom modeling when merging
Configuration menu - View commit details
-
Copy full SHA for c6c139f - Browse repository at this point
Copy the full SHA c6c139fView commit details
Commits on Aug 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3d3224f - Browse repository at this point
Copy the full SHA 3d3224fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d5bc2b - Browse repository at this point
Copy the full SHA 0d5bc2bView commit details -
Apply suggestions from code review
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bc8f332 - Browse repository at this point
Copy the full SHA bc8f332View commit details -
Apply suggestions from code review
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5adcadc - Browse repository at this point
Copy the full SHA 5adcadcView commit details -
Apply suggestions from code review
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bb00e7a - Browse repository at this point
Copy the full SHA bb00e7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 630b4f7 - Browse repository at this point
Copy the full SHA 630b4f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a925641 - Browse repository at this point
Copy the full SHA a925641View commit details -
Configuration menu - View commit details
-
Copy full SHA for 279b8c4 - Browse repository at this point
Copy the full SHA 279b8c4View commit details -
- check the attribute `base_model_prefix` instead of computing the number of parameters
Configuration menu - View commit details
-
Copy full SHA for e49a2ea - Browse repository at this point
Copy the full SHA e49a2eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5718d78 - Browse repository at this point
Copy the full SHA 5718d78View commit details -
Update src/transformers/utils/bitsandbytes.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a40667a - Browse repository at this point
Copy the full SHA a40667aView commit details -
Merge branch 'integration-8bit' of https://github.com/younesbelkada/t…
…ransformers into integration-8bit
Configuration menu - View commit details
-
Copy full SHA for 61faa28 - Browse repository at this point
Copy the full SHA 61faa28View commit details
Commits on Aug 10, 2022
-
- fix typos for installation - change title in the documentation
Configuration menu - View commit details
-
Copy full SHA for 36fbbd2 - Browse repository at this point
Copy the full SHA 36fbbd2View commit details