Skip to content

Commit

Permalink
make lint pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Qubitium authored Feb 7, 2025
1 parent 5623936 commit e41bdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/model_executor/layers/quantization/gptq_marlin.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def get_quant_method(
layer, ParallelLMHead) and self.lm_head_quantized
if isinstance(layer, LinearBase) or parallel_lm_head_quantized:
# False = skip module, None = no override, else = Positive match
if self.get_dynamic_override(layer_name=prefix) == False:
if self.get_dynamic_override(layer_name=prefix) == False: # noqa: E712
return UnquantizedEmbeddingMethod(

Check failure on line 212 in vllm/model_executor/layers/quantization/gptq_marlin.py

View workflow job for this annotation

GitHub Actions / pre-commit

Ruff (E712)

vllm/model_executor/layers/quantization/gptq_marlin.py:211:16: E712 Avoid equality comparisons to `False`; use `if not ...:` for false checks
) if parallel_lm_head_quantized else UnquantizedLinearMethod()

Expand Down

0 comments on commit e41bdd7

Please sign in to comment.