Skip to content

Conversation

@Wangzheee
Copy link

@Wangzheee Wangzheee commented Nov 12, 2025

SUMMARY:
Add Int4PackedQuantizationCompressor for support wInt4aFp8

with llm-compressor PR: https://github.com/vllm-project/llm-compressor/pull/2027
with sglang PR: https://github.com/sgl-project/sglang/pull/11701

Copy link
Collaborator

@brian-dellabetta brian-dellabetta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Wangzheee , thanks for the contribution. Can you explain why this is needed, and why the PackedQuantizationCompressor can't be used instead? Perhaps it can subclass it to reduce redundant logic

@BaseCompressor.register(name=CompressionFormat.int4_quantized.value)
class Int4PackedQuantizationCompressor(BaseQuantizationCompressor):
"""
Compresses a quantized model by packing every eight 4-bit weights into an int8
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Compresses a quantized model by packing every eight 4-bit weights into an int8
Compresses a quantized model by packing every two 4-bit weights into an int8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants