Skip to content
Merged
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
4 changes: 2 additions & 2 deletions vllm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class ModelConfig:
- 25.6k -> 25,600"""
spec_target_max_model_len: Optional[int] = None
"""Specify the maximum length for spec decoding draft models."""
quantization: Optional[QuantizationMethods] = None
quantization: SkipValidation[Optional[QuantizationMethods]] = None
"""Method used to quantize the weights. If `None`, we first check the
`quantization_config` attribute in the model config file. If that is
`None`, we assume the model weights are not quantized and use `dtype` to
Expand Down Expand Up @@ -2231,7 +2231,7 @@ def is_multi_step(self) -> bool:
class DeviceConfig:
"""Configuration for the device to use for vLLM execution."""

device: Union[Device, torch.device] = "auto"
device: SkipValidation[Union[Device, torch.device]] = "auto"
"""Device type for vLLM execution.
This parameter is deprecated and will be
removed in a future release.
Expand Down