Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-tuli committed Oct 23, 2024
1 parent e5bfd8a commit 1a7cdba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_quantization/lifecycle/test_apply.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from compressed_tensors.quantization.lifecycle import (
apply_quantization_config,
apply_quantization_status,
find_compression_targets,
expand_targets,
)
from compressed_tensors.quantization.utils import iter_named_leaf_modules
from transformers import AutoModelForCausalLM
Expand Down Expand Up @@ -296,6 +296,6 @@ def test_apply_quantization_status(caplog, ignore, should_raise_warning):
),
],
)
def test_find_compression_targets(model, targets, ignore, expected):
actual_targets = find_compression_targets(model, targets, ignore)
def test_expand_targets(model, targets, ignore, expected):
actual_targets = expand_targets(model, targets, ignore)
assert actual_targets == expected

0 comments on commit 1a7cdba

Please sign in to comment.