Skip to content

[Bugfix] Temporarily disable gptq_bitblas on ROCm #17411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/features/quantization/supported_hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The table below shows the compatibility of various quantization implementations
* ✅︎
* ✅︎
* ✅︎
* ✅︎
*
* ❌
* ❌
* ❌
Expand Down
5 changes: 5 additions & 0 deletions vllm/model_executor/layers/quantization/gptq_bitblas.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
PackedColumnParameter,
PackedvLLMParameter,
RowvLLMParameter)
from vllm.platforms import current_platform
from vllm.scalar_type import scalar_types

logger = init_logger(__name__)
Expand Down Expand Up @@ -190,6 +191,10 @@ def is_gptq_bitblas_compatible(cls, quant_config: Dict[str, Any]):
sym = quant_config.get("sym")
desc_act = quant_config.get("desc_act")

# temporarily disable on ROCm platform
if not current_platform.is_cuda():
return False

# If we cannot find the info needed in the config, cannot convert.
if (num_bits is None or group_size is None or sym is None
or desc_act is None):
Expand Down