We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4e26c6 commit f999f68Copy full SHA for f999f68
vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors.py
@@ -113,7 +113,7 @@ def _sparsity_scheme_map_from_config(
113
:return: A dictionary mapping target layer names to their corresponding
114
sparsity compression configurations
115
"""
116
- if (sparsity_config := config.get(SPARSITY_CONFIG_NAME)) is None:
+ if not (sparsity_config := config.get(SPARSITY_CONFIG_NAME)):
117
return dict()
118
119
sparsity_config = SparsityCompressionConfig.model_validate(
0 commit comments