Skip to content

Conversation

@kylesayrs
Copy link
Collaborator

@kylesayrs kylesayrs commented Jun 9, 2025

Purpose

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
@kylesayrs kylesayrs changed the title swap to dense [Hotfix] Implement method on dense compressor Jun 9, 2025
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Copy link
Collaborator

@shanjiaz shanjiaz left a comment

Choose a reason for hiding this comment

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

LGTM!

@kylesayrs kylesayrs merged commit cef3b60 into main Jun 10, 2025
1 check passed
@kylesayrs kylesayrs deleted the kylesayrs/fix-dense branch June 10, 2025 14:57
kylesayrs added a commit to vllm-project/llm-compressor that referenced this pull request Jun 10, 2025
## Purpose ##
* Fix example failure where sparsity stats were attempted to be computed
on a compressed model
* This happened because the `get_model_compressor` cannot compute
sparsity stats of a compressed model

## Prerequisites ##
* vllm-project/compressed-tensors#345

## Changes ##
* When saving checkpoints, call `get_model_compressor` on the
decompressed model (before it is compressed, not after)
* Do not save checkpoints with sparsity stats by default, due to high
runtime

## Testing ##
* Ran example to completion with reduced training duration

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
aireilly pushed a commit to aireilly/llm-compressor that referenced this pull request Jul 30, 2025
…-project#1528)

## Purpose ##
* Fix example failure where sparsity stats were attempted to be computed
on a compressed model
* This happened because the `get_model_compressor` cannot compute
sparsity stats of a compressed model

## Prerequisites ##
* vllm-project/compressed-tensors#345

## Changes ##
* When saving checkpoints, call `get_model_compressor` on the
decompressed model (before it is compressed, not after)
* Do not save checkpoints with sparsity stats by default, due to high
runtime

## Testing ##
* Ran example to completion with reduced training duration

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Etelis added a commit to Etelis/compressed-tensors that referenced this pull request Sep 11, 2025
* swap to dense

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

* update docstring

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.

5 participants