mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-16 06:35:01 +08:00
[BugFix] Force registration of w8a8_block_fp8_matmul_deepgemm via lazy import (#19514)
Signed-off-by: Varun Sundar Rabindranath <vsundarr@redhat.com> Co-authored-by: Varun Sundar Rabindranath <vsundarr@redhat.com>
This commit is contained in:
parent
2f1c19b245
commit
e5d35d62f5
@ -143,6 +143,7 @@ def apply_w8a8_block_fp8_linear(
|
|||||||
column_major_scales=True,
|
column_major_scales=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
import vllm.model_executor.layers.quantization.deepgemm # noqa: F401
|
||||||
output = torch.ops.vllm.w8a8_block_fp8_matmul_deepgemm(
|
output = torch.ops.vllm.w8a8_block_fp8_matmul_deepgemm(
|
||||||
q_input,
|
q_input,
|
||||||
weight,
|
weight,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user