-
Notifications
You must be signed in to change notification settings - Fork 11
[Compressor][NVFP4] Support FP4 Compression #311
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
src/compressed_tensors/compressors/quantized_compressors/nvfp4_quantized.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really clean and easy to understand, awesome work
src/compressed_tensors/compressors/quantized_compressors/nvfp4_quantized.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/compressed_tensors/compressors/quantized_compressors/nvfp4_quantized.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
Summary
NVFP4Compressor
to compress FP4 weights into uint8Shoutout to @mgoin for helping speed up the packing functionality