Skip to content

Commit

Permalink
Revert "Ignore Dense sparsity config (#169)"
Browse files Browse the repository at this point in the history
This reverts commit 6ed94e6.
  • Loading branch information
rahul-tuli committed Oct 4, 2024
1 parent eb1c705 commit 98b62f1
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,6 @@ def __init__(
self.sparsity_compressor = None
self.quantization_compressor = None

if sparsity_config and sparsity_config.format == CompressionFormat.dense.value:
# ignore dense sparsity config
self.sparsity_config = None

if sparsity_config is not None:
self.sparsity_compressor = BaseCompressor.load_from_registry(
sparsity_config.format, config=sparsity_config
Expand Down

0 comments on commit 98b62f1

Please sign in to comment.