Skip to content

Commit

Permalink
enforce eager mode with bnb quantization temporarily (vllm-project#6846)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenqianfzh authored Jul 27, 2024
1 parent b3af188 commit 7c1b18a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vllm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,10 @@ def verify_with_parallel_config(
raise ValueError(
"BitAndBytes quantization with TP or PP is not supported yet.")

if self.quantization == "bitsandbytes" and self.enforce_eager is False:
raise ValueError(
"BitAndBytes with enforce_eager = False is not supported yet.")

def get_hf_config_sliding_window(self) -> Optional[int]:
"""Get the sliding window size, or None if disabled."""

Expand Down

0 comments on commit 7c1b18a

Please sign in to comment.