Fix Params4bit tensor subclass handling by ved1beta · Pull Request #1719 · bitsandbytes-foundation/bitsandbytes
Navigation Menu
{{ message }}
bitsandbytes-foundation / bitsandbytes Public
- Notifications You must be signed in to change notification settings
- Fork 828
Merged
matthewdouglas merged 3 commits intobitsandbytes-foundation:mainfrom
Aug 6, 2025Merged
Fix Params4bit tensor subclass handling#1719
matthewdouglas merged 3 commits intobitsandbytes-foundation:mainfrom
Fix Params4bit tensor subclass handling#1719
matthewdouglas merged 3 commits intobitsandbytes-foundation:mainfrom
Conversation
Copy link
Contributor
ved1beta
commented
Jul 31, 2025
ved1beta
commented
fix #1424
Added torch_function method to intercept torch.chunk and torch.split operations
Preserves all quantization attributes when creating new tensor chunks
@djsaunde
ved1beta added 2 commits
August 1, 2025 00:14
djsaunde
mentioned this pull request
Copy link
djsaunde
commented
Aug 3, 2025
djsaunde commented
Aug 3, 2025
matthewdouglas
added
the
FSDP
label
matthewdouglas
added this to the
v0.47.0 milestone
Copy link
Member
matthewdouglas
commented
Aug 4, 2025
matthewdouglas commented
Aug 4, 2025Thanks! This seems good to me. Would you mind fixing the lint issues? It looks to just be whitespace mostly.
matthewdouglas previously approved these changes Aug 4, 2025
ved1beta
dismissed
matthewdouglas’s stale review
via
0ecb8fb
Copy link
github-actions
bot
commented
Aug 4, 2025
github-actions bot commented
Aug 4, 2025The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
Copy link
djsaunde
commented
Aug 4, 2025
djsaunde commented
Aug 4, 2025FYI, we just merged a patch including this fix into Axolotl.
Copy link
Member
matthewdouglas
commented
Aug 6, 2025
matthewdouglas commented
Aug 6, 2025I haven't tested out FSDP2 with this myself, but if it works for Axolotl, happy to merge! Thanks for the contribution @ved1beta!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment