Skip to content

Commit 1b67297

Browse files
committed
add SupportsQuant
Signed-off-by: Kyle Sayers <[email protected]>
1 parent a79cc68 commit 1b67297

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm/model_executor/models/bloom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
from vllm.model_executor.sampling_metadata import SamplingMetadata
4343
from vllm.sequence import IntermediateTensors
4444

45-
from .interfaces import SupportsPP, SupportsV0Only
45+
from .interfaces import SupportsPP, SupportsQuant, SupportsV0Only
4646
from .utils import (is_pp_missing_parameter,
4747
make_empty_intermediate_tensors_factory, make_layers,
4848
maybe_prefix)
@@ -279,7 +279,7 @@ def forward(
279279
return hidden_states
280280

281281

282-
class BloomForCausalLM(nn.Module, SupportsPP, SupportsV0Only):
282+
class BloomForCausalLM(nn.Module, SupportsPP, SupportsV0Only, SupportsQuant):
283283

284284
def __init__(self, *, vllm_config: VllmConfig, prefix: str = ""):
285285
super().__init__()

0 commit comments

Comments
 (0)