Skip to content

Conversation

@kylesayrs
Copy link
Collaborator

Purpose

Changes

  • modify apply_quantization_config to return a dictionary of schemes rather than a dictionary of args

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Copy link
Collaborator

@rahul-tuli rahul-tuli left a comment

Choose a reason for hiding this comment

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

Great Work @kylesayrs

@kylesayrs kylesayrs merged commit c84b5b4 into main May 2, 2025
1 check passed
@kylesayrs kylesayrs deleted the kylesayrs/compress-logic branch May 2, 2025 19:55
Etelis added a commit to Etelis/compressed-tensors that referenced this pull request Sep 11, 2025
…m-project#307)

* use map_module_to_scheme, _should_save_zp

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>

* remove unused import

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>

* remove unused imports

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>

* rename to _skip_zp

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>

* type hint nit

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>

* safetensors function signature is weird

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>

* make apply_quantization_config return module to scheme, as stated

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>

---------

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
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.

4 participants