Skip to content

Commit

Permalink
[Misc] Temporarily resolve the error of BitAndBytes (vllm-project#7308)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeejeelee authored Aug 8, 2024
1 parent 8334c39 commit a049b10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vllm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ def verify_with_parallel_config(
"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.")
logger.warning("CUDA graph is not supported on BitAndBytes yet, "
"fallback to the eager mode.")
self.enforce_eager = True

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

0 comments on commit a049b10

Please sign in to comment.